PageSourceSearch

https://kiusamisvaba.ee/wp-content/plugins/kiva/build/schoolreport.tsx.js?ver=1693314127

js kiusamisvaba.ee collected 2026-09-24 20:53:27 UTC 393,007 bytes, 1 lines download raw bytes

1!function(){var t={9960:function(t,e){"use strict";var i;Object.defineProperty(e,"__esModule",{value:!0}),e.Doctype=e.CDATA=e.Tag=e.Style=e.Script=e.Comment=e.Directive=e.Text=e.Root=e.isTag=e.ElementType=void 0,function(t){t.Root="root",t.Text="text",t.Directive="directive",t.Comment="comment",t.Script="script",t.Style="style",t.Tag="tag",t.CDATA="cdata",t.Doctype="doctype"}(i=e.ElementType||(e.ElementType={})),e.isTag=function(t){return t.type===i.Tag||t.type===i.Script||t.type===i.Style},e.Root=i.Root,e.Text=i.Text,e.Directive=i.Directive,e.Comment=i.Comment,e.Script=i.Script,e.Style=i.Style,e.Tag=i.Tag,e.CDATA=i.CDATA,e.Doctype=i.Doctype},7790:function(t,e,i){"use strict";var n,a=this&&this.__extends||(n=function(t,e){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&(t[i]=e[i])},n(t,e)},function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function __(){this.constructor=t}n(t,e),t.prototype=null===e?Object.create(e):(__.prototype=e.prototype,new __)}),o=this&&this.__assign||function(){return o=Object.assign||function(t){for(var e,i=1,n=arguments.length;i<n;i++)for(var a in e=arguments[i])Object.prototype.hasOwnProperty.call(e,a)&&(t[a]=e[a]);return t},o.apply(this,arguments)};Object.defineProperty(e,"__esModule",{value:!0}),e.cloneNode=e.hasChildren=e.isDocument=e.isDirective=e.isComment=e.isText=e.isCDATA=e.isTag=e.Element=e.Document=e.NodeWithChildren=e.ProcessingInstruction=e.Comment=e.Text=e.DataNode=e.Node=void 0;var s=i(9960),r=new Map([[s.ElementType.Tag,1],[s.ElementType.Script,1],[s.ElementType.Style,1],[s.ElementType.Directive,1],[s.ElementType.Text,3],[s.ElementType.CDATA,4],[s.ElementType.Comment,8],[s.ElementType.Root,9]]),l=function(){function t(t){this.type=t,this.parent=null,this.prev=null,this.next=null,this.startIndex=null,this.endIndex=null}return Object.defineProperty(t.prototype,"nodeType",{get:function(){var t;return null!==(t=r.get(this.type))&&void 0!==t?t:1},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"parentNode",{get:function(){return this.parent},set:function(t){this.parent=t},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"previousSibling",{get:function(){return this.prev},set:function(t){this.prev=t},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"nextSibling",{get:function(){return this.next},set:function(t){this.next=t},enumerable:!1,configurable:!0}),t.prototype.cloneNode=function(t){return void 0===t&&(t=!1),_(this,t)},t}();e.Node=l;var c=function(t){function e(e,i){var n=t.call(this,e)||this;return n.data=i,n}return a(e,t),Object.defineProperty(e.prototype,"nodeValue",{get:function(){return this.data},set:function(t){this.data=t},enumerable:!1,configurable:!0}),e}(l);e.DataNode=c;var d=function(t){function e(e){return t.call(this,s.ElementType.Text,e)||this}return a(e,t),e}(c);e.Text=d;var u=function(t){function e(e){return t.call(this,s.ElementType.Comment,e)||this}return a(e,t),e}(c);e.Comment=u;var h=function(t){function e(e,i){var n=t.call(this,s.ElementType.Directive,i)||this;return n.name=e,n}return a(e,t),e}(c);e.ProcessingInstruction=h;var f=function(t){function e(e,i){var n=t.call(this,e)||this;return n.children=i,n}return a(e,t),Object.defineProperty(e.prototype,"firstChild",{get:function(){var t;return null!==(t=this.children[0])&&void 0!==t?t:null},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"lastChild",{get:function(){return this.children.length>0?this.children[this.children.length-1]:null},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"childNodes",{get:function(){return this.children},set:function(t){this.children=t},enumerable:!1,configurable:!0}),e}(l);e.NodeWithChildren=f;var p=function(t){function e(e){return t.call(this,s.ElementType.Root,e)||this}return a(e,t),e}(f);e.Document=p;var b=function(t){function e(e,i,n,a){void 0===n&&(n=[]),void 0===a&&(a="script"===e?s.ElementType.Script:"style"===e?s.ElementType.Style:s.ElementType.Tag);var o=t.call(this,a,n)||this;return o.name=e,o.attribs=i,o}return a(e,t),Object.defineProperty(e.prototype,"tagName",{get:function(){return this.name},set:function(t){this.name=t}
1,enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"attributes",{get:function(){var t=this;return Object.keys(this.attribs).map((function(e){var i,n;return{name:e,value:t.attribs[e],namespace:null===(i=t["x-attribsNamespace"])||void 0===i?void 0:i[e],prefix:null===(n=t["x-attribsPrefix"])||void 0===n?void 0:n[e]}}))},enumerable:!1,configurable:!0}),e}(f);function g(t){return(0,s.isTag)(t)}function m(t){return t.type===s.ElementType.CDATA}function v(t){return t.type===s.ElementType.Text}function x(t){return t.type===s.ElementType.Comment}function y(t){return t.type===s.ElementType.Directive}function k(t){return t.type===s.ElementType.Root}function _(t,e){var i;if(void 0===e&&(e=!1),v(t))i=new d(t.data);else if(x(t))i=new u(t.data);else if(g(t)){var n=e?w(t.children):[],a=new b(t.name,o({},t.attribs),n);n.forEach((function(t){return t.parent=a})),null!=t.namespace&&(a.namespace=t.namespace),t["x-attribsNamespace"]&&(a["x-attribsNamespace"]=o({},t["x-attribsNamespace"])),t["x-attribsPrefix"]&&(a["x-attribsPrefix"]=o({},t["x-attribsPrefix"])),i=a}else if(m(t)){n=e?w(t.children):[];var r=new f(s.ElementType.CDATA,n);n.forEach((function(t){return t.parent=r})),i=r}else if(k(t)){n=e?w(t.children):[];var l=new p(n);n.forEach((function(t){return t.parent=l})),t["x-mode"]&&(l["x-mode"]=t["x-mode"]),i=l}else{if(!y(t))throw new Error("Not implemented yet: ".concat(t.type));var c=new h(t.name,t.data);null!=t["x-name"]&&(c["x-name"]=t["x-name"],c["x-publicId"]=t["x-publicId"],c["x-systemId"]=t["x-systemId"]),i=c}return i.startIndex=t.startIndex,i.endIndex=t.endIndex,null!=t.sourceCodeLocation&&(i.sourceCodeLocation=t.sourceCodeLocation),i}function w(t){for(var e=t.map((function(t){return _(t,!0)})),i=1;i<e.length;i++)e[i].prev=e[i-1],e[i-1].next=e[i];return e}e.Element=b,e.isTag=g,e.isCDATA=m,e.isText=v,e.isComment=x,e.isDirective=y,e.isDocument=k,e.hasChildren=function(t){return Object.prototype.hasOwnProperty.call(t,"children")},e.cloneNode=_},885:function(t){t.exports={CASE_SENSITIVE_TAG_NAMES:["animateMotion","animateTransform","clipPath","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussainBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence","foreignObject","linearGradient","radialGradient","textPath"]}},8276:function(t,e,i){var n="html",a="head",o="body",s=/<([a-zA-Z]+[0-9]?)/,r=/<head.*>/i,l=/<body.*>/i,c=function(){throw new Error("This browser does not support `document.implementation.createHTMLDocument`")},d=function(){throw new Error("This browser does not support `DOMParser.prototype.parseFromString`")};if("function"==typeof window.DOMParser){var u=new window.DOMParser;c=d=function(t,e){return e&&(t="<"+e+">"+t+"</"+e+">"),u.parseFromString(t,"text/html")}}if(document.implementation){var h=i(1507).isIE,f=document.implementation.createHTMLDocument(h()?"html-dom-parser":void 0);c=function(t,e){return e?(f.documentElement.getElementsByTagName(e)[0].innerHTML=t,f):(f.documentElement.innerHTML=t,f)}}var p,b=document.createElement("template");b.content&&(p=function(t){return b.innerHTML=t,b.content.childNodes}),t.exports=function(t){var e,i,u,h,f=t.match(s);switch(f&&f[1]&&(e=f[1].toLowerCase()),e){case n:return i=d(t),r.test(t)||(u=i.getElementsByTagName(a)[0])&&u.parentNode.removeChild(u),l.test(t)||(u=i.getElementsByTagName(o)[0])&&u.parentNode.removeChild(u),i.getElementsByTagName(n);case a:case o:return h=c(t).getElementsByTagName(e),l.test(t)&&r.test(t)?h[0].parentNode.childNodes:h;default:return p?p(t):c(t,o).getElementsByTagName(o)[0].childNodes}}},4152:function(t,e,i){var n=i(8276),a=i(1507).formatDOM,o=/<(![a-zA-Z\s]+)>/;t.exports=function(t){if("string"!=typeof t)throw new TypeError("First argument must be a string");if(""===t)return[];var e,i=t.match(o);return i&&i[1]&&(e=i[1]),a(n(t),null,e)}},1507:function(t,e,i){for(var n,a=i(885),o=i(7790),s=a.CASE_SENSITIVE_TAG_NAMES,r=o.Comment,l=o.Element,c=o.ProcessingInstruction,d=o.Text,u={},h=0,f=s.length;h<f;h++)n=s[h],u[n.toLowerCase()]=n;function p(t){for(var e,i={},n=0,a=t.length;n<a;n++)i[(e=t[n]).name]=e.value;return i}function b(t){return function(t){return u[t]}(t=t.toLowerCase())||t}t.exports={formatAttributes:p,formatDOM:function t(e,i,n){i=i||null;for(var a=[],o=0,s=e.length;o<s;o++){var u,h=e[o];switch(h.nodeType){case 1:(u=new l(b(h.nodeName),p(h.attributes))).children=t(h.childNodes,u);break;case 3:u=new d(h.nodeValue);break;case 8:u=new r(h.nodeValue);break;default:continue}var f=a[o-1]||null;f&&(f.next=u),u.parent=i,u.prev=f,u.next=null,a.push(u)}return n&&((u=new c(n.substring(0,n.indexOf(" ")).toLowerCase(),n)).next=a[0]||null,u.parent=i,a.unshift(u),a[1]&&(a[1].prev=a[0])),a},isIE:function(){return/(MSIE |Trident\/|Edge\/)/.test(navigator.userAgent)}}}
1,488:function(t,e,i){var n=i(3670),a=i(484),o=i(4152);o="function"==typeof o.default?o.default:o;var s={lowerCaseAttributeNames:!1};function r(t,e){if("string"!=typeof t)throw new TypeError("First argument must be a string");return""===t?[]:n(o(t,(e=e||{}).htmlparser2||s),e)}r.domToReact=n,r.htmlToDOM=o,r.attributesToProps=a,r.Element=i(7790).Element,t.exports=r,t.exports.default=r},484:function(t,e,i){var n=i(83),a=i(4606);function o(t){return n.possibleStandardNames[t]}t.exports=function(t){var e,i,s,r,l,c={},d=(t=t||{}).type&&{reset:!0,submit:!0}[t.type];for(e in t)if(s=t[e],n.isCustomAttribute(e))c[e]=s;else if(r=o(i=e.toLowerCase()))switch(l=n.getPropertyInfo(r),"checked"!==r&&"value"!==r||d||(r=o("default"+i)),c[r]=s,l&&l.type){case n.BOOLEAN:c[r]=!0;break;case n.OVERLOADED_BOOLEAN:""===s&&(c[r]=!0)}else a.PRESERVE_CUSTOM_ATTRIBUTES&&(c[e]=s);return a.setStyleProp(t.style,c),c}},3670:function(t,e,i){var n=i(9196),a=i(484),o=i(4606),s=o.setStyleProp,r=o.canTextBeChildOfNode;function l(t){return o.PRESERVE_CUSTOM_ATTRIBUTES&&"tag"===t.type&&o.isCustomComponent(t.name,t.attribs)}t.exports=function t(e,i){for(var o,c,d,u,h,f=(i=i||{}).library||n,p=f.cloneElement,b=f.createElement,g=f.isValidElement,m=[],v="function"==typeof i.replace,x=i.trim,y=0,k=e.length;y<k;y++)if(o=e[y],v&&g(d=i.replace(o)))k>1&&(d=p(d,{key:d.key||y})),m.push(d);else if("text"!==o.type){switch(u=o.attribs,l(o)?s(u.style,u):u&&(u=a(u)),h=null,o.type){case"script":case"style":o.children[0]&&(u.dangerouslySetInnerHTML={__html:o.children[0].data});break;case"tag":"textarea"===o.name&&o.children[0]?u.defaultValue=o.children[0].data:o.children&&o.children.length&&(h=t(o.children,i));break;default:continue}k>1&&(u.key=y),m.push(b(o.name,u,h))}else{if((c=!o.data.trim().length)&&o.parent&&!r(o.parent))continue;if(x&&c)continue;m.push(o.data)}return 1===m.length?m[0]:m}},4606:function(t,e,i){var n=i(9196),a=i(1476).default,o={reactCompat:!0},s=n.version.split(".")[0]>=16,r=new Set(["tr","tbody","thead","tfoot","colgroup","table","head","html","frameset"]);t.exports={PRESERVE_CUSTOM_ATTRIBUTES:s,invertObject:function(t,e){if(!t||"object"!=typeof t)throw new TypeError("First argument must be an object");var i,n,a="function"==typeof e,o={},s={};for(i in t)n=t[i],a&&(o=e(i,n))&&2===o.length?s[o[0]]=o[1]:"string"==typeof n&&(s[n]=i);return s},isCustomComponent:function(t,e){if(-1===t.indexOf("-"))return e&&"string"==typeof e.is;switch(t){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}},setStyleProp:function(t,e){if(null!=t)try{e.style=a(t,o)}catch(t){e.style={}}},canTextBeChildOfNode:function(t){return!r.has(t.name)},elementsWithNoTextChildren:r}},8139:function(t){var e=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//g,i=/\n/g,n=/^\s*/,a=/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/,o=/^:\s*/,s=/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/,r=/^[;\s]*/,l=/^\s+|\s+$/g,c="";function d(t){return t?t.replace(l,c):c}t.exports=function(t,l){if("string"!=typeof t)throw new TypeError("First argument must be a string");if(!t)return[];l=l||{};var u=1,h=1;function f(t){var e=t.match(i);e&&(u+=e.length);var n=t.lastIndexOf("\n");h=~n?t.length-n:h+t.length}function p(){var t={line:u,column:h};return function(e){return e.position=new b(t),x(),e}}function b(t){this.start=t,this.end={line:u,column:h},this.source=l.source}b.prototype.content=t;var g=[];function m(e){var i=new Error(l.source+":"+u+":"+h+": "+e);if(i.reason=e,i.filename=l.source,i.line=u,i.column=h,i.source=t,!l.silent)throw i;g.push(i)}function v(e){var i=e.exec(t);if(i){var n=i[0];return f(n),t=t.slice(n.length),i}}function x(){v(n)}function y(t){var e;for(t=t||[];e=k();)!1!==e&&t.push(e);return t}function k(){var e=p();if("/"==t.charAt(0)&&"*"==t.charAt(1)){for(var i=2;c!=t.charAt(i)&&("*"!=t.charAt(i)||"/"!=t.charAt(i+1));)++i;if(i+=2,c===t.charAt(i-1))return m("End of comment missing");var n=t.slice(2,i-2);return h+=2,f(n),t=t.slice(i),h+=2,e({type:"comment",comment:n})}}function _(){var t=p(),i=v(a);if(i){if(k(),!v(o))return m("property missing ':'");var n=v(s),l=t({type:"declaration",property:d(i[0].replace(e,c)),value:n?d(n[0].replace(e,c)):c});return v(r),l}}return x(),function(){var t,e=[];for(y(e);t=_();)!1!==t&&(e.push(t),y(e));return e}()}}
vendor: 4,112 bytes, line 1
1,8552:function(t,e,i){var n=i(852)(i(5639),"DataView");t.exports=n},1989:function(t,e,i){var n=i(1789),a=i(401),o=i(7667),s=i(1327),r=i(1866);function l(t){var e=-1,i=null==t?0:t.length;for(this.clear();++e<i;){var n=t[e];this.set(n[0],n[1])}}l.prototype.clear=n,l.prototype.delete=a,l.prototype.get=o,l.prototype.has=s,l.prototype.set=r,t.exports=l},8407:function(t,e,i){var n=i(7040),a=i(4125),o=i(2117),s=i(7518),r=i(4705);function l(t){var e=-1,i=null==t?0:t.length;for(this.clear();++e<i;){var n=t[e];this.set(n[0],n[1])}}l.prototype.clear=n,l.prototype.delete=a,l.prototype.get=o,l.prototype.has=s,l.prototype.set=r,t.exports=l},7071:function(t,e,i){var n=i(852)(i(5639),"Map");t.exports=n},3369:function(t,e,i){var n=i(4785),a=i(1285),o=i(6e3),s=i(9916),r=i(5265);function l(t){var e=-1,i=null==t?0:t.length;for(this.clear();++e<i;){var n=t[e];this.set(n[0],n[1])}}l.prototype.clear=n,l.prototype.delete=a,l.prototype.get=o,l.prototype.has=s,l.prototype.set=r,t.exports=l},3818:function(t,e,i){var n=i(852)(i(5639),"Promise");t.exports=n},8525:function(t,e,i){var n=i(852)(i(5639),"Set");t.exports=n},8668:function(t,e,i){var n=i(3369),a=i(619),o=i(2385);function s(t){var e=-1,i=null==t?0:t.length;for(this.__data__=new n;++e<i;)this.add(t[e])}s.prototype.add=s.prototype.push=a,s.prototype.has=o,t.exports=s},6384:function(t,e,i){var n=i(8407),a=i(7465),o=i(3779),s=i(7599),r=i(4758),l=i(4309);function c(t){var e=this.__data__=new n(t);this.size=e.size}c.prototype.clear=a,c.prototype.delete=o,c.prototype.get=s,c.prototype.has=r,c.prototype.set=l,t.exports=c},2705:function(t,e,i){var n=i(5639).Symbol;t.exports=n},1149:function(t,e,i){var n=i(5639).Uint8Array;t.exports=n},577:function(t,e,i){var n=i(852)(i(5639),"WeakMap");t.exports=n},6874:function(t){t.exports=function(t,e,i){switch(i.length){case 0:return t.call(e);case 1:return t.call(e,i[0]);case 2:return t.call(e,i[0],i[1]);case 3:return t.call(e,i[0],i[1],i[2])}return t.apply(e,i)}},4174:function(t){t.exports=function(t,e,i,n){for(var a=-1,o=null==t?0:t.length;++a<o;){var s=t[a];e(n,s,i(s),t)}return n}},7412:function(t){t.exports=function(t,e){for(var i=-1,n=null==t?0:t.length;++i<n&&!1!==e(t[i],i,t););return t}},4963:function(t){t.exports=function(t,e){for(var i=-1,n=null==t?0:t.length,a=0,o=[];++i<n;){var s=t[i];e(s,i,t)&&(o[a++]=s)}return o}},7443:function(t,e,i){var n=i(2118);t.exports=function(t,e){return!(null==t||!t.length)&&n(t,e,0)>-1}},1196:function(t){t.exports=function(t,e,i){for(var n=-1,a=null==t?0:t.length;++n<a;)if(i(e,t[n]))return!0;return!1}},4636:function(t,e,i){var n=i(2545),a=i(5694),o=i(1469),s=i(4144),r=i(5776),l=i(6719),c=Object.prototype.hasOwnProperty;t.exports=function(t,e){var i=o(t),d=!i&&a(t),u=!i&&!d&&s(t),h=!i&&!d&&!u&&l(t),f=i||d||u||h,p=f?n(t.length,String):[],b=p.length;for(var g in t)!e&&!c.call(t,g)||f&&("length"==g||u&&("offset"==g||"parent"==g)||h&&("buffer"==g||"byteLength"==g||"byteOffset"==g)||r(g,b))||p.push(g);return p}},9932:function(t){t.exports=function(t,e){for(var i=-1,n=null==t?0:t.length,a=Array(n);++i<n;)a[i]=e(t[i],i,t);return a}},2488:function(t){t.exports=function(t,e){for(var i=-1,n=e.length,a=t.length;++i<n;)t[a+i]=e[i];return t}},2663:function(t){t.exports=function(t,e,i,n){var a=-1,o=null==t?0:t.length;for(n&&o&&(i=t[++a]);++a<o;)i=e(i,t[a],a,t);return i}},2908:function(t){t.exports=function(t,e){for(var i=-1,n=null==t?0:t.length;++i<n;)if(e(t[i],i,t))return!0;return!1}},8983:function(t,e,i){var n=i(371)("length");t.exports=n},4865:function(t,e,i){var n=i(9465),a=i(7813),o=Object.prototype.hasOwnProperty;t.exports=function(t,e,i){var s=t[e];o.call(t,e)&&a(s,i)&&(void 0!==i||e in t)||n(t,e,i)}},8470:function(t,e,i){var n=i(7813);t.exports=function(t,e){for(var i=t.length;i--;)if(n(t[i][0],e))return i;return-1}},1119:function(t,e,i){var n=i(9881);t.exports=function(t,e,i,a){return n(t,(function(t,n,o){e(a,t,i(t),o)})),a}},4037:function(t,e,i){var n=i(8363),a=i(3674);t.exports=function(t,e){return t&&n(e,a(e),t)}},3886:function(t,e,i){var n=i(8363),a=i(1704);t.exports=function(t,e){return t&&n(e,a(e),t)}},9465:function(t,e,i){var n=i(8777);
vendor: 28,489 bytes, line 1
1t.exports=function(t,e,i){"__proto__"==e&&n?n(t,e,{configurable:!0,enumerable:!0,value:i,writable:!0}):t[e]=i}},5990:function(t,e,i){var n=i(6384),a=i(7412),o=i(4865),s=i(4037),r=i(3886),l=i(4626),c=i(278),d=i(8805),u=i(1911),h=i(8234),f=i(6904),p=i(4160),b=i(3824),g=i(9148),m=i(8517),v=i(1469),x=i(4144),y=i(6688),k=i(3218),_=i(2928),w=i(3674),M=i(1704),S="[object Arguments]",T="[object Function]",A="[object Object]",j={};j[S]=j["[object Array]"]=j["[object ArrayBuffer]"]=j["[object DataView]"]=j["[object Boolean]"]=j["[object Date]"]=j["[object Float32Array]"]=j["[object Float64Array]"]=j["[object Int8Array]"]=j["[object Int16Array]"]=j["[object Int32Array]"]=j["[object Map]"]=j["[object Number]"]=j[A]=j["[object RegExp]"]=j["[object Set]"]=j["[object String]"]=j["[object Symbol]"]=j["[object Uint8Array]"]=j["[object Uint8ClampedArray]"]=j["[object Uint16Array]"]=j["[object Uint32Array]"]=!0,j["[object Error]"]=j[T]=j["[object WeakMap]"]=!1,t.exports=function t(e,i,E,D,P,C){var O,R=1&i,B=2&i,I=4&i;if(E&&(O=P?E(e,D,P,C):E(e)),void 0!==O)return O;if(!k(e))return e;var L=v(e);if(L){if(O=b(e),!R)return c(e,O)}else{var F=p(e),N=F==T||"[object GeneratorFunction]"==F;if(x(e))return l(e,R);if(F==A||F==S||N&&!P){if(O=B||N?{}:m(e),!R)return B?u(e,r(O,e)):d(e,s(O,e))}else{if(!j[F])return P?e:{};O=g(e,F,R)}}C||(C=new n);var z=C.get(e);if(z)return z;C.set(e,O),_(e)?e.forEach((function(n){O.add(t(n,i,E,n,e,C))})):y(e)&&e.forEach((function(n,a){O.set(a,t(n,i,E,a,e,C))}));var H=L?void 0:(I?B?f:h:B?M:w)(e);return a(H||e,(function(n,a){H&&(n=e[a=n]),o(O,a,t(n,i,E,a,e,C))})),O}},3118:function(t,e,i){var n=i(3218),a=Object.create,o=function(){function t(){}return function(e){if(!n(e))return{};if(a)return a(e);t.prototype=e;var i=new t;return t.prototype=void 0,i}}();t.exports=o},9881:function(t,e,i){var n=i(7816),a=i(9291)(n);t.exports=a},760:function(t,e,i){var n=i(9881);t.exports=function(t,e){var i=[];return n(t,(function(t,n,a){e(t,n,a)&&i.push(t)})),i}},1848:function(t){t.exports=function(t,e,i,n){for(var a=t.length,o=i+(n?1:-1);n?o--:++o<a;)if(e(t[o],o,t))return o;return-1}},1078:function(t,e,i){var n=i(2488),a=i(7285);t.exports=function t(e,i,o,s,r){var l=-1,c=e.length;for(o||(o=a),r||(r=[]);++l<c;){var d=e[l];i>0&&o(d)?i>1?t(d,i-1,o,s,r):n(r,d):s||(r[r.length]=d)}return r}},8483:function(t,e,i){var n=i(5063)();t.exports=n},7816:function(t,e,i){var n=i(8483),a=i(3674);t.exports=function(t,e){return t&&n(t,e,a)}},7786:function(t,e,i){var n=i(1811),a=i(327);t.exports=function(t,e){for(var i=0,o=(e=n(e,t)).length;null!=t&&i<o;)t=t[a(e[i++])];return i&&i==o?t:void 0}},8866:function(t,e,i){var n=i(2488),a=i(1469);t.exports=function(t,e,i){var o=e(t);return a(t)?o:n(o,i(t))}},4239:function(t,e,i){var n=i(2705),a=i(9607),o=i(2333),s=n?n.toStringTag:void 0;t.exports=function(t){return null==t?void 0===t?"[object Undefined]":"[object Null]":s&&s in Object(t)?a(t):o(t)}},13:function(t){t.exports=function(t,e){return null!=t&&e in Object(t)}},2118:function(t,e,i){var n=i(1848),a=i(2722),o=i(2351);t.exports=function(t,e,i){return e==e?o(t,e,i):n(t,a,i)}},9454:function(t,e,i){var n=i(4239),a=i(7005);t.exports=function(t){return a(t)&&"[object Arguments]"==n(t)}},939:function(t,e,i){var n=i(2492),a=i(7005);t.exports=function t(e,i,o,s,r){return e===i||(null==e||null==i||!a(e)&&!a(i)?e!=e&&i!=i:n(e,i,o,s,t,r))}},2492:function(t,e,i){var n=i(6384),a=i(7114),o=i(8351),s=i(6096),r=i(4160),l=i(1469),c=i(4144),d=i(6719),u="[object Arguments]",h="[object Array]",f="[object Object]",p=Object.prototype.hasOwnProperty;t.exports=function(t,e,i,b,g,m){var v=l(t),x=l(e),y=v?h:r(t),k=x?h:r(e),_=(y=y==u?f:y)==f,w=(k=k==u?f:k)==f,M=y==k;if(M&&c(t)){if(!c(e))return!1;v=!0,_=!1}if(M&&!_)return m||(m=new n),v||d(t)?a(t,e,i,b,g,m):o(t,e,y,i,b,g,m);if(!(1&i)){var S=_&&p.call(t,"__wrapped__"),T=w&&p.call(e,"__wrapped__");if(S||T){var A=S?t.value():t,j=T?e.value():e;return m||(m=new n),g(A,j,i,b,m)}}return!!M&&(m||(m=new n),s(t,e,i,b,g,m))}},5588:function(t,e,i){var n=i(4160),a=i(7005);t.exports=function(t){return a(t)&&"[object Map]"==n(t)}},2958:function(t,e,i){var n=i(6384),a=i(939);t.exports=function(t,e,i,o){var s=i.length,r=s,l=!o;if(null==t)return!r;for(t=Object(t);s--;){var c=i[s];if(l&&c[2]?c[1]!==t[c[0]]:!(c[0]in t))return!1}for(;++s<r;){var d=(c=i[s])[0],u=t[d],h=c[1];if(l&&c[2]){if(void 0===u&&!(d in t))return!1}else{var f=new n;if(o)var p=o(u,h,d,t,e,f);if(!(void 0===p?a(h,u,3,o,f):p))return!1}}return!0}},2722:function(t){t.exports=function(t){return t!=t}},8458:function(t,e,i){var n=i(3560),a=i(5346),o=i(3218),s=i(346),r=/^\[object .+?Constructor\]$/,l=Function.prototype,c=Object.prototype,d=l.toString,u=c.hasOwnProperty,h=RegExp("^"+d.call(u).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");t.exports=function(t){return!(!o(t)||a(t))&&(n(t)?h:r).test(s(t))}},9221:function(t,e,i){var n=i(4160),a=i(7005);t.exports=function(t){return a(t)&&"[object Set]"==n(t)}},8749:function(t,e,i){var n=i(4239),a=i(1780),o=i(7005),s={};s["[object Float32Array]"]=s["[object Float64Array]"]=s["[object Int8Array]"]=s["[object Int16Array]"]=s["[object Int32Array]"]=s["[object Uint8Array]"]=s["[object Uint8ClampedArray]"]=s["[object Uint16Array]"]=s["[object Uint32Array]"]=!0,s["[object Arguments]"]=s["[object Array]"]=s["[object ArrayBuffer]"]=s["[object Boolean]"]=s["[object DataView]"]=s["[object Date]"]=s["[object Error]"]=s["[object Function]"]=s["[object Map]"]=s["[object Number]"]=s["[object Object]"]=s["[object RegExp]"]=s["[object Set]"]=s["[object String]"]=s["[object WeakMap]"]=!1,t.exports=function(t){return o(t)&&a(t.length)&&!!s[n(t)]}},7206:function(t,e,i){var n=i(1573),a=i(6432),o=i(6557),s=i(1469),r=i(9601);t.exports=function(t){return"function"==typeof t?t:null==t?o:"object"==typeof t?s(t)?a(t[0],t[1]):n(t):r(t)}},280:function(t,e,i){var n=i(5726),a=i(6916),o=Object.prototype.hasOwnProperty;t.exports=function(t){if(!n(t))return a(t);var e=[];for(var i in Object(t))o.call(t,i)&&"constructor"!=i&&e.push(i);return e}},313:function(t,e,i){var n=i(3218),a=i(5726),o=i(3498),s=Object.prototype.hasOwnProperty;t.exports=function(t){if(!n(t))return o(t);var e=a(t),i=[];for(var r in t)("constructor"!=r||!e&&s.call(t,r))&&i.push(r);return i}},9199:function(t,e,i){var n=i(9881),a=i(8612);t.exports=function(t,e){var i=-1,o=a(t)?Array(t.length):[];return n(t,(function(t,n,a){o[++i]=e(t,n,a)})),o}},1573:function(t,e,i){var n=i(2958),a=i(1499),o=i(2634);t.exports=function(t){var e=a(t);return 1==e.length&&e[0][2]?o(e[0][0],e[0][1]):function(i){return i===t||n(i,t,e)}}},6432:function(t,e,i){var n=i(939),a=i(7361),o=i(9095),s=i(5403),r=i(9162),l=i(2634),c=i(327);t.exports=function(t,e){return s(t)&&r(e)?l(c(t),e):function(i){var s=a(i,t);return void 0===s&&s===e?o(i,t):n(e,s,3)}}},371:function(t){t.exports=function(t){return function(e){return null==e?void 0:e[t]}}},9152:function(t,e,i){var n=i(7786);t.exports=function(t){return function(e){return n(e,t)}}},107:function(t){t.exports=function(t,e,i,n,a){return a(t,(function(t,a,o){i=n?(n=!1,t):e(i,t,a,o)})),i}},6560:function(t,e,i){var n=i(5703),a=i(8777),o=i(6557),s=a?function(t,e){return a(t,"toString",{configurable:!0,enumerable:!1,value:n(e),writable:!0})}:o;t.exports=s},4259:function(t){t.exports=function(t,e,i){var n=-1,a=t.length;e<0&&(e=-e>a?0:a+e),(i=i>a?a:i)<0&&(i+=a),a=e>i?0:i-e>>>0,e>>>=0;for(var o=Array(a);++n<a;)o[n]=t[n+e];return o}},7762:function(t){t.exports=function(t,e){for(var i,n=-1,a=t.length;++n<a;){var o=e(t[n]);void 0!==o&&(i=void 0===i?o:i+o)}return i}},2545:function(t){t.exports=function(t,e){for(var i=-1,n=Array(t);++i<t;)n[i]=e(i);return n}},531:function(t,e,i){var n=i(2705),a=i(9932),o=i(1469),s=i(3448),r=n?n.prototype:void 0,l=r?r.toString:void 0;t.exports=function t(e){if("string"==typeof e)return e;if(o(e))return a(e,t)+"";if(s(e))return l?l.call(e):"";var i=e+"";return"0"==i&&1/e==-1/0?"-0":i}},7561:function(t,e,i){var n=i(7990),a=/^\s+/;t.exports=function(t){return t?t.slice(0,n(t)+1).replace(a,""):t}},1717:function(t){t.exports=function(t){return function(e){return t(e)}}},5652:function(t,e,i){var n=i(8668),a=i(7443),o=i(1196),s=i(4757),r=i(3593),l=i(1814);t.exports=function(t,e,i){var c=-1,d=a,u=t.length,h=!0,f=[],p=f;if(i)h=!1,d=o;else if(u>=200){var b=e?null:r(t);if(b)return l(b);h=!1,d=s,p=new n}else p=e?[]:f;t:for(;++c<u;){var g=t[c],m=e?e(g):g;if(g=i||0!==g?g:0,h&&m==m){for(var v=p.length;v--;)if(p[v]===m)continue t;e&&p.push(m),f.push(g)}else d(p,m,i)||(p!==f&&p.push(m),f.push(g))}return f}},7406:function(t,e,i){var n=i(1811),a=i(928),o=i(292),s=i(327);t.exports=function(t,e){return e=n(e,t),null==(t=o(t,e))||delete t[s(a(e))]}},7415:function(t,e,i){var n=i(9932);t.exports=function(t,e){return n(e,(function(e){return t[e]}))}},4757:function(t){t.exports=function(t,e){return t.has(e)}},1811:function(t,e,i){var n=i(1469),a=i(5403),o=i(5514),s=i(9833);t.exports=function(t,e){return n(t)?t:a(t,e)?[t]:o(s(t))}},4318:function(t,e,i){var n=i(1149);t.exports=function(t){var e=new t.constructor(t.byteLength);return new n(e).set(new n(t)),e}},4626:function(t,e,i){t=i.nmd(t);var n=i(5639),a=e&&!e.nodeType&&e,o=a&&t&&!t.nodeType&&t,s=o&&o.exports===a?n.Buffer:void 0,r=s?s.allocUnsafe:void 0;t.exports=function(t,e){if(e)return t.slice();var i=t.length,n=r?r(i):new t.constructor(i);return t.copy(n),n}},7157:function(t,e,i){var n=i(4318);t.exports=function(t,e){var i=e?n(t.buffer):t.buffer;return new t.constructor(i,t.byteOffset,t.byteLength)}},3147:function(t){var e=/\w*$/;t.exports=function(t){var i=new t.constructor(t.source,e.exec(t));return i.lastIndex=t.lastIndex,i}},419:function(t,e,i){var n=i(2705),a=n?n.prototype:void 0,o=a?a.valueOf:void 0;t.exports=function(t){return o?Object(o.call(t)):{}}},7133:function(t,e,i){var n=i(4318);t.exports=function(t,e){var i=e?n(t.buffer):t.buffer;return new t.constructor(i,t.byteOffset,t.length)}},278:function(t){t.exports=function(t,e){var i=-1,n=t.length;for(e||(e=Array(n));++i<n;)e[i]=t[i];return e}},8363:function(t,e,i){var n=i(4865),a=i(9465);t.exports=function(t,e,i,o){var s=!i;i||(i={});for(var r=-1,l=e.length;++r<l;){var c=e[r],d=o?o(i[c],t[c],c,i,t):void 0;void 0===d&&(d=t[c]),s?a(i,c,d):n(i,c,d)}return i}},8805:function(t,e,i){var n=i(8363),a=i(9551);t.exports=function(t,e){return n(t,a(t),e)}},1911:function(t,e,i){var n=i(8363),a=i(1442);t.exports=function(t,e){return n(t,a(t),e)}},4429:function(t,e,i){var n=i(5639)["__core-js_shared__"];t.exports=n},5189:function(t,e,i){var n=i(4174),a=i(1119),o=i(7206),s=i(1469);t.exports=function(t,e){return function(i,r){var l=s(i)?n:a,c=e?e():{};return l(i,t,o(r,2),c)}}},9291:function(t,e,i){var n=i(8612);t.exports=function(t,e){return function(i,a){if(null==i)return i;if(!n(i))return t(i,a);for(var o=i.length,s=e?o:-1,r=Object(i);(e?s--:++s<o)&&!1!==a(r[s],s,r););return i}}},5063:function(t){t.exports=function(t){return function(e,i,n){for(var a=-1,o=Object(e),s=n(e),r=s.length;r--;){var l=s[t?r:++a];if(!1===i(o[l],l,o))break}return e}}},7740:function(t,e,i){var n=i(7206),a=i(8612),o=i(3674);t.exports=function(t){return function(e,i,s){var r=Object(e);if(!a(e)){var l=n(i,3);e=o(e),i=function(t){return l(r[t],t,r)}}var c=t(e,i,s);return c>-1?r[l?e[c]:c]:void 0}}},3593:function(t,e,i){var n=i(8525),a=i(308),o=i(1814),s=n&&1/o(new n([,-0]))[1]==1/0?function(t){return new n(t)}:a;t.exports=s},696:function(t,e,i){var n=i(8630);t.exports=function(t){return n(t)?void 0:t}},8777:function(t,e,i){var n=i(852),a=function(){try{var t=n(Object,"defineProperty");return t({},"",{}),t}catch(t){}}();t.exports=a},7114:function(t,e,i){var n=i(8668),a=i(2908),o=i(4757);t.exports=function(t,e,i,s,r,l){var c=1&i,d=t.length,u=e.length;if(d!=u&&!(c&&u>d))return!1;var h=l.get(t),f=l.get(e);if(h&&f)return h==e&&f==t;var p=-1,b=!0,g=2&i?new n:void 0;for(l.set(t,e),l.set(e,t);++p<d;){var m=t[p],v=e[p];if(s)var x=c?s(v,m,p,e,t,l):s(m,v,p,t,e,l);if(void 0!==x){if(x)continue;b=!1;break}if(g){if(!a(e,(function(t,e){if(!o(g,e)&&(m===t||r(m,t,i,s,l)))return g.push(e)}))){b=!1;break}}else if(m!==v&&!r(m,v,i,s,l)){b=!1;break}}return l.delete(t),l.delete(e),b}},8351:function(t,e,i){var n=i(2705),a=i(1149),o=i(7813),s=i(7114),r=i(8776),l=i(1814),c=n?n.prototype:void 0,d=c?c.valueOf:void 0;t.exports=function(t,e,i,n,c,u,h){switch(i){case"[object DataView]":if(t.byteLength!=e.byteLength||t.byteOffset!=e.byteOffset)return!1;t=t.buffer,e=e.buffer;case"[object ArrayBuffer]":return!(t.byteLength!=e.byteLength||!u(new a(t),new a(e)));case"[object Boolean]":case"[object Date]":case"[object Number]":return o(+t,+e);case"[object Error]":return t.name==e.name&&t.message==e.message;case"[object RegExp]":case"[object String]":return t==e+"";case"[object Map]":var f=r;case"[object Set]":var p=1&n;if(f||(f=l),t.size!=e.size&&!p)return!1;var b=h.get(t);if(b)return b==e;n|=2,h.set(t,e);var g=s(f(t),f(e),n,c,u,h);return h.delete(t),g;case"[object Symbol]":if(d)return d.call(t)==d.call(e)}return!1}},6096:function(t,e,i){var n=i(8234),a=Object.prototype.hasOwnProperty;t.exports=function(t,e,i,o,s,r){var l=1&i,c=n(t),d=c.length;if(d!=n(e).length&&!l)return!1;for(var u=d;u--;){var h=c[u];if(!(l?h in e:a.call(e,h)))return!1}var f=r.get(t),p=r.get(e);if(f&&p)return f==e&&p==t;var b=!0;r.set(t,e),r.set(e,t);for(var g=l;++u<d;){var m=t[h=c[u]],v=e[h];if(o)var x=l?o(v,m,h,e,t,r):o(m,v,h,t,e,r);if(!(void 0===x?m===v||s(m,v,i,o,r):x)){b=!1;break}g||(g="constructor"==h)}if(b&&!g){var y=t.constructor,k=e.constructor;y==k||!("constructor"in t)||!("constructor"in e)||"function"==typeof y&&y instanceof y&&"function"==typeof k&&k instanceof k||(b=!1)}return r.delete(t),r.delete(e),b}},9021:function(t,e,i){var n=i(5564),a=i(5357),o=i(61);t.exports=function(t){return o(a(t,void 0,n),t+"")}},1957:function(t,e,i){var n="object"==typeof i.g&&i.g&&i.g.Object===Object&&i.g;t.exports=n},8234:function(t,e,i){var n=i(8866),a=i(9551),o=i(3674);t.exports=function(t){return n(t,o,a)}},6904:function(t,e,i){var n=i(8866),a=i(1442),o=i(1704);t.exports=function(t){return n(t,o,a)}},5050:function(t,e,i){var n=i(7019);t.exports=function(t,e){var i=t.__data__;return n(e)?i["string"==typeof e?"string":"hash"]:i.map}},1499:function(t,e,i){var n=i(9162),a=i(3674);t.exports=function(t){for(var e=a(t),i=e.length;i--;){var o=e[i],s=t[o];e[i]=[o,s,n(s)]}return e}},852:function(t,e,i){var n=i(8458),a=i(7801);t.exports=function(t,e){var i=a(t,e);return n(i)?i:void 0}},5924:function(t,e,i){var n=i(5569)(Object.getPrototypeOf,Object);t.exports=n},9607:function(t,e,i){var n=i(2705),a=Object.prototype,o=a.hasOwnProperty,s=a.toString,r=n?n.toStringTag:void 0;t.exports=function(t){var e=o.call(t,r),i=t[r];try{t[r]=void 0;var n=!0}catch(t){}var a=s.call(t);return n&&(e?t[r]=i:delete t[r]),a}},9551:function(t,e,i){var n=i(4963),a=i(479),o=Object.prototype.propertyIsEnumerable,s=Object.getOwnPropertySymbols,r=s?function(t){return null==t?[]:(t=Object(t),n(s(t),(function(e){return o.call(t,e)})))}:a;t.exports=r},1442:function(t,e,i){var n=i(2488),a=i(5924),o=i(9551),s=i(479),r=Object.getOwnPropertySymbols?function(t){for(var e=[];t;)n(e,o(t)),t=a(t);return e}:s;t.exports=r},4160:function(t,e,i){var n=i(8552),a=i(7071),o=i(3818),s=i(8525),r=i(577),l=i(4239),c=i(346),d="[object Map]",u="[object Promise]",h="[object Set]",f="[object WeakMap]",p="[object DataView]",b=c(n),g=c(a),m=c(o),v=c(s),x=c(r),y=l;(n&&y(new n(new ArrayBuffer(1)))!=p||a&&y(new a)!=d||o&&y(o.resolve())!=u||s&&y(new s)!=h||r&&y(new r)!=f)&&(y=function(t){var e=l(t),i="[object Object]"==e?t.constructor:void 0,n=i?c(i):"";if(n)switch(n){case b:return p;case g:return d;case m:return u;case v:return h;case x:return f}return e}),t.exports=y},7801:function(t){t.exports=function(t,e){return null==t?void 0:t[e]}},222:function(t,e,i){var n=i(1811),a=i(5694),o=i(1469),s=i(5776),r=i(1780),l=i(327);t.exports=function(t,e,i){for(var c=-1,d=(e=n(e,t)).length,u=!1;++c<d;){var h=l(e[c]);if(!(u=null!=t&&i(t,h)))break;t=t[h]}return u||++c!=d?u:!!(d=null==t?0:t.length)&&r(d)&&s(h,d)&&(o(t)||a(t))}},2689:function(t){var e=RegExp("[\\u200d\\ud800-\\udfff\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff\\ufe0e\\ufe0f]");t.exports=function(t){return e.test(t)}},1789:function(t,e,i){var n=i(4536);t.exports=function(){this.__data__=n?n(null):{},this.size=0}},401:function(t){t.exports=function(t){var e=this.has(t)&&delete this.__data__[t];return this.size-=e?1:0,e}},7667:function(t,e,i){var n=i(4536),a=Object.prototype.hasOwnProperty;t.exports=function(t){var e=this.__data__;if(n){var i=e[t];return"__lodash_hash_undefined__"===i?void 0:i}return a.call(e,t)?e[t]:void 0}},1327:function(t,e,i){var n=i(4536),a=Object.prototype.hasOwnProperty;t.exports=function(t){var e=this.__data__;return n?void 0!==e[t]:a.call(e,t)}},1866:function(t,e,i){var n=i(4536);t.exports=function(t,e){var i=this.__data__;return this.size+=this.has(t)?0:1,i[t]=n&&void 0===e?"__lodash_hash_undefined__":e,this}},3824:function(t){var e=Object.prototype.hasOwnProperty;t.exports=function(t){var i=t.length,n=new t.constructor(i);return i&&"string"==typeof t[0]&&e.call(t,"index")&&(n.index=t.index,n.input=t.input),n}},9148:function(t,e,i){var n=i(4318),a=i(7157),o=i(3147),s=i(419),r=i(7133);t.exports=function(t,e,i){var l=t.constructor;switch(e){case"[object ArrayBuffer]":return n(t);case"[object Boolean]":case"[object Date]":return new l(+t);case"[object DataView]":return a(t,i);case"[object Float32Array]":case"[object Float64Array]":case"[object Int8Array]":case"[object Int16Array]":case"[object Int32Array]":case"[object Uint8Array]":case"[object Uint8ClampedArray]":case"[object Uint16Array]":case"[object Uint32Array]":return r(t,i);case"[object Map]":case"[object Set]":return new l;case"[object Number]":case"[object String]":return new l(t);case"[object RegExp]":return o(t);case"[object Symbol]":return s(t)}}},8517:function(t,e,i){var n=i(3118),a=i(5924),o=i(5726);t.exports=function(t){return"function"!=typeof t.constructor||o(t)?{}:n(a(t))}},7285:function(t,e,i){var n=i(2705),a=i(5694),o=i(1469),s=n?n.isConcatSpreadable:void 0;t.exports=function(t){return o(t)||a(t)||!!(s&&t&&t[s])}},5776:function(t){var e=/^(?:0|[1-9]\d*)$/;t.exports=function(t,i){var n=typeof t;return!!(i=null==i?9007199254740991:i)&&("number"==n||"symbol"!=n&&e.test(t))&&t>-1&&t%1==0&&t<i}},6612:function(t,e,i){var n=i(7813),a=i(8612),o=i(5776),s=i(3218);t.exports=function(t,e,i){if(!s(i))return!1;var r=typeof e;return!!("number"==r?a(i)&&o(e,i.length):"string"==r&&e in i)&&n(i[e],t)}},5403:function(t,e,i){var n=i(1469),a=i(3448),o=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,s=/^\w*$/;t.exports=function(t,e){if(n(t))return!1;var i=typeof t;return!("number"!=i&&"symbol"!=i&&"boolean"!=i&&null!=t&&!a(t))||s.test(t)||!o.test(t)||null!=e&&t in Object(e)}},7019:function(t){t.exports=function(t){var e=typeof t;return"string"==e||"number"==e||"symbol"==e||"boolean"==e?"__proto__"!==t:null===t}},5346:function(t,e,i){var n,a=i(4429),o=(n=/[^.]+$/.exec(a&&a.keys&&a.keys.IE_PROTO||""))?"Symbol(src)_1."+n:"";t.exports=function(t){return!!o&&o in t}},5726:function(t){var e=Object.prototype;t.exports=function(t){var i=t&&t.constructor;return t===("function"==typeof i&&i.prototype||e)}},9162:function(t,e,i){var n=i(3218);t.exports=function(t){return t==t&&!n(t)}},7040:function(t){t.exports=function(){this.__data__=[],this.size=0}},4125:function(t,e,i){var n=i(8470),a=Array.prototype.splice;t.exports=function(t){var e=this.__data__,i=n(e,t);return!(i<0||(i==e.length-1?e.pop():a.call(e,i,1),--this.size,0))}},2117:function(t,e,i){var n=i(8470);t.exports=function(t){var e=this.__data__,i=n(e,t);return i<0?void 0:e[i][1]}},7518:function(t,e,i){var n=i(8470);t.exports=function(t){return n(this.__data__,t)>-1}},4705:function(t,e,i){var n=i(8470);t.exports=function(t,e){var i=this.__data__,a=n(i,t);return a<0?(++this.size,i.push([t,e])):i[a][1]=e,this}},4785:function(t,e,i){var n=i(1989),a=i(8407),o=i(7071);t.exports=function(){this.size=0,this.__data__={hash:new n,map:new(o||a),string:new n}}},1285:function(t,e,i){var n=i(5050);t.exports=function(t){var e=n(this,t).delete(t);return this.size-=e?1:0,e}},6e3:function(t,e,i){var n=i(5050);t.exports=function(t){return n(this,t).get(t)}},9916:function(t,e,i){var n=i(5050);t.exports=function(t){return n(this,t).has(t)}},5265:function(t,e,i){var n=i(5050);t.exports=function(t,e){var i=n(this,t),a=i.size;return i.set(t,e),this.size+=i.size==a?0:1,this}},8776:function(t){t.exports=function(t){var e=-1,i=Array(t.size);return t.forEach((function(t,n){i[++e]=[n,t]})),i}},2634:function(t){t.exports=function(t,e){return function(i){return null!=i&&i[t]===e&&(void 0!==e||t in Object(i))}}},4523:function(t,e,i){var n=i(8306);t.exports=function(t){var e=n(t,(function(t){return 500===i.size&&i.clear(),t})),i=e.cache;return e}},4536:function(t,e,i){var n=i(852)(Object,"create");t.exports=n},6916:function(t,e,i){var n=i(5569)(Object.keys,Object);t.exports=n},3498:function(t){t.exports=function(t){var e=[];if(null!=t)for(var i in Object(t))e.push(i);return e}},1167:function(t,e,i){t=i.nmd(t);var n=i(1957),a=e&&!e.nodeType&&e,o=a&&t&&!t.nodeType&&t,s=o&&o.exports===a&&n.process,r=function(){try{return o&&o.require&&o.require("util").types||s&&s.binding&&s.binding("util")}catch(t){}}();t.exports=r},2333:function(t){var e=Object.prototype.toString;t.exports=function(t){return e.call(t)}},5569:function(t){t.exports=function(t,e){return function(i){return t(e(i))}}},5357:function(t,e,i){var n=i(6874),a=Math.max;t.exports=function(t,e,i){return e=a(void 0===e?t.length-1:e,0),function(){for(var o=arguments,s=-1,r=a(o.length-e,0),l=Array(r);++s<r;)l[s]=o[e+s];s=-1;for(var c=Array(e+1);++s<e;)c[s]=o[s];return c[e]=i(l),n(t,this,c)}}},292:function(t,e,i){var n=i(7786),a=i(4259);t.exports=function(t,e){return e.length<2?t:n(t,a(e,0,-1))}},5639:function(t,e,i){var n=i(1957),a="object"==typeof self&&self&&self.Object===Object&&self,o=n||a||Function("return this")();t.exports=o},619:function(t){t.exports=function(t){return this.__data__.set(t,"__lodash_hash_undefined__"),this}},2385:function(t){t.exports=function(t){return this.__data__.has(t)}},1814:function(t){t.exports=function(t){var e=-1,i=Array(t.size);return t.forEach((function(t){i[++e]=t})),i}},61:function(t,e,i){var n=i(6560),a=i(1275)(n);t.exports=a},1275:function(t){var e=Date.now;t.exports=function(t){var i=0,n=0;return function(){var a=e(),o=16-(a-n);if(n=a,o>0){if(++i>=800)return arguments[0]}else i=0;return t.apply(void 0,arguments)}}},7465:function(t,e,i){var n=i(8407);t.exports=function(){this.__data__=new n,this.size=0}},3779:function(t){t.exports=function(t){var e=this.__data__,i=e.delete(t);return this.size=e.size,i}},7599:function(t){t.exports=function(t){return this.__data__.get(t)}},4758:function(t){t.exports=function(t){return this.__data__.has(t)}},4309:function(t,e,i){var n=i(8407),a=i(7071),o=i(3369);t.exports=function(t,e){var i=this.__data__;if(i instanceof n){var s=i.__data__;if(!a||s.length<199)return s.push([t,e]),this.size=++i.size,this;i=this.__data__=new o(s)}return i.set(t,e),this.size=i.size,this}},2351:function(t){t.exports=function(t,e,i){for(var n=i-1,a=t.length;++n<a;)if(t[n]===e)return n;return-1}},8016:function(t,e,i){var n=i(8983),a=i(2689),o=i(1903);t.exports=function(t){return a(t)?o(t):n(t)}},5514:function(t,e,i){var n=i(4523),a=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,o=/\\(\\)?/g,s=n((function(t){var e=[];return 46===t.charCodeAt(0)&&e.push(""),t.replace(a,(function(t,i,n,a){e.push(n?a.replace(o,"$1"):i||t)})),e}));t.exports=s},327:function(t,e,i){var n=i(3448);t.exports=function(t){if("string"==typeof t||n(t))return t;var e=t+"";return"0"==e&&1/t==-1/0?"-0":e}},346:function(t){var e=Function.prototype.toString;t.exports=function(t){if(null!=t){try{return e.call(t)}catch(t){}try{return t+""}catch(t){}}return""}},7990:function(t){var e=/\s/;t.exports=function(t){for(var i=t.length;i--&&e.test(t.charAt(i)););return i}},1903:function(t){var e="[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]",i="\\ud83c[\\udffb-\\udfff]",n="[^\\ud800-\\udfff]",a="(?:\\ud83c[\\udde6-\\uddff]){2}",o="[\\ud800-\\udbff][\\udc00-\\udfff]",s="(?:"+e+"|"+i+")?",r="[\\ufe0e\\ufe0f]?",l=r+s+"(?:\\u200d(?:"+[n,a,o].join("|")+")"+r+s+")*",c="(?:"+[n+e+"?",e,a,o,"[\\ud800-\\udfff]"].join("|")+")",d=RegExp(i+"(?="+i+")|"+c+l,"g");t.exports=function(t){for(var e=d.lastIndex=0;d.test(t);)++e;return e}},5703:function(t){t.exports=function(t){return function(){return t}}},9995:function(t,e,i){var n=i(9465),a=i(5189),o=Object.prototype.hasOwnProperty,s=a((function(t,e,i){o.call(t,i)?++t[i]:n(t,i,1)}));t.exports=s},7813:function(t){t.exports=function(t,e){return t===e||t!=t&&e!=e}},3105:function(t,e,i){var n=i(4963),a=i(760),o=i(7206),s=i(1469);t.exports=function(t,e){return(s(t)?n:a)(t,o(e,3))}},3311:function(t,e,i){var n=i(7740)(i(998));t.exports=n},998:function(t,e,i){var n=i(1848),a=i(7206),o=i(554),s=Math.max;t.exports=function(t,e,i){var r=null==t?0:t.length;if(!r)return-1;var l=null==i?0:o(i);return l<0&&(l=s(r+l,0)),n(t,a(e,3),l)}},4654:function(t,e,i){var n=i(1078),a=i(5161);t.exports=function(t,e){return n(a(t,e),1)}},5564:function(t,e,i){var n=i(1078);t.exports=function(t){return null!=t&&t.length?n(t,1):[]}},7361:function(t,e,i){var n=i(7786);t.exports=function(t,e,i){var a=null==t?void 0:n(t,e);return void 0===a?i:a}},9095:function(t,e,i){var n=i(13),a=i(222);t.exports=function(t,e){return null!=t&&a(t,e,n)}},6557:function(t){t.exports=function(t){return t}},4721:function(t,e,i){var n=i(2118),a=i(8612),o=i(7037),s=i(554),r=i(2628),l=Math.max;t.exports=function(t,e,i,c){t=a(t)?t:r(t),i=i&&!c?s(i):0;var d=t.length;return i<0&&(i=l(d+i,0)),o(t)?i<=d&&t.indexOf(e,i)>-1:!!d&&n(t,e,i)>-1}},5694:function(t,e,i){var n=i(9454),a=i(7005),o=Object.prototype,s=o.hasOwnProperty,r=o.propertyIsEnumerable,l=n(function(){return arguments}())?n:function(t){return a(t)&&s.call(t,"callee")&&!r.call(t,"callee")};t.exports=l},1469:function(t){var e=Array.isArray;t.exports=e},8612:function(t,e,i){var n=i(3560),a=i(1780);t.exports=function(t){return null!=t&&a(t.length)&&!n(t)}},4144:function(t,e,i){t=i.nmd(t);var n=i(5639),a=i(5062),o=e&&!e.nodeType&&e,s=o&&t&&!t.nodeType&&t,r=s&&s.exports===o?n.Buffer:void 0,l=(r?r.isBuffer:void 0)||a;t.exports=l},3560:function(t,e,i){var n=i(4239),a=i(3218);t.exports=function(t){if(!a(t))return!1;var e=n(t);return"[object Function]"==e||"[object GeneratorFunction]"==e||"[object AsyncFunction]"==e||"[object Proxy]"==e}},1780:function(t){t.exports=function(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=9007199254740991}},6688:function(t,e,i){var n=i(5588),a=i(1717),o=i(1167),s=o&&o.isMap,r=s?a(s):n;t.exports=r},4293:function(t){t.exports=function(t){return null==t}},3218:function(t){t.exports=function(t){var e=typeof t;return null!=t&&("object"==e||"function"==e)}},7005:function(t){t.exports=function(t){return null!=t&&"object"==typeof t}},8630:function(t,e,i){var n=i(4239),a=i(5924),o=i(7005),s=Function.prototype,r=Object.prototype,l=s.toString,c=r.hasOwnProperty,d=l.call(Object);t.exports=function(t){if(!o(t)||"[object Object]"!=n(t))return!1;var e=a(t);if(null===e)return!0;var i=c.call(e,"constructor")&&e.constructor;return"function"==typeof i&&i instanceof i&&l.call(i)==d}},2928:function(t,e,i){var n=i(9221),a=i(1717),o=i(1167),s=o&&o.isSet,r=s?a(s):n;t.exports=r},7037:function(t,e,i){var n=i(4239),a=i(1469),o=i(7005);t.exports=function(t){return"string"==typeof t||!a(t)&&o(t)&&"[object String]"==n(t)}},3448:function(t,e,i){var n=i(4239),a=i(7005);t.exports=function(t){return"symbol"==typeof t||a(t)&&"[object Symbol]"==n(t)}},6719:function(t,e,i){var n=i(8749),a=i(1717),o=i(1167),s=o&&o.isTypedArray,r=s?a(s):n;t.exports=r},3674:function(t,e,i){var n=i(4636),a=i(280),o=i(8612);t.exports=function(t){return o(t)?n(t):a(t)}},1704:function(t,e,i){var n=i(4636),a=i(313),o=i(8612);t.exports=function(t){return o(t)?n(t,!0):a(t)}},928:function(t){t.exports=function(t){var e=null==t?0:t.length;return e?t[e-1]:void 0}},5161:function(t,e,i){var n=i(9932),a=i(7206),o=i(9199),s=i(1469);t.exports=function(t,e){return(s(t)?n:o)(t,a(e,3))}},8306:function(t,e,i){var n=i(3369);function a(t,e){if("function"!=typeof t||null!=e&&"function"!=typeof e)throw new TypeError("Expected a function");var i=function(){var n=arguments,a=e?e.apply(this,n):n[0],o=i.cache;if(o.has(a))return o.get(a);var s=t.apply(this,n);return i.cache=o.set(a,s)||o,s};return i.cache=new(a.Cache||n),i}
1a.Cache=n,t.exports=a},308:function(t){t.exports=function(){}},7557:function(t,e,i){var n=i(9932),a=i(5990),o=i(7406),s=i(1811),r=i(8363),l=i(696),c=i(9021),d=i(6904),u=c((function(t,e){var i={};if(null==t)return i;var c=!1;e=n(e,(function(e){return e=s(e,t),c||(c=e.length>1),e})),r(t,d(t),i),c&&(i=a(i,7,l));for(var u=e.length;u--;)o(i,e[u]);return i}));t.exports=u},9601:function(t,e,i){var n=i(371),a=i(9152),o=i(5403),s=i(327);t.exports=function(t){return o(t)?n(s(t)):a(t)}},4061:function(t,e,i){var n=i(2663),a=i(9881),o=i(7206),s=i(107),r=i(1469);t.exports=function(t,e,i){var l=r(t)?n:s,c=arguments.length<3;return l(t,o(e,4),i,c,a)}},4238:function(t,e,i){var n=i(280),a=i(4160),o=i(8612),s=i(7037),r=i(8016);t.exports=function(t){if(null==t)return 0;if(o(t))return s(t)?r(t):t.length;var e=a(t);return"[object Map]"==e||"[object Set]"==e?t.size:n(t).length}},2571:function(t,e,i){var n=i(4259),a=i(6612),o=i(554);t.exports=function(t,e,i){var s=null==t?0:t.length;return s?(i&&"number"!=typeof i&&a(t,e,i)?(e=0,i=s):(e=null==e?0:o(e),i=void 0===i?s:o(i)),n(t,e,i)):[]}},479:function(t){t.exports=function(){return[]}},5062:function(t){t.exports=function(){return!1}},2297:function(t,e,i){var n=i(7762),a=i(6557);t.exports=function(t){return t&&t.length?n(t,a):0}},8601:function(t,e,i){var n=i(4841);t.exports=function(t){return t?Infinity===(t=n(t))||t===-1/0?17976931348623157e292*(t<0?-1:1):t==t?t:0:0===t?t:0}},554:function(t,e,i){var n=i(8601);t.exports=function(t){var e=n(t),i=e%1;return e==e?i?e-i:e:0}},4841:function(t,e,i){var n=i(7561),a=i(3218),o=i(3448),s=/^[-+]0x[0-9a-f]+$/i,r=/^0b[01]+$/i,l=/^0o[0-7]+$/i,c=parseInt;t.exports=function(t){if("number"==typeof t)return t;if(o(t))return NaN;if(a(t)){var e="function"==typeof t.valueOf?t.valueOf():t;t=a(e)?e+"":e}if("string"!=typeof t)return 0===t?t:+t;t=n(t);var i=r.test(t);return i||l.test(t)?c(t.slice(2),i?2:8):s.test(t)?NaN:+t}},9833:function(t,e,i){var n=i(531);t.exports=function(t){return null==t?"":n(t)}},4908:function(t,e,i){var n=i(5652);t.exports=function(t){return t&&t.length?n(t):[]}},2628:function(t,e,i){var n=i(7415),a=i(3674);t.exports=function(t){return null==t?[]:n(t,a(t))}},83:function(t,e,i){"use strict";function n(t,e){(null==e||e>t.length)&&(e=t.length);for(var i=0,n=new Array(e);i<e;i++)n[i]=t[i];return n}function a(t,e,i,n,a,o,s){this.acceptsBooleans=2===e||3===e||4===e,this.attributeName=n,this.attributeNamespace=a,this.mustUseProperty=i,this.propertyName=t,this.type=e,this.sanitizeURL=o,this.removeEmptyString=s}Object.defineProperty(e,"__esModule",{value:!0});var o={};["children","dangerouslySetInnerHTML","defaultValue","defaultChecked","innerHTML","suppressContentEditableWarning","suppressHydrationWarning","style"].forEach((function(t){o[t]=new a(t,0,!1,t,null,!1,!1)})),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach((function(t){var e,i,s=(i=2,function(t){if(Array.isArray(t))return t}(e=t)||function(t,e){var i=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=i){var n,a,o=[],_n=!0,s=!1;try{for(i=i.call(t);!(_n=(n=i.next()).done)&&(o.push(n.value),!e||o.length!==e);_n=!0);}catch(t){s=!0,a=t}finally{try{_n||null==i.return||i.return()}finally{if(s)throw a}}return o}}(e,i)||function(t,e){if(t){if("string"==typeof t)return n(t,e);var i=Object.prototype.toString.call(t).slice(8,-1);return"Object"===i&&t.constructor&&(i=t.constructor.name),"Map"===i||"Set"===i?Array.from(t):"Arguments"===i||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i)?n(t,e):void 0}}(e,i)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),r=s[0],l=s[1];o[r]=new a(r,1,!1,l,null,!1,!1)})),["contentEditable","draggable","spellCheck","value"].forEach((function(t){o[t]=new a(t,2,!1,t.toLowerCase(),null,!1,!1)})),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach((function(t){o[t]=new a(t,2,!1,t,null,!1,!1)})),["allowFullScreen","async","autoFocus","autoPlay","controls","default","defer","disabled","disablePictureInPicture","disableRemotePlayback","formNoValidate","hidden","loop","noModule","noValidate","o
1pen","playsInline","readOnly","required","reversed","scoped","seamless","itemScope"].forEach((function(t){o[t]=new a(t,3,!1,t.toLowerCase(),null,!1,!1)})),["checked","multiple","muted","selected"].forEach((function(t){o[t]=new a(t,3,!0,t,null,!1,!1)})),["capture","download"].forEach((function(t){o[t]=new a(t,4,!1,t,null,!1,!1)})),["cols","rows","size","span"].forEach((function(t){o[t]=new a(t,6,!1,t,null,!1,!1)})),["rowSpan","start"].forEach((function(t){o[t]=new a(t,5,!1,t.toLowerCase(),null,!1,!1)}));var s=/[\-\:]([a-z])/g,r=function(t){return t[1].toUpperCase()};["accent-height","alignment-baseline","arabic-form","baseline-shift","cap-height","clip-path","clip-rule","color-interpolation","color-interpolation-filters","color-profile","color-rendering","dominant-baseline","enable-background","fill-opacity","fill-rule","flood-color","flood-opacity","font-family","font-size","font-size-adjust","font-stretch","font-style","font-variant","font-weight","glyph-name","glyph-orientation-horizontal","glyph-orientation-vertical","horiz-adv-x","horiz-origin-x","image-rendering","letter-spacing","lighting-color","marker-end","marker-mid","marker-start","overline-position","overline-thickness","paint-order","panose-1","pointer-events","rendering-intent","shape-rendering","stop-color","stop-opacity","strikethrough-position","strikethrough-thickness","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke-width","text-anchor","text-decoration","text-rendering","underline-position","underline-thickness","unicode-bidi","unicode-range","units-per-em","v-alphabetic","v-hanging","v-ideographic","v-mathematical","vector-effect","vert-adv-y","vert-origin-x","vert-origin-y","word-spacing","writing-mode","xmlns:xlink","x-height"].forEach((function(t){var e=t.replace(s,r);o[e]=new a(e,1,!1,t,null,!1,!1)})),["xlink:actuate","xlink:arcrole","xlink:role","xlink:show","xlink:title","xlink:type"].forEach((function(t){var e=t.replace(s,r);o[e]=new a(e,1,!1,t,"http://www.w3.org/1999/xlink",!1,!1)})),["xml:base","xml:lang","xml:space"].forEach((function(t){var e=t.replace(s,r);o[e]=new a(e,1,!1,t,"http://www.w3.org/XML/1998/namespace",!1,!1)})),["tabIndex","crossOrigin"].forEach((function(t){o[t]=new a(t,1,!1,t.toLowerCase(),null,!1,!1)})),o.xlinkHref=new a("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach((function(t){o[t]=new a(t,1,!1,t.toLowerCase(),null,!0,!0)}));var l=i(8229),c=l.CAMELCASE,d=l.SAME,u=l.possibleStandardNames,h=RegExp.prototype.test.bind(new RegExp("^(data|aria)-[:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040]*$")),f=Object.keys(u).reduce((function(t,e){var i=u[e];return i===d?t[e]=e:i===c?t[e.toLowerCase()]=e:t[e]=i,t}),{});e.BOOLEAN=3,e.BOOLEANISH_STRING=2,e.NUMERIC=5,e.OVERLOADED_BOOLEAN=4,e.POSITIVE_NUMERIC=6,e.RESERVED=0,e.STRING=1,e.getPropertyInfo=function(t){return o.hasOwnProperty(t)?o[t]:null},e.isCustomAttribute=h,e.possibleStandardNames=f},8229:function(t,e){e.SAME=0,e.CAMELCASE=1,e.possibleStandardNames={accept:0,acceptCharset:1,"accept-charset":"acceptCharset",accessKey:1,action:0,allowFullScreen:1,alt:0,as:0,async:0,autoCapitalize:1,autoComplete:1,autoCorrect:1,autoFocus:1,autoPlay:1,autoSave:1,capture:0,cellPadding:1,cellSpacing:1,challenge:0,charSet:1,checked:0,children:0,cite:0,class:"className",classID:1,className:1,cols:0,colSpan:1,content:0,contentEditable:1,contextMenu:1,controls:0,controlsList:1,coords:0,crossOrigin:1,dangerouslySetInnerHTML:1,data:0,dateTime:1,default:0,defaultChecked:1,defaultValue:1,defer:0,dir:0,disabled:0,disablePictureInPicture:1,disableRemotePlayback:1,download:0,draggable:0,encType:1,enterKeyHint:1,for:"htmlFor",form:0,formMethod:1,formAction:1,formEncType:1,formNoValidate:1,formTarget:1,frameBorder:1,headers:0,height:0,hidden:0,high:0,href:0,hrefLang:1,htmlFor:1,httpEquiv:1,"http-equiv":"httpEquiv",icon:0,id:0,innerHTML:1,inputMode:1,integrity:0,is:0,itemID:1,itemProp:1,itemRef:1,itemScope:1,itemType:1,keyParams:1,keyType:1,kind:0,label:0,lang:0,list:0,loop:0,low:0,manifest:0,marginWidth:1,marginHeight:1,max:0,maxLength:1,media:0,mediaGroup:1,method:0,min:0,minLength:1,multiple:0,muted:0,name:0,noModule:1,nonce:0,noValidate:1,open:0,optimum:0,pattern:0,placeholder:0,playsInl
1ine:1,poster:0,preload:0,profile:0,radioGroup:1,readOnly:1,referrerPolicy:1,rel:0,required:0,reversed:0,role:0,rows:0,rowSpan:1,sandbox:0,scope:0,scoped:0,scrolling:0,seamless:0,selected:0,shape:0,size:0,sizes:0,span:0,spellCheck:1,src:0,srcDoc:1,srcLang:1,srcSet:1,start:0,step:0,style:0,summary:0,tabIndex:1,target:0,title:0,type:0,useMap:1,value:0,width:0,wmode:0,wrap:0,about:0,accentHeight:1,"accent-height":"accentHeight",accumulate:0,additive:0,alignmentBaseline:1,"alignment-baseline":"alignmentBaseline",allowReorder:1,alphabetic:0,amplitude:0,arabicForm:1,"arabic-form":"arabicForm",ascent:0,attributeName:1,attributeType:1,autoReverse:1,azimuth:0,baseFrequency:1,baselineShift:1,"baseline-shift":"baselineShift",baseProfile:1,bbox:0,begin:0,bias:0,by:0,calcMode:1,capHeight:1,"cap-height":"capHeight",clip:0,clipPath:1,"clip-path":"clipPath",clipPathUnits:1,clipRule:1,"clip-rule":"clipRule",color:0,colorInterpolation:1,"color-interpolation":"colorInterpolation",colorInterpolationFilters:1,"color-interpolation-filters":"colorInterpolationFilters",colorProfile:1,"color-profile":"colorProfile",colorRendering:1,"color-rendering":"colorRendering",contentScriptType:1,contentStyleType:1,cursor:0,cx:0,cy:0,d:0,datatype:0,decelerate:0,descent:0,diffuseConstant:1,direction:0,display:0,divisor:0,dominantBaseline:1,"dominant-baseline":"dominantBaseline",dur:0,dx:0,dy:0,edgeMode:1,elevation:0,enableBackground:1,"enable-background":"enableBackground",end:0,exponent:0,externalResourcesRequired:1,fill:0,fillOpacity:1,"fill-opacity":"fillOpacity",fillRule:1,"fill-rule":"fillRule",filter:0,filterRes:1,filterUnits:1,floodOpacity:1,"flood-opacity":"floodOpacity",floodColor:1,"flood-color":"floodColor",focusable:0,fontFamily:1,"font-family":"fontFamily",fontSize:1,"font-size":"fontSize",fontSizeAdjust:1,"font-size-adjust":"fontSizeAdjust",fontStretch:1,"font-stretch":"fontStretch",fontStyle:1,"font-style":"fontStyle",fontVariant:1,"font-variant":"fontVariant",fontWeight:1,"font-weight":"fontWeight",format:0,from:0,fx:0,fy:0,g1:0,g2:0,glyphName:1,"glyph-name":"glyphName",glyphOrientationHorizontal:1,"glyph-orientation-horizontal":"glyphOrientationHorizontal",glyphOrientationVertical:1,"glyph-orientation-vertical":"glyphOrientationVertical",glyphRef:1,gradientTransform:1,gradientUnits:1,hanging:0,horizAdvX:1,"horiz-adv-x":"horizAdvX",horizOriginX:1,"horiz-origin-x":"horizOriginX",ideographic:0,imageRendering:1,"image-rendering":"imageRendering",in2:0,in:0,inlist:0,intercept:0,k1:0,k2:0,k3:0,k4:0,k:0,kernelMatrix:1,kernelUnitLength:1,kerning:0,keyPoints:1,keySplines:1,keyTimes:1,lengthAdjust:1,letterSpacing:1,"letter-spacing":"letterSpacing",lightingColor:1,"lighting-color":"lightingColor",limitingConeAngle:1,local:0,markerEnd:1,"marker-end":"markerEnd",markerHeight:1,markerMid:1,"marker-mid":"markerMid",markerStart:1,"marker-start":"markerStart",markerUnits:1,markerWidth:1,mask:0,maskContentUnits:1,maskUnits:1,mathematical:0,mode:0,numOctaves:1,offset:0,opacity:0,operator:0,order:0,orient:0,orientation:0,origin:0,overflow:0,overlinePosition:1,"overline-position":"overlinePosition",overlineThickness:1,"overline-thickness":"overlineThickness",paintOrder:1,"paint-order":"paintOrder",panose1:0,"panose-1":"panose1",pathLength:1,patternContentUnits:1,patternTransform:1,patternUnits:1,pointerEvents:1,"pointer-events":"pointerEvents",points:0,pointsAtX:1,pointsAtY:1,pointsAtZ:1,prefix:0,preserveAlpha:1,preserveAspectRatio:1,primitiveUnits:1,property:0,r:0,radius:0,refX:1,refY:1,renderingIntent:1,"rendering-intent":"renderingIntent",repeatCount:1,repeatDur:1,requiredExtensions:1,requiredFeatures:1,resource:0,restart:0,result:0,results:0,rotate:0,rx:0,ry:0,scale:0,security:0,seed:0,shapeRendering:1,"shape-rendering":"shapeRendering",slope:0,spacing:0,specularConstant:1,specularExponent:1,speed:0,spreadMethod:1,startOffset:1,stdDeviation:1,stemh:0,stemv:0,stitchTiles:1,stopColor:1,"stop-color":"stopColor",stopOpacity:1,"stop-opacity":"stopOpacity",strikethroughPosition:1,"strikethrough-position":"strikethroughPosition",strikethroughThickness:1,"strikethrough-thickness":"strikethroughThickness",string:0,stroke:0,strokeDasharray:1,"stroke-dasharray":"strokeDasharray",strokeDashoffset:1,"stroke-dashoffset":"strokeDashoffset",strokeLinecap:1,"stroke-linecap":"strokeLinecap",strokeLinejoin:1,"stroke-linejoin":"strokeLinejoin",strokeMiterlimit:1,"stroke-miterlimit":"strokeMiterlimit",strokeWidth:1,"stroke-width":"strokeWidth",strokeOpacity:1,"stroke-opacity":"strokeOpacity",suppressContentEditableWarning:1,suppressHydrationWarning:1,surfaceScale:1,systemLanguage:1,tableValues:1,targetX:1,targetY:1,textAnchor:1,"text-anchor":"textAnchor",textDecoration:1,"text-decoration":"textDecoration",textLength:1,textRendering:1,"text-rendering":"textRendering",to:0,transform:0,typeof:0,u1:0,u2:0,underlinePosition:1,"underline-position":"underlinePosition",underlineThickness:1,"underline-thickness":"underlineThickness",unicode:0,unicodeBidi:1,"unicode
1-bidi":"unicodeBidi",unicodeRange:1,"unicode-range":"unicodeRange",unitsPerEm:1,"units-per-em":"unitsPerEm",unselectable:0,vAlphabetic:1,"v-alphabetic":"vAlphabetic",values:0,vectorEffect:1,"vector-effect":"vectorEffect",version:0,vertAdvY:1,"vert-adv-y":"vertAdvY",vertOriginX:1,"vert-origin-x":"vertOriginX",vertOriginY:1,"vert-origin-y":"vertOriginY",vHanging:1,"v-hanging":"vHanging",vIdeographic:1,"v-ideographic":"vIdeographic",viewBox:1,viewTarget:1,visibility:0,vMathematical:1,"v-mathematical":"vMathematical",vocab:0,widths:0,wordSpacing:1,"word-spacing":"wordSpacing",writingMode:1,"writing-mode":"writingMode",x1:0,x2:0,x:0,xChannelSelector:1,xHeight:1,"x-height":"xHeight",xlinkActuate:1,"xlink:actuate":"xlinkActuate",xlinkArcrole:1,"xlink:arcrole":"xlinkArcrole",xlinkHref:1,"xlink:href":"xlinkHref",xlinkRole:1,"xlink:role":"xlinkRole",xlinkShow:1,"xlink:show":"xlinkShow",xlinkTitle:1,"xlink:title":"xlinkTitle",xlinkType:1,"xlink:type":"xlinkType",xmlBase:1,"xml:base":"xmlBase",xmlLang:1,"xml:lang":"xmlLang",xmlns:0,"xml:space":"xmlSpace",xmlnsXlink:1,"xmlns:xlink":"xmlnsXlink",xmlSpace:1,y1:0,y2:0,y:0,yChannelSelector:1,z:0,zoomAndPan:1}},1476:function(t,e,i){"use strict";var n=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};
1e.__esModule=!0;var a=n(i(7848)),o=i(6678);e.default=function(t,e){var i={};return t&&"string"==typeof t?(a.default(t,(function(t,n){t&&n&&(i[o.camelCase(t,e)]=n)})),i):i}},6678:function(t,e){"use strict";e.__esModule=!0,e.camelCase=void 0;var i=/^--[a-zA-Z0-9-]+$/,n=/-([a-z])/g,a=/^[^-]+$/,o=/^-(webkit|moz|ms|o|khtml)-/,s=function(t,e){return e.toUpperCase()},r=function(t,e){return e+"-"};e.camelCase=function(t,e){return void 0===e&&(e={}),function(t){return!t||a.test(t)||i.test(t)}(t)?t:(t=t.toLowerCase(),e.reactCompat||(t=t.replace(o,r)),t.replace(n,s))}},7848:function(t,e,i){var n=i(8139);t.exports=function(t,e){var i,a=null;if(!t||"string"!=typeof t)return a;for(var o,s,r=n(t),l="function"==typeof e,c=0,d=r.length;c<d;c++)o=(i=r[c]).property,s=i.value,l?e(o,s,i):s&&(a||(a={}),a[o]=s);return a}},9196:function(t){"use strict";t.exports=window.React}},e={};function i(n){var a=e[n];if(void 0!==a)return a.exports;var o=e[n]={id:n,loaded:!1,exports:{}};return t[n].call(o.exports,o,o.exports,i),o.loaded=!0,o.exports}i.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return i.d(e,{a:e}),e},i.d=function(t,e){for(var n in e)i.o(e,n)&&!i.o(t,n)&&Object.defineProperty(t,n,{enumerable:!0,get:e[n]})},i.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(t){if("object"==typeof window)return window}}(),i.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},i.nmd=function(t){return t.paths=[],t.children||(t.children=[]),t},function(){"use strict";var t=window.wp.element,e=i(9196),n=i.n(e),a=window.ReactDOM,o=i.n(a),s=i(488),r=(s.domToReact,s.htmlToDOM,s.attributesToProps,s.Element,s);const l="undefined"==typeof window?function(t){return t()}:window.requestAnimationFrame;function c(t,e,i){const n=i||(t=>Array.prototype.slice.call(t));let a=!1,o=[];return function(...i){o=n(i),a||(a=!0,l.call(window,(()=>{a=!1,t.apply(e,o)})))}}const d=t=>"start"===t?"left":"end"===t?"right":"center",u=(t,e,i)=>"start"===t?e:"end"===t?i:(e+i)/2;function h(){}const f=function(){let t=0;return function(){return t++}}();function p(t){return null==t}function b(t){if(Array.isArray&&Array.isArray(t))return!0;const e=Object.prototype.toString.call(t);return"[object"===e.substr(0,7)&&"Array]"===e.substr(-6)}function g(t){return null!==t&&"[object Object]"===Object.prototype.toString.call(t)}const m=t=>("number"==typeof t||t instanceof Number)&&isFinite(+t);function v(t,e){return m(t)?t:e}function x(t,e){return void 0===t?e:t}const y=(t,e)=>"string"==typeof t&&t.endsWith("%")?parseFloat(t)/100*e:+t;function k(t,e,i){if(t&&"function"==typeof t.call)return t.apply(i,e)}function _(t,e,i,n){let a,o,s;if(b(t))if(o=t.length,n)for(a=o-1;a>=0;a--)e.call(i,t[a],a);else for(a=0;a<o;a++)e.call(i,t[a],a);else if(g(t))for(s=Object.keys(t),o=s.length,a=0;a<o;a++)e.call(i,t[s[a]],s[a])}function w(t,e){let i,n,a,o;if(!t||!e||t.length!==e.length)return!1;for(i=0,n=t.length;i<n;++i)if(a=t[i],o=e[i],a.datasetIndex!==o.datasetIndex||a.index!==o.index)return!1;return!0}function M(t){if(b(t))return t.map(M);if(g(t)){const e=Object.create(null),i=Object.keys(t),n=i.length;let a=0;for(;a<n;++a)e[i[a]]=M(t[i[a]]);return e}return t}function S(t){return-1===["__proto__","prototype","constructor"].indexOf(t)}function T(t,e,i,n){if(!S(t))return;const a=e[t],o=i[t];g(a)&&g(o)?A(a,o,n):e[t]=M(o)}function A(t,e,i){const n=b(e)?e:[e],a=n.length;if(!g(t))return t;const o=(i=i||{}).merger||T;for(let s=0;s<a;++s){if(!g(e=n[s]))continue;const a=Object.keys(e);for(let n=0,s=a.length;n<s;++n)o(a[n],t,e,i)}return t}function j(t,e){return A(t,e,{merger:E})}function E(t,e,i){if(!S(t))return;const n=e[t],a=i[t];g(n)&&g(a)?j(n,a):Object.prototype.hasOwnProperty.call(e,t)||(e[t]=M(a))}function D(t,e){const i=t.indexOf(".",e);return-1===i?t.length:i}function P(t,e){if(""===e)return t;let i=0,n=D(e,i);for(;t&&n>i;)t=t[e.substr(i,n-i)],i=n+1,n=D(e,i);return t}function C(t){return t.charAt(0).toUpperCase()+t.slice(1)}const O=t=>void 0!==t,R=t=>"function"==typeof t,B=(t,e)=>{if(t.size!==e.size)return!1;for(const i of t)if(!e.has(i))return!1;return!0},I=Math.PI,L=2*I,F=L+I,N=Number.POSITIVE_INFINITY,z=I/180,H=I/2,V=I/4,K=2*I/3,W=Math.log10,$=Math.sign;function U(t){const e=Math.round(t);t=X(t,e,t/1e3)?e:t;const i=Math.pow(10,Math.floor(W(t))),n=t/i;return(n<=1?1:n<=2?2:n<=5?5:10)*i}function Y(t){return!isNaN(parseFloat(t))&&isFinite(t)}
vendor: 4,395 bytes, line 1
1function X(t,e,i){return Math.abs(t-e)<i}function Q(t,e,i){let n,a,o;for(n=0,a=t.length;n<a;n++)o=t[n][i],isNaN(o)||(e.min=Math.min(e.min,o),e.max=Math.max(e.max,o))}function G(t){return t*(I/180)}function q(t){return t*(180/I)}function J(t){if(!m(t))return;let e=1,i=0;for(;Math.round(t*e)/e!==t;)e*=10,i++;return i}function Z(t,e){const i=e.x-t.x,n=e.y-t.y,a=Math.sqrt(i*i+n*n);let o=Math.atan2(n,i);return o<-.5*I&&(o+=L),{angle:o,distance:a}}function tt(t,e){return Math.sqrt(Math.pow(e.x-t.x,2)+Math.pow(e.y-t.y,2))}function et(t,e){return(t-e+F)%L-I}function it(t){return(t%L+L)%L}function nt(t,e,i,n){const a=it(t),o=it(e),s=it(i),r=it(o-a),l=it(s-a),c=it(a-o),d=it(a-s);return a===o||a===s||n&&o===s||r>l&&c<d}function at(t,e,i){return Math.max(e,Math.min(i,t))}function ot(t,e,i,n=1e-6){return t>=Math.min(e,i)-n&&t<=Math.max(e,i)+n}const st=t=>0===t||1===t,rt=(t,e,i)=>-Math.pow(2,10*(t-=1))*Math.sin((t-e)*L/i),lt=(t,e,i)=>Math.pow(2,-10*t)*Math.sin((t-e)*L/i)+1,ct={linear:t=>t,easeInQuad:t=>t*t,easeOutQuad:t=>-t*(t-2),easeInOutQuad:t=>(t/=.5)<1?.5*t*t:-.5*(--t*(t-2)-1),easeInCubic:t=>t*t*t,easeOutCubic:t=>(t-=1)*t*t+1,easeInOutCubic:t=>(t/=.5)<1?.5*t*t*t:.5*((t-=2)*t*t+2),easeInQuart:t=>t*t*t*t,easeOutQuart:t=>-((t-=1)*t*t*t-1),easeInOutQuart:t=>(t/=.5)<1?.5*t*t*t*t:-.5*((t-=2)*t*t*t-2),easeInQuint:t=>t*t*t*t*t,easeOutQuint:t=>(t-=1)*t*t*t*t+1,easeInOutQuint:t=>(t/=.5)<1?.5*t*t*t*t*t:.5*((t-=2)*t*t*t*t+2),easeInSine:t=>1-Math.cos(t*H),easeOutSine:t=>Math.sin(t*H),easeInOutSine:t=>-.5*(Math.cos(I*t)-1),easeInExpo:t=>0===t?0:Math.pow(2,10*(t-1)),easeOutExpo:t=>1===t?1:1-Math.pow(2,-10*t),easeInOutExpo:t=>st(t)?t:t<.5?.5*Math.pow(2,10*(2*t-1)):.5*(2-Math.pow(2,-10*(2*t-1))),easeInCirc:t=>t>=1?t:-(Math.sqrt(1-t*t)-1),easeOutCirc:t=>Math.sqrt(1-(t-=1)*t),easeInOutCirc:t=>(t/=.5)<1?-.5*(Math.sqrt(1-t*t)-1):.5*(Math.sqrt(1-(t-=2)*t)+1),easeInElastic:t=>st(t)?t:rt(t,.075,.3),easeOutElastic:t=>st(t)?t:lt(t,.075,.3),easeInOutElastic(t){const e=.1125;return st(t)?t:t<.5?.5*rt(2*t,e,.45):.5+.5*lt(2*t-1,e,.45)},easeInBack(t){const e=1.70158;return t*t*((e+1)*t-e)},easeOutBack(t){const e=1.70158;return(t-=1)*t*((e+1)*t+e)+1},easeInOutBack(t){let e=1.70158;return(t/=.5)<1?t*t*((1+(e*=1.525))*t-e)*.5:.5*((t-=2)*t*((1+(e*=1.525))*t+e)+2)},easeInBounce:t=>1-ct.easeOutBounce(1-t),easeOutBounce(t){const e=7.5625,i=2.75;return t<1/i?e*t*t:t<2/i?e*(t-=1.5/i)*t+.75:t<2.5/i?e*(t-=2.25/i)*t+.9375:e*(t-=2.625/i)*t+.984375},easeInOutBounce:t=>t<.5?.5*ct.easeInBounce(2*t):.5*ct.easeOutBounce(2*t-1)+.5},dt={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,a:10,b:11,c:12,d:13,e:14,f:15},ut="0123456789ABCDEF",ht=t=>ut[15&t],ft=t=>ut[(240&t)>>4]+ut[15&t],pt=t=>(240&t)>>4==(15&t);function bt(t){return t+.5|0}const gt=(t,e,i)=>Math.max(Math.min(t,i),e);function mt(t){return gt(bt(2.55*t),0,255)}function vt(t){return gt(bt(255*t),0,255)}function xt(t){return gt(bt(t/2.55)/100,0,1)}function yt(t){return gt(bt(100*t),0,100)}const kt=/^rgba?\(\s*([-+.\d]+)(%)?[\s,]+([-+.e\d]+)(%)?[\s,]+([-+.e\d]+)(%)?(?:[\s,/]+([-+.e\d]+)(%)?)?\s*\)$/,_t=/^(hsla?|hwb|hsv)\(\s*([-+.e\d]+)(?:deg)?[\s,]+([-+.e\d]+)%[\s,]+([-+.e\d]+)%(?:[\s,]+([-+.e\d]+)(%)?)?\s*\)$/;function wt(t,e,i){const n=e*Math.min(i,1-i),a=(e,a=(e+t/30)%12)=>i-n*Math.max(Math.min(a-3,9-a,1),-1);return[a(0),a(8),a(4)]}function Mt(t,e,i){const n=(n,a=(n+t/60)%6)=>i-i*e*Math.max(Math.min(a,4-a,1),0);return[n(5),n(3),n(1)]}function St(t,e,i){const n=wt(t,1,.5);let a;for(e+i>1&&(a=1/(e+i),e*=a,i*=a),a=0;a<3;a++)n[a]*=1-e-i,n[a]+=e;return n}function Tt(t){const e=t.r/255,i=t.g/255,n=t.b/255,a=Math.max(e,i,n),o=Math.min(e,i,n),s=(a+o)/2;let r,l,c;return a!==o&&(c=a-o,l=s>.5?c/(2-a-o):c/(a+o),r=a===e?(i-n)/c+(i<n?6:0):a===i?(n-e)/c+2:(e-i)/c+4,r=60*r+.5),[0|r,l||0,s]}function At(t,e,i,n){return(Array.isArray(e)?t(e[0],e[1],e[2]):t(e,i,n)).map(vt)}function jt(t,e,i){return At(wt,t,e,i)}function Et(t){return(t%360+360)%360}const Dt={x:"dark",Z:"light",Y:"re",X:"blu",W:"gr",V:"medium",U:"slate",A:"ee",T:"ol",S:"or",B:"ra",C:"lateg",D:"ights",R:"in",Q:"turquois",E:"hi",P:"ro",O:"al",N:"le",M:"de",L:"yello",F:"en",K:"ch",G:"arks",H:"ea",I:"ightg",J:"wh"},Pt={OiceXe:"f0f8ff",antiquewEte:"faebd7",aqua:"ffff",aquamarRe:"7fffd4",azuY:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"0",blanKedOmond:"ffebcd",Xe:"ff",XeviTet:"8a2be2",bPwn:"a52a2a",burlywood:"deb887",caMtXe:"5f9ea0",KartYuse:"7fff00",K
vendor: 6,488 bytes, line 1
1ocTate:"d2691e",cSO:"ff7f50",cSnflowerXe:"6495ed",cSnsilk:"fff8dc",crimson:"dc143c",cyan:"ffff",xXe:"8b",xcyan:"8b8b",xgTMnPd:"b8860b",xWay:"a9a9a9",xgYF:"6400",xgYy:"a9a9a9",xkhaki:"bdb76b",xmagFta:"8b008b",xTivegYF:"556b2f",xSange:"ff8c00",xScEd:"9932cc",xYd:"8b0000",xsOmon:"e9967a",xsHgYF:"8fbc8f",xUXe:"483d8b",xUWay:"2f4f4f",xUgYy:"2f4f4f",xQe:"ced1",xviTet:"9400d3",dAppRk:"ff1493",dApskyXe:"bfff",dimWay:"696969",dimgYy:"696969",dodgerXe:"1e90ff",fiYbrick:"b22222",flSOwEte:"fffaf0",foYstWAn:"228b22",fuKsia:"ff00ff",gaRsbSo:"dcdcdc",ghostwEte:"f8f8ff",gTd:"ffd700",gTMnPd:"daa520",Way:"808080",gYF:"8000",gYFLw:"adff2f",gYy:"808080",honeyMw:"f0fff0",hotpRk:"ff69b4",RdianYd:"cd5c5c",Rdigo:"4b0082",ivSy:"fffff0",khaki:"f0e68c",lavFMr:"e6e6fa",lavFMrXsh:"fff0f5",lawngYF:"7cfc00",NmoncEffon:"fffacd",ZXe:"add8e6",ZcSO:"f08080",Zcyan:"e0ffff",ZgTMnPdLw:"fafad2",ZWay:"d3d3d3",ZgYF:"90ee90",ZgYy:"d3d3d3",ZpRk:"ffb6c1",ZsOmon:"ffa07a",ZsHgYF:"20b2aa",ZskyXe:"87cefa",ZUWay:"778899",ZUgYy:"778899",ZstAlXe:"b0c4de",ZLw:"ffffe0",lime:"ff00",limegYF:"32cd32",lRF:"faf0e6",magFta:"ff00ff",maPon:"800000",VaquamarRe:"66cdaa",VXe:"cd",VScEd:"ba55d3",VpurpN:"9370db",VsHgYF:"3cb371",VUXe:"7b68ee",VsprRggYF:"fa9a",VQe:"48d1cc",VviTetYd:"c71585",midnightXe:"191970",mRtcYam:"f5fffa",mistyPse:"ffe4e1",moccasR:"ffe4b5",navajowEte:"ffdead",navy:"80",Tdlace:"fdf5e6",Tive:"808000",TivedBb:"6b8e23",Sange:"ffa500",SangeYd:"ff4500",ScEd:"da70d6",pOegTMnPd:"eee8aa",pOegYF:"98fb98",pOeQe:"afeeee",pOeviTetYd:"db7093",papayawEp:"ffefd5",pHKpuff:"ffdab9",peru:"cd853f",pRk:"ffc0cb",plum:"dda0dd",powMrXe:"b0e0e6",purpN:"800080",YbeccapurpN:"663399",Yd:"ff0000",Psybrown:"bc8f8f",PyOXe:"4169e1",saddNbPwn:"8b4513",sOmon:"fa8072",sandybPwn:"f4a460",sHgYF:"2e8b57",sHshell:"fff5ee",siFna:"a0522d",silver:"c0c0c0",skyXe:"87ceeb",UXe:"6a5acd",UWay:"708090",UgYy:"708090",snow:"fffafa",sprRggYF:"ff7f",stAlXe:"4682b4",tan:"d2b48c",teO:"8080",tEstN:"d8bfd8",tomato:"ff6347",Qe:"40e0d0",viTet:"ee82ee",JHt:"f5deb3",wEte:"ffffff",wEtesmoke:"f5f5f5",Lw:"ffff00",LwgYF:"9acd32"};let Ct;function Ot(t,e,i){if(t){let n=Tt(t);n[e]=Math.max(0,Math.min(n[e]+n[e]*i,0===e?360:1)),n=jt(n),t.r=n[0],t.g=n[1],t.b=n[2]}}function Rt(t,e){return t?Object.assign(e||{},t):t}function Bt(t){var e={r:0,g:0,b:0,a:255};return Array.isArray(t)?t.length>=3&&(e={r:t[0],g:t[1],b:t[2],a:255},t.length>3&&(e.a=vt(t[3]))):(e=Rt(t,{r:0,g:0,b:0,a:1})).a=vt(e.a),e}function It(t){return"r"===t.charAt(0)?function(t){const e=kt.exec(t);let i,n,a,o=255;if(e){if(e[7]!==i){const t=+e[7];o=255&(e[8]?mt(t):255*t)}return i=+e[1],n=+e[3],a=+e[5],i=255&(e[2]?mt(i):i),n=255&(e[4]?mt(n):n),a=255&(e[6]?mt(a):a),{r:i,g:n,b:a,a:o}}}(t):function(t){const e=_t.exec(t);let i,n=255;if(!e)return;e[5]!==i&&(n=e[6]?mt(+e[5]):vt(+e[5]));const a=Et(+e[2]),o=+e[3]/100,s=+e[4]/100;return i="hwb"===e[1]?function(t,e,i){return At(St,t,e,i)}(a,o,s):"hsv"===e[1]?function(t,e,i){return At(Mt,t,e,i)}(a,o,s):jt(a,o,s),{r:i[0],g:i[1],b:i[2],a:n}}(t)}class Lt{constructor(t){if(t instanceof Lt)return t;const e=typeof t;let i;var n,a,o;"object"===e?i=Bt(t):"string"===e&&(o=(n=t).length,"#"===n[0]&&(4===o||5===o?a={r:255&17*dt[n[1]],g:255&17*dt[n[2]],b:255&17*dt[n[3]],a:5===o?17*dt[n[4]]:255}:7!==o&&9!==o||(a={r:dt[n[1]]<<4|dt[n[2]],g:dt[n[3]]<<4|dt[n[4]],b:dt[n[5]]<<4|dt[n[6]],a:9===o?dt[n[7]]<<4|dt[n[8]]:255})),i=a||function(t){Ct||(Ct=function(){const t={},e=Object.keys(Pt),i=Object.keys(Dt);let n,a,o,s,r;for(n=0;n<e.length;n++){for(s=r=e[n],a=0;a<i.length;a++)o=i[a],r=r.replace(o,Dt[o]);o=parseInt(Pt[s],16),t[r]=[o>>16&255,o>>8&255,255&o]}return t}(),Ct.transparent=[0,0,0,0]);const e=Ct[t.toLowerCase()];return e&&{r:e[0],g:e[1],b:e[2],a:4===e.length?e[3]:255}}(t)||It(t)),this._rgb=i,this._valid=!!i}get valid(){return this._valid}get rgb(){var t=Rt(this._rgb);return t&&(t.a=xt(t.a)),t}set rgb(t){this._rgb=Bt(t)}rgbString(){return this._valid?(t=this._rgb)&&(t.a<255?`rgba(${t.r}, ${t.g}, ${t.b}, ${xt(t.a)})`:`rgb(${t.r}, ${t.g}, ${t.b})`):this._rgb;var t}hexString(){return this._valid?(t=this._rgb,e=function(t){return pt(t.r)&&pt(t.g)&&pt(t.b)&&pt(t.a)}(t)?ht:ft,t?"#"+e(t.r)+e(t.g)+e(t.b)+(t.a<255?e(t.a):""):t):this._rgb;var t,e}hslString(){return this._valid?function(t){if(!t)return;const e=Tt(t),i=e[0],n=yt(e[1]),a=yt(e[2]);return t.a<255?`hsla(${i}, ${n}%, ${a}%, ${xt(t.a)})`:`hsl(${i}, ${n}%, ${a}%)`}(this._rgb):this._rgb}mix(t,e){const i=this;if(t){const n=i.rgb,a=t.rgb;let o;const s=e===o?.5:e,r=2*s-1,l=n.a-a.a,c=((r*l==-1?r:(r+l)/(1+r*l))+1)/2;o=1-c,n.r=255&c*n.r+o*a.r+.5,n.g=255&c*n.g+o*a.g+.5,n.b=255&c*n.b+o*a.b+.5,n.a=s*n.a+(1-s)*a.a,i.rgb=n}return i}clone(){return new Lt(this.rgb)}alpha(t){return this._rgb.a=vt(t),this}clearer(t){return this._rgb.a*=1-t,this}greyscale(){const t=this._rgb,e=bt(.3*t.r+.59*t.g+.11*t.b);return t.r=t.g=t.b=e,this}opaquer(t){return this._rgb.a*=1+t,this}negate(){const t=this._rgb;return t.r=255-t.r,t.g=255-t.g,t.b=255-t.b,this}lighten(t){return Ot(this._rgb,2,t),this}darken(t){return Ot(this._rgb,2,-t),this}saturate(t){return Ot(this._rgb,1,t),this}desaturate(t){return Ot(this._rgb,1,-t),this}rotate(t){return function(t,e){var i=Tt(t);i[0]=Et(i[0]+e),i=jt(i),t.r=i[0],t.g=i[1],t.b=i[2]}(this._rgb,t),this}}function Ft(t){return new Lt(t)}const Nt=t=>t instanceof CanvasGradient||t instanceof CanvasPattern;function zt(t){return Nt(t)?t:Ft(t)}function Ht(t){return Nt(t)?t:Ft(t).saturate(.5).darken(.1).hexString()}const Vt=Object.create(null),Kt=Object.create(null);function Wt(t,e){if(!e)return t;const i=e.split(".");for(let e=0,n=i.length;e<n;++e){const n=i[e];t=t[n]||(t[n]=Object.create(null))}return t}function $t(t,e,i){return"string"==typeof e?A(Wt(t,e),i):A(Wt(t,""),e)}var Ut=new class{constructor(t){this.animation=void 0,this.backgroundColor="rgba(0,0,0,0.1)",this.borderColor="rgba(0,0,0,0.1)",this.color="#666",this.datasets={},this.devicePixelRatio=t=>t.chart.platform.getDevicePixelRatio(),this.elements={},this.events=["mousemove","mouseout","click","touchstart","touchmove"],this.font={family:"'Helvetica Neue', 'Helvetica', 'Arial', sans-serif",size:12,style:"normal",lineHeight:1.2,weight:null},this.hover={},this.hoverBackgroundColor=(t,e)=>Ht(e.backgroundColor),this.hoverBorderColor=(t,e)=>Ht(e.borderColor),this.hoverColor=(t,e)=>Ht(e.color),this.indexAxis="x",this.interaction={mode:"nearest",intersect:!0},this.maintainAspectRatio=!0,this.onHover=null,this.onClick=null,this.parsing=!0,this.plugins={},this.responsive=!0,this.scale=void 0,this.scales={}
vendor: 4,672 bytes, line 1
1,this.showLine=!0,this.drawActiveElementsOnTop=!0,this.describe(t)}set(t,e){return $t(this,t,e)}get(t){return Wt(this,t)}describe(t,e){return $t(Kt,t,e)}override(t,e){return $t(Vt,t,e)}route(t,e,i,n){const a=Wt(this,t),o=Wt(this,i),s="_"+e;Object.defineProperties(a,{[s]:{value:a[e],writable:!0},[e]:{enumerable:!0,get(){const t=this[s],e=o[n];return g(t)?Object.assign({},e,t):x(t,e)},set(t){this[s]=t}}})}}({_scriptable:t=>!t.startsWith("on"),_indexable:t=>"events"!==t,hover:{_fallback:"interaction"},interaction:{_scriptable:!1,_indexable:!1}});function Yt(t,e,i,n,a){let o=e[a];return o||(o=e[a]=t.measureText(a).width,i.push(a)),o>n&&(n=o),n}function Xt(t,e,i,n){let a=(n=n||{}).data=n.data||{},o=n.garbageCollect=n.garbageCollect||[];n.font!==e&&(a=n.data={},o=n.garbageCollect=[],n.font=e),t.save(),t.font=e;let s=0;const r=i.length;let l,c,d,u,h;for(l=0;l<r;l++)if(u=i[l],null!=u&&!0!==b(u))s=Yt(t,a,o,s,u);else if(b(u))for(c=0,d=u.length;c<d;c++)h=u[c],null==h||b(h)||(s=Yt(t,a,o,s,h));t.restore();const f=o.length/2;if(f>i.length){for(l=0;l<f;l++)delete a[o[l]];o.splice(0,f)}return s}function Qt(t,e,i){const n=t.currentDevicePixelRatio,a=0!==i?Math.max(i/2,.5):0;return Math.round((e-a)*n)/n+a}function Gt(t,e){(e=e||t.getContext("2d")).save(),e.resetTransform(),e.clearRect(0,0,t.width,t.height),e.restore()}function qt(t,e,i,n){let a,o,s,r,l;const c=e.pointStyle,d=e.rotation,u=e.radius;let h=(d||0)*z;if(c&&"object"==typeof c&&(a=c.toString(),"[object HTMLImageElement]"===a||"[object HTMLCanvasElement]"===a))return t.save(),t.translate(i,n),t.rotate(h),t.drawImage(c,-c.width/2,-c.height/2,c.width,c.height),void t.restore();if(!(isNaN(u)||u<=0)){switch(t.beginPath(),c){default:t.arc(i,n,u,0,L),t.closePath();break;case"triangle":t.moveTo(i+Math.sin(h)*u,n-Math.cos(h)*u),h+=K,t.lineTo(i+Math.sin(h)*u,n-Math.cos(h)*u),h+=K,t.lineTo(i+Math.sin(h)*u,n-Math.cos(h)*u),t.closePath();break;case"rectRounded":l=.516*u,r=u-l,o=Math.cos(h+V)*r,s=Math.sin(h+V)*r,t.arc(i-o,n-s,l,h-I,h-H),t.arc(i+s,n-o,l,h-H,h),t.arc(i+o,n+s,l,h,h+H),t.arc(i-s,n+o,l,h+H,h+I),t.closePath();break;case"rect":if(!d){r=Math.SQRT1_2*u,t.rect(i-r,n-r,2*r,2*r);break}h+=V;case"rectRot":o=Math.cos(h)*u,s=Math.sin(h)*u,t.moveTo(i-o,n-s),t.lineTo(i+s,n-o),t.lineTo(i+o,n+s),t.lineTo(i-s,n+o),t.closePath();break;case"crossRot":h+=V;case"cross":o=Math.cos(h)*u,s=Math.sin(h)*u,t.moveTo(i-o,n-s),t.lineTo(i+o,n+s),t.moveTo(i+s,n-o),t.lineTo(i-s,n+o);break;case"star":o=Math.cos(h)*u,s=Math.sin(h)*u,t.moveTo(i-o,n-s),t.lineTo(i+o,n+s),t.moveTo(i+s,n-o),t.lineTo(i-s,n+o),h+=V,o=Math.cos(h)*u,s=Math.sin(h)*u,t.moveTo(i-o,n-s),t.lineTo(i+o,n+s),t.moveTo(i+s,n-o),t.lineTo(i-s,n+o);break;case"line":o=Math.cos(h)*u,s=Math.sin(h)*u,t.moveTo(i-o,n-s),t.lineTo(i+o,n+s);break;case"dash":t.moveTo(i,n),t.lineTo(i+Math.cos(h)*u,n+Math.sin(h)*u)}t.fill(),e.borderWidth>0&&t.stroke()}}function Jt(t,e,i){return i=i||.5,!e||t&&t.x>e.left-i&&t.x<e.right+i&&t.y>e.top-i&&t.y<e.bottom+i}function Zt(t,e){t.save(),t.beginPath(),t.rect(e.left,e.top,e.right-e.left,e.bottom-e.top),t.clip()}function te(t){t.restore()}function ee(t,e,i,n,a){if(!e)return t.lineTo(i.x,i.y);if("middle"===a){const n=(e.x+i.x)/2;t.lineTo(n,e.y),t.lineTo(n,i.y)}else"after"===a!=!!n?t.lineTo(e.x,i.y):t.lineTo(i.x,e.y);t.lineTo(i.x,i.y)}function ie(t,e,i,n){if(!e)return t.lineTo(i.x,i.y);t.bezierCurveTo(n?e.cp1x:e.cp2x,n?e.cp1y:e.cp2y,n?i.cp2x:i.cp1x,n?i.cp2y:i.cp1y,i.x,i.y)}function ne(t,e,i,n,a,o={}){const s=b(e)?e:[e],r=o.strokeWidth>0&&""!==o.strokeColor;let l,c;for(t.save(),t.font=a.string,function(t,e){e.translation&&t.translate(e.translation[0],e.translation[1]),p(e.rotation)||t.rotate(e.rotation),e.color&&(t.fillStyle=e.color),e.textAlign&&(t.textAlign=e.textAlign),e.textBaseline&&(t.textBaseline=e.textBaseline)}(t,o),l=0;l<s.length;++l)c=s[l],r&&(o.strokeColor&&(t.strokeStyle=o.strokeColor),p(o.strokeWidth)||(t.lineWidth=o.strokeWidth),t.strokeText(c,i,n,o.maxWidth)),t.fillText(c,i,n,o.maxWidth),ae(t,i,n,c,o),n+=a.lineHeight;t.restore()}function ae(t,e,i,n,a){if(a.strikethrough||a.underline){const o=t.measureText(n),s=e-o.actualBoundingBoxLeft,r=e+o.actualBoundingBoxRight,l=i-o.actualBoundingBoxAscent,c=i+o.actualBoundingBoxDescent,d=a.strikethrough?(l+c)/2:c;t.strokeStyle=t.fillStyle,t.beginPath(),t.lineWidth=a.decorationWidth||2,t.moveTo(s,d),t.lineTo(r,d),t.stroke()}}function oe(t,e){const{x:i,y:n,w:a,h:o,radius:s}=e;t.arc(i+s.topLeft,n+s.topLeft,s.topLeft,-H,I,!0),t.lineTo(i,n+o-s.bottomLeft),t.arc(i+s.bottomLeft,n+o-s.bottomLeft,s.bottomLeft,I,H,!0),t.lineTo(i+a-s.bottomRight,n+o),t.arc(i+a-s.bottomRight,n+o-s.bottomRight,s.bottomRight,H,0,!0),t.lineTo(i+a,n+s.topRight),t.arc(i+a-s.top
1Right,n+s.topRight,s.topRight,0,-H,!0),t.lineTo(i+s.topLeft,n)}const se=new RegExp(/^(normal|(\d+(?:\.\d+)?)(px|em|%)?)$/),re=new RegExp(/^(normal|italic|initial|inherit|unset|(oblique( -?[0-9]?[0-9]deg)?))$/);function le(t,e){const i=(""+t).match(se);if(!i||"normal"===i[1])return 1.2*e;switch(t=+i[2],i[3]){case"px":return t;case"%":t/=100}return e*t}function ce(t,e){const i={},n=g(e),a=n?Object.keys(e):e,o=g(t)?n?i=>x(t[i],t[e[i]]):e=>t[e]:()=>t;for(const t of a)i[t]=+o(t)||0;return i}function de(t){return ce(t,{top:"y",right:"x",bottom:"y",left:"x"})}function ue(t){return ce(t,["topLeft","topRight","bottomLeft","bottomRight"])}function he(t){const e=de(t);return e.width=e.left+e.right,e.height=e.top+e.bottom,e}function fe(t,e){t=t||{},e=e||Ut.font;let i=x(t.size,e.size);"string"==typeof i&&(i=parseInt(i,10));let n=x(t.style,e.style);n&&!(""+n).match(re)&&(console.warn('Invalid font style specified: "'+n+'"'),n="");const a={family:x(t.family,e.family),lineHeight:le(x(t.lineHeight,e.lineHeight),i),size:i,style:n,weight:x(t.weight,e.weight),string:""};return a.string=function(t){return!t||p(t.size)||p(t.family)?null:(t.style?t.style+" ":"")+(t.weight?t.weight+" ":"")+t.size+"px "+t.family}(a),a}function pe(t,e,i,n){let a,o,s,r=!0;for(a=0,o=t.length;a<o;++a)if(s=t[a],void 0!==s&&(void 0!==e&&"function"==typeof s&&(s=s(e),r=!1),void 0!==i&&b(s)&&(s=s[i%s.length],r=!1),void 0!==s))return n&&!r&&(n.cacheable=!1),s}function be(t,e){return Object.assign(Object.create(t),e)}function ge(t,e,i){i=i||(i=>t[i]<e);let n,a=t.length-1,o=0;for(;a-o>1;)n=o+a>>1,i(n)?o=n:a=n;return{lo:o,hi:a}}const me=(t,e,i)=>ge(t,i,(n=>t[n][e]<i)),ve=(t,e,i)=>ge(t,i,(n=>t[n][e]>=i)),xe=["push","pop","shift","splice","unshift"];function ye(t,e){const i=t._chartjs;if(!i)return;const n=i.listeners,a=n.indexOf(e);-1!==a&&n.splice(a,1),n.length>0||(xe.forEach((e=>{delete t[e]})),delete t._chartjs)}function ke(t){const e=new Set;let i,n;for(i=0,n=t.length;i<n;++i)e.add(t[i]);return e.size===n?t:Array.from(e)}function _e(t,e=[""],i=t,n,a=(()=>t[0])){O(n)||(n=Oe("_fallback",t));const o={[Symbol.toStringTag]:"Object",_cacheable:!0,_scopes:t,_rootScopes:i,_fallback:n,_getTarget:a,override:a=>_e([a,...t],e,i,n)};return new Proxy(o,{deleteProperty:(e,i)=>(delete e[i],delete e._keys,delete t[0][i],!0),get:(i,n)=>Ae(i,n,(()=>function(t,e,i,n){let a;for(const o of e)if(a=Oe(Se(o,t),i),O(a))return Te(t,a)?Pe(i,n,t,a):a}(n,e,t,i))),getOwnPropertyDescriptor:(t,e)=>Reflect.getOwnPropertyDescriptor(t._scopes[0],e),getPrototypeOf:()=>Reflect.getPrototypeOf(t[0]),has:(t,e)=>Re(t).includes(e),ownKeys:t=>Re(t),set(t,e,i){const n=t._storage||(t._storage=a());return t[e]=n[e]=i,delete t._keys,!0}})}function we(t,e,i,n){const a={_cacheable:!1,_proxy:t,_context:e,_subProxy:i,_stack:new Set,_descriptors:Me(t,n),setContext:e=>we(t,e,i,n),override:a=>we(t.override(a),e,i,n)};return new Proxy(a,{deleteProperty:(e,i)=>(delete e[i],delete t[i],!0),get:(t,e,i)=>Ae(t,e,(()=>function(t,e,i){const{_proxy:n,_context:a,_subProxy:o,_descriptors:s}=t;let r=n[e];return R(r)&&s.isScriptable(e)&&(r=function(t,e,i,n){const{_proxy:a,_context:o,_subProxy:s,_stack:r}=i;if(r.has(t))throw new Error("Recursion detected: "+Array.from(r).join("->")+"->"+t);return r.add(t),e=e(o,s||n),r.delete(t),Te(t,e)&&(e=Pe(a._scopes,a,t,e)),e}(e,r,t,i)),b(r)&&r.length&&(r=function(t,e,i,n){const{_proxy:a,_context:o,_subProxy:s,_descriptors:r}=i;if(O(o.index)&&n(t))e=e[o.index%e.length];else if(g(e[0])){const i=e,n=a._scopes.filter((t=>t!==i));e=[];for(const l of i){const i=Pe(n,a,t,l);e.push(we(i,o,s&&s[t],r))}}return e}(e,r,t,s.isIndexable)),Te(e,r)&&(r=we(r,a,o&&o[e],s)),r}(t,e,i))),getOwnPropertyDescriptor:(e,i)=>e._descriptors.allKeys?Reflect.has(t,i)?{enumerable:!0,configurable:!0}:void 0:Reflect.getOwnPropertyDescriptor(t,i),getPrototypeOf:()=>Reflect.getPrototypeOf(t),has:(e,i)=>Reflect.has(t,i),ownKeys:()=>Reflect.ownKeys(t),set:(e,i,n)=>(t[i]=n,delete e[i],!0)})}function Me(t,e={scriptable:!0,indexable:!0}){const{_scriptable:i=e.scriptable,_indexable:n=e.indexable,_allKeys:a=e.allKeys}=t;return{allKeys:a,scriptable:i,indexable:n,isScriptable:R(i)?i:()=>i,isIndexable:R(n)?n:()=>n}}const Se=(t,e)=>t?t+C(e):e,Te=(t,e)=>g(e)&&"adapters"!==t&&(null===Object.getPrototypeOf(e)||e.constructor===Object);function Ae(t,e,i){if(Object.prototype.hasOwnProperty.call(t,e))return t[e];const n=i();return t[e]=n,n}function je(t,e,i){return R(t)?t(e,i):t}const Ee=(t,e)=>!0===t?e:"string"==typeof t?P(e,t):void 0;function De(t,e,i,n,a){for(const o of e){const e=Ee(i,o);if(e){t.add(e);const o=je(e._fallback,i,a);if(O(o)&&o!==i&&o!==n)return o}else if(!1===e&&O(n)&&i!==n)return null}return!1}function Pe(t,e,i,n){const a=e._rootScopes,o=je(e._fallback,i,n),s=[...t,...a],r=new Set;r.add(n);let l=Ce(r,s,i,o||i,n);return null!==l&&(!O(o)||o===i||(l=Ce(r,s,o,l,n),null!==l))&&_e(Array.from(r),[""],a,o,(()=>
vendor: 4,071 bytes, line 1
1function(t,e,i){const n=t._getTarget();e in n||(n[e]={});const a=n[e];return b(a)&&g(i)?i:a}(e,i,n)))}function Ce(t,e,i,n,a){for(;i;)i=De(t,e,i,n,a);return i}function Oe(t,e){for(const i of e){if(!i)continue;const e=i[t];if(O(e))return e}}function Re(t){let e=t._keys;return e||(e=t._keys=function(t){const e=new Set;for(const i of t)for(const t of Object.keys(i).filter((t=>!t.startsWith("_"))))e.add(t);return Array.from(e)}(t._scopes)),e}const Be=Number.EPSILON||1e-14,Ie=(t,e)=>e<t.length&&!t[e].skip&&t[e],Le=t=>"x"===t?"y":"x";function Fe(t,e,i,n){const a=t.skip?e:t,o=e,s=i.skip?e:i,r=tt(o,a),l=tt(s,o);let c=r/(r+l),d=l/(r+l);c=isNaN(c)?0:c,d=isNaN(d)?0:d;const u=n*c,h=n*d;return{previous:{x:o.x-u*(s.x-a.x),y:o.y-u*(s.y-a.y)},next:{x:o.x+h*(s.x-a.x),y:o.y+h*(s.y-a.y)}}}function Ne(t,e,i){return Math.max(Math.min(t,i),e)}function ze(t,e,i,n,a){let o,s,r,l;if(e.spanGaps&&(t=t.filter((t=>!t.skip))),"monotone"===e.cubicInterpolationMode)!function(t,e="x"){const i=Le(e),n=t.length,a=Array(n).fill(0),o=Array(n);let s,r,l,c=Ie(t,0);for(s=0;s<n;++s)if(r=l,l=c,c=Ie(t,s+1),l){if(c){const t=c[e]-l[e];a[s]=0!==t?(c[i]-l[i])/t:0}o[s]=r?c?$(a[s-1])!==$(a[s])?0:(a[s-1]+a[s])/2:a[s-1]:a[s]}!function(t,e,i){const n=t.length;let a,o,s,r,l,c=Ie(t,0);for(let d=0;d<n-1;++d)l=c,c=Ie(t,d+1),l&&c&&(X(e[d],0,Be)?i[d]=i[d+1]=0:(a=i[d]/e[d],o=i[d+1]/e[d],r=Math.pow(a,2)+Math.pow(o,2),r<=9||(s=3/Math.sqrt(r),i[d]=a*s*e[d],i[d+1]=o*s*e[d])))}(t,a,o),function(t,e,i="x"){const n=Le(i),a=t.length;let o,s,r,l=Ie(t,0);for(let c=0;c<a;++c){if(s=r,r=l,l=Ie(t,c+1),!r)continue;const a=r[i],d=r[n];s&&(o=(a-s[i])/3,r[`cp1${i}`]=a-o,r[`cp1${n}`]=d-o*e[c]),l&&(o=(l[i]-a)/3,r[`cp2${i}`]=a+o,r[`cp2${n}`]=d+o*e[c])}}(t,o,e)}(t,a);else{let i=n?t[t.length-1]:t[0];for(o=0,s=t.length;o<s;++o)r=t[o],l=Fe(i,r,t[Math.min(o+1,s-(n?0:1))%s],e.tension),r.cp1x=l.previous.x,r.cp1y=l.previous.y,r.cp2x=l.next.x,r.cp2y=l.next.y,i=r}e.capBezierPoints&&function(t,e){let i,n,a,o,s,r=Jt(t[0],e);for(i=0,n=t.length;i<n;++i)s=o,o=r,r=i<n-1&&Jt(t[i+1],e),o&&(a=t[i],s&&(a.cp1x=Ne(a.cp1x,e.left,e.right),a.cp1y=Ne(a.cp1y,e.top,e.bottom)),r&&(a.cp2x=Ne(a.cp2x,e.left,e.right),a.cp2y=Ne(a.cp2y,e.top,e.bottom)))}(t,i)}function He(){return"undefined"!=typeof window&&"undefined"!=typeof document}function Ve(t){let e=t.parentNode;return e&&"[object ShadowRoot]"===e.toString()&&(e=e.host),e}function Ke(t,e,i){let n;return"string"==typeof t?(n=parseInt(t,10),-1!==t.indexOf("%")&&(n=n/100*e.parentNode[i])):n=t,n}const We=t=>window.getComputedStyle(t,null),$e=["top","right","bottom","left"];function Ue(t,e,i){const n={};i=i?"-"+i:"";for(let a=0;a<4;a++){const o=$e[a];n[o]=parseFloat(t[e+"-"+o+i])||0}return n.width=n.left+n.right,n.height=n.top+n.bottom,n}function Ye(t,e){const{canvas:i,currentDevicePixelRatio:n}=e,a=We(i),o="border-box"===a.boxSizing,s=Ue(a,"padding"),r=Ue(a,"border","width"),{x:l,y:c,box:d}=function(t,e){const i=t.native||t,n=i.touches,a=n&&n.length?n[0]:i,{offsetX:o,offsetY:s}=a;let r,l,c=!1;if(((t,e,i)=>(t>0||e>0)&&(!i||!i.shadowRoot))(o,s,i.target))r=o,l=s;else{const t=e.getBoundingClientRect();r=a.clientX-t.left,l=a.clientY-t.top,c=!0}return{x:r,y:l,box:c}}(t,i),u=s.left+(d&&r.left),h=s.top+(d&&r.top);let{width:f,height:p}=e;return o&&(f-=s.width+r.width,p-=s.height+r.height),{x:Math.round((l-u)/f*i.width/n),y:Math.round((c-h)/p*i.height/n)}}const Xe=t=>Math.round(10*t)/10;function Qe(t,e,i){const n=e||1,a=Math.floor(t.height*n),o=Math.floor(t.width*n);t.height=a/n,t.width=o/n;const s=t.canvas;return s.style&&(i||!s.style.height&&!s.style.width)&&(s.style.height=`${t.height}px`,s.style.width=`${t.width}px`),(t.currentDevicePixelRatio!==n||s.height!==a||s.width!==o)&&(t.currentDevicePixelRatio=n,s.height=a,s.width=o,t.ctx.setTransform(n,0,0,n,0,0),!0)}const Ge=function(){let t=!1;try{const e={get passive(){return t=!0,!1}};window.addEventListener("test",null,e),window.removeEventListener("test",null,e)}catch(t){}return t}();function qe(t,e){const i=function(t,e){return We(t).getPropertyValue(e)}(t,e),n=i&&i.match(/^(\d+)(\.\d+)?px$/);return n?+n[1]:void 0}
vendor: 6,544 bytes, line 1
1function Je(t,e,i,n){return{x:t.x+i*(e.x-t.x),y:t.y+i*(e.y-t.y)}}function Ze(t,e,i,n){return{x:t.x+i*(e.x-t.x),y:"middle"===n?i<.5?t.y:e.y:"after"===n?i<1?t.y:e.y:i>0?e.y:t.y}}function ti(t,e,i,n){const a={x:t.cp2x,y:t.cp2y},o={x:e.cp1x,y:e.cp1y},s=Je(t,a,i),r=Je(a,o,i),l=Je(o,e,i),c=Je(s,r,i),d=Je(r,l,i);return Je(c,d,i)}const ei=new Map;function ii(t,e,i){return function(t,e){e=e||{};const i=t+JSON.stringify(e);let n=ei.get(i);return n||(n=new Intl.NumberFormat(t,e),ei.set(i,n)),n}(e,i).format(t)}function ni(t,e,i){return t?function(t,e){return{x:i=>t+t+e-i,setWidth(t){e=t},textAlign:t=>"center"===t?t:"right"===t?"left":"right",xPlus:(t,e)=>t-e,leftForLtr:(t,e)=>t-e}}(e,i):{x:t=>t,setWidth(t){},textAlign:t=>t,xPlus:(t,e)=>t+e,leftForLtr:(t,e)=>t}}function ai(t,e){let i,n;"ltr"!==e&&"rtl"!==e||(i=t.canvas.style,n=[i.getPropertyValue("direction"),i.getPropertyPriority("direction")],i.setProperty("direction",e,"important"),t.prevTextDirection=n)}function oi(t,e){void 0!==e&&(delete t.prevTextDirection,t.canvas.style.setProperty("direction",e[0],e[1]))}function si(t){return"angle"===t?{between:nt,compare:et,normalize:it}:{between:ot,compare:(t,e)=>t-e,normalize:t=>t}}function ri({start:t,end:e,count:i,loop:n,style:a}){return{start:t%i,end:e%i,loop:n&&(e-t+1)%i==0,style:a}}function li(t,e,i){if(!i)return[t];const{property:n,start:a,end:o}=i,s=e.length,{compare:r,between:l,normalize:c}=si(n),{start:d,end:u,loop:h,style:f}=function(t,e,i){const{property:n,start:a,end:o}=i,{between:s,normalize:r}=si(n),l=e.length;let c,d,{start:u,end:h,loop:f}=t;if(f){for(u+=l,h+=l,c=0,d=l;c<d&&s(r(e[u%l][n]),a,o);++c)u--,h--;u%=l,h%=l}return h<u&&(h+=l),{start:u,end:h,loop:f,style:t.style}}(t,e,i),p=[];let b,g,m,v=!1,x=null;for(let t=d,i=d;t<=u;++t)g=e[t%s],g.skip||(b=c(g[n]),b!==m&&(v=l(b,a,o),null===x&&(v||l(a,m,b)&&0!==r(a,m))&&(x=0===r(b,a)?t:i),null!==x&&(!v||0===r(o,b)||l(o,m,b))&&(p.push(ri({start:x,end:t,loop:h,count:s,style:f})),x=null),i=t,m=b));return null!==x&&p.push(ri({start:x,end:u,loop:h,count:s,style:f})),p}function ci(t,e){const i=[],n=t.segments;for(let a=0;a<n.length;a++){const o=li(n[a],t.points,e);o.length&&i.push(...o)}return i}function di(t){return{backgroundColor:t.backgroundColor,borderCapStyle:t.borderCapStyle,borderDash:t.borderDash,borderDashOffset:t.borderDashOffset,borderJoinStyle:t.borderJoinStyle,borderWidth:t.borderWidth,borderColor:t.borderColor}}function ui(t,e){return e&&JSON.stringify(t)!==JSON.stringify(e)}var hi=new class{constructor(){this._request=null,this._charts=new Map,this._running=!1,this._lastDate=void 0}_notify(t,e,i,n){const a=e.listeners[n],o=e.duration;a.forEach((n=>n({chart:t,initial:e.initial,numSteps:o,currentStep:Math.min(i-e.start,o)})))}_refresh(){this._request||(this._running=!0,this._request=l.call(window,(()=>{this._update(),this._request=null,this._running&&this._refresh()})))}_update(t=Date.now()){let e=0;this._charts.forEach(((i,n)=>{if(!i.running||!i.items.length)return;const a=i.items;let o,s=a.length-1,r=!1;for(;s>=0;--s)o=a[s],o._active?(o._total>i.duration&&(i.duration=o._total),o.tick(t),r=!0):(a[s]=a[a.length-1],a.pop());r&&(n.draw(),this._notify(n,i,t,"progress")),a.length||(i.running=!1,this._notify(n,i,t,"complete"),i.initial=!1),e+=a.length})),this._lastDate=t,0===e&&(this._running=!1)}_getAnims(t){const e=this._charts;let i=e.get(t);return i||(i={running:!1,initial:!0,items:[],listeners:{complete:[],progress:[]}},e.set(t,i)),i}listen(t,e,i){this._getAnims(t).listeners[e].push(i)}add(t,e){e&&e.length&&this._getAnims(t).items.push(...e)}has(t){return this._getAnims(t).items.length>0}start(t){const e=this._charts.get(t);e&&(e.running=!0,e.start=Date.now(),e.duration=e.items.reduce(((t,e)=>Math.max(t,e._duration)),0),this._refresh())}running(t){if(!this._running)return!1;const e=this._charts.get(t);return!!(e&&e.running&&e.items.length)}stop(t){const e=this._charts.get(t);if(!e||!e.items.length)return;const i=e.items;let n=i.length-1;for(;n>=0;--n)i[n].cancel();e.items=[],this._notify(t,e,Date.now(),"complete")}remove(t){return this._charts.delete(t)}};const fi="transparent",pi={boolean:(t,e,i)=>i>.5?e:t,color(t,e,i){const n=zt(t||fi),a=n.valid&&zt(e||fi);return a&&a.valid?a.mix(n,i).hexString():e},number:(t,e,i)=>t+(e-t)*i};class bi{constructor(t,e,i,n){const a=e[i];n=pe([t.to,n,a,t.from]);const o=pe([t.from,a,n]);this._active=!0,this._fn=t.fn||pi[t.type||typeof o],this._easing=ct[t.easing]||ct.linear,this._start=Math.floor(Date.now()+(t.delay||0)),this._duration=this._total=Math.floor(t.duration),this._loop=!!t.loop,this._target=e,this._prop=i,this._from=o,this._to=n,this._promises=void 0}active(){return this._active}update(t,e,i){if(this._active){this._notify(!1);const n=this._target[this._prop],a=i-this._start,o=this._duration-a;this._start=i,this._duration=Math.floor(Math.max(o,t.duration)),this._total+=a,this._loop=!!t.loop,this._to=pe([t.to,e,n,t.from]),this._from=pe([t.from,n,e])}}cancel(){this._active&&(this.tick(Date.now()),this._active=!1,this._notify(!1))}tick(t){const e=t-this._start,i=this._duration,n=this._prop,a=this._from,o=this._loop,s=this._to;let r;if(this._active=a!==s&&(o||e<i),!this._active)return this._target[n]=s,void this._notify(!0);e<0?this._target[n]=a:(r=e/i%2,r=o&&r>1?2-r:r,r=this._easing(Math.min(1,Math.max(0,r))),this._target[n]=this._fn(a,s,r))}wait(){const t=this._promises||(this._promises=[]);return new Promise(((e,i)=>{t.push({res:e,rej:i})}))}_notify(t){const e=t?"res":"rej",i=this._promises||[];for(let t=0;t<i.length;t++)i[t][e]()}}Ut.set("animation",{delay:void 0,duration:1e3,easing:"easeOutQuart",fn:void 0,from:void 0,loop:void 0,to:void 0,type:void 0});const gi=Object.keys(Ut.animation);Ut.describe("animation",{_fallback:!1,_indexable:!1,_scriptable:t=>"onProgress"!==t&&"onComplete"!==t&&"fn"!==t}),Ut.set("animations",{colors:{type:"color",properties:["color","borderColor","backgroundColor"]},numbers:{type:"number",properties:["x","y","borderWidth","radius","tension"]}}),Ut.describe("animations",{_fallback:"animation"}),Ut.set("transitions",{active:{animation:{duration:400}},resize:{animation:{duration:0}},show:{animations:{colors:{from:"transparent"},visible:{type:"boolean",duration:0}}},hide:{animations:{colors:{to:"transparent"},visible:{type:"boolean",easing:"linear",fn:t=>0|t}}}});class mi{constructor(t,e){this._chart=t,this._properties=new Map,this.configure(e)}configure(t){if(!g(t))return;const e=this._properties;Object.getOwnPropertyNames(t).forEach((i=>{const n=t[i];if(!g(n))return;const a={};for(const t of gi)a[t]=n[t];
vendor: 8,770 bytes, line 1
1(b(n.properties)&&n.properties||[i]).forEach((t=>{t!==i&&e.has(t)||e.set(t,a)}))}))}_animateOptions(t,e){const i=e.options,n=function(t,e){if(!e)return;let i=t.options;if(i)return i.$shared&&(t.options=i=Object.assign({},i,{$shared:!1,$animations:{}})),i;t.options=e}(t,i);if(!n)return[];const a=this._createAnimations(n,i);return i.$shared&&function(t,e){const i=[],n=Object.keys(e);for(let e=0;e<n.length;e++){const a=t[n[e]];a&&a.active()&&i.push(a.wait())}return Promise.all(i)}(t.options.$animations,i).then((()=>{t.options=i}),(()=>{})),a}_createAnimations(t,e){const i=this._properties,n=[],a=t.$animations||(t.$animations={}),o=Object.keys(e),s=Date.now();let r;for(r=o.length-1;r>=0;--r){const l=o[r];if("$"===l.charAt(0))continue;if("options"===l){n.push(...this._animateOptions(t,e));continue}const c=e[l];let d=a[l];const u=i.get(l);if(d){if(u&&d.active()){d.update(u,c,s);continue}d.cancel()}u&&u.duration?(a[l]=d=new bi(u,t,l,c),n.push(d)):t[l]=c}return n}update(t,e){if(0===this._properties.size)return void Object.assign(t,e);const i=this._createAnimations(t,e);return i.length?(hi.add(this._chart,i),!0):void 0}}function vi(t,e){const i=t&&t.options||{},n=i.reverse,a=void 0===i.min?e:0,o=void 0===i.max?e:0;return{start:n?o:a,end:n?a:o}}function xi(t,e){const i=[],n=t._getSortedDatasetMetas(e);let a,o;for(a=0,o=n.length;a<o;++a)i.push(n[a].index);return i}function yi(t,e,i,n={}){const a=t.keys,o="single"===n.mode;let s,r,l,c;if(null!==e){for(s=0,r=a.length;s<r;++s){if(l=+a[s],l===i){if(n.all)continue;break}c=t.values[l],m(c)&&(o||0===e||$(e)===$(c))&&(e+=c)}return e}}function ki(t,e){const i=t&&t.options.stacked;return i||void 0===i&&void 0!==e.stack}function _i(t,e,i){const n=t[e]||(t[e]={});return n[i]||(n[i]={})}function wi(t,e,i,n){for(const a of e.getMatchingVisibleMetas(n).reverse()){const e=t[a.index];if(i&&e>0||!i&&e<0)return a.index}return null}function Mi(t,e){const{chart:i,_cachedMeta:n}=t,a=i._stacks||(i._stacks={}),{iScale:o,vScale:s,index:r}=n,l=o.axis,c=s.axis,d=function(t,e,i){return`${t.id}.${e.id}.${i.stack||i.type}`}(o,s,n),u=e.length;let h;for(let t=0;t<u;++t){const i=e[t],{[l]:o,[c]:u}=i;h=(i._stacks||(i._stacks={}))[c]=_i(a,d,o),h[r]=u,h._top=wi(h,s,!0,n.type),h._bottom=wi(h,s,!1,n.type)}}function Si(t,e){const i=t.scales;return Object.keys(i).filter((t=>i[t].axis===e)).shift()}function Ti(t,e){const i=t.controller.index,n=t.vScale&&t.vScale.axis;if(n){e=e||t._parsed;for(const t of e){const e=t._stacks;if(!e||void 0===e[n]||void 0===e[n][i])return;delete e[n][i]}}}const Ai=t=>"reset"===t||"none"===t,ji=(t,e)=>e?t:Object.assign({},t);class Ei{constructor(t,e){this.chart=t,this._ctx=t.ctx,this.index=e,this._cachedDataOpts={},this._cachedMeta=this.getMeta(),this._type=this._cachedMeta.type,this.options=void 0,this._parsing=!1,this._data=void 0,this._objectData=void 0,this._sharedOptions=void 0,this._drawStart=void 0,this._drawCount=void 0,this.enableOptionSharing=!1,this.$context=void 0,this._syncList=[],this.initialize()}initialize(){const t=this._cachedMeta;this.configure(),this.linkScales(),t._stacked=ki(t.vScale,t),this.addElements()}updateIndex(t){this.index!==t&&Ti(this._cachedMeta),this.index=t}linkScales(){const t=this.chart,e=this._cachedMeta,i=this.getDataset(),n=(t,e,i,n)=>"x"===t?e:"r"===t?n:i,a=e.xAxisID=x(i.xAxisID,Si(t,"x")),o=e.yAxisID=x(i.yAxisID,Si(t,"y")),s=e.rAxisID=x(i.rAxisID,Si(t,"r")),r=e.indexAxis,l=e.iAxisID=n(r,a,o,s),c=e.vAxisID=n(r,o,a,s);e.xScale=this.getScaleForId(a),e.yScale=this.getScaleForId(o),e.rScale=this.getScaleForId(s),e.iScale=this.getScaleForId(l),e.vScale=this.getScaleForId(c)}getDataset(){return this.chart.data.datasets[this.index]}getMeta(){return this.chart.getDatasetMeta(this.index)}getScaleForId(t){return this.chart.scales[t]}_getOtherScale(t){const e=this._cachedMeta;return t===e.iScale?e.vScale:e.iScale}reset(){this._update("reset")}_destroy(){const t=this._cachedMeta;this._data&&ye(this._data,this),t._stacked&&Ti(t)}_dataCheck(){const t=this.getDataset(),e=t.data||(t.data=[]),i=this._data;if(g(e))this._data=function(t){const e=Object.keys(t),i=new Array(e.length);let n,a,o;for(n=0,a=e.length;n<a;++n)o=e[n],i[n]={x:o,y:t[o]};return i}(e);else if(i!==e){if(i){ye(i,this);const t=this._cachedMeta;Ti(t),t._parsed=[]}e&&Object.isExtensible(e)&&(this,(n=e)._chartjs?n._chartjs.listeners.push(this):(Object.defineProperty(n,"_chartjs",{configurable:!0,enumerable:!1,value:{listeners:[this]}}),xe.forEach((t=>{const e="_onData"+C(t),i=n[t];Object.defineProperty(n,t,{configurable:!0,enumerable:!1,value(...t){const a=i.apply(this,t);return n._chartjs.listeners.forEach((i=>{"function"==typeof i[e]&&i[e](...t)})),a}})})))),this._syncList=[],this._data=e}var n}addElements(){const t=this._cachedMeta;this._dataCheck(),this.datasetElementType&&(t.dataset=new this.datasetElementType)}buildOrUpdateElements(t){const e=this._cachedMeta,i=this.getDataset();let n=!1;this._dataCheck();const a=e._stacked;e._stacked=ki(e.vScale,e),e.stack!==i.stack&&(n=!0,Ti(e),e.stack=i.stack),this._resyncElements(t),(n||a!==e._stacked)&&Mi(this,e._parsed)}configure(){const t=this.chart.config,e=t.datasetScopeKeys(this._type),i=t.getOptionScopes(this.getDataset(),e,!0);this.options=t.createResolver(i,this.getContext()),this._parsing=this.options.parsing,this._cachedDataOpts={}}parse(t,e){const{_cachedMeta:i,_data:n}=this,{iScale:a,_stacked:o}=i,s=a.axis;let r,l,c,d=0===t&&e===n.length||i._sorted,u=t>0&&i._parsed[t-1];if(!1===this._parsing)i._parsed=n,i._sorted=!0,c=n;else{c=b(n[t])?this.parseArrayData(i,n,t,e):g(n[t])?this.parseObjectData(i,n,t,e):this.parsePrimitiveData(i,n,t,e);const a=()=>null===l[s]||u&&l[s]<u[s];for(r=0;r<e;++r)i._parsed[r+t]=l=c[r],d&&(a()&&(d=!1),u=l);i._sorted=d}o&&Mi(this,c)}parsePrimitiveData(t,e,i,n){const{iScale:a,vScale:o}=t,s=a.axis,r=o.axis,l=a.getLabels(),c=a===o,d=new Array(n);let u,h,f;for(u=0,h=n;u<h;++u)f=u+i,d[u]={[s]:c||a.parse(l[f],f),[r]:o.parse(e[f],f)};return d}parseArrayData(t,e,i,n){const{xScale:a,yScale:o}=t,s=new Array(n);let r,l,c,d;for(r=0,l=n;r<l;++r)c=r+i,d=e[c],s[r]={x:a.parse(d[0],c),y:o.parse(d[1],c)};return s}parseObjectData(t,e,i,n){const{xScale:a,yScale:o}=t,{xAxisKey:s="x",yAxisKey:r="y"}=this._parsing,l=new Array(n);let c,d,u,h;for(c=0,d=n;c<d;++c)u=c+i,h=e[u],l[c]={x:a.parse(P(h,s),u),y:o.parse(P(h,r),u)};return l}getParsed(t){return this._cachedMeta._parsed[t]}getDataElement(t){return this._cachedMeta.data[t]}applyStack(t,e,i){const n=this.chart,a=this._cachedMeta,o=e[t.axis];return yi({keys:xi(n,!0),values:e._stacks[t.axis]},o,a.index,{mode:i})}updateRangeFromParsed(t,e,i,n){const a=i[e.axis];let o=null===a?NaN:a;const s=n&&i._stacks[e.axis];n&&s&&(n.values=s,o=yi(n,a,this._cachedMeta.index)),t.min=Math.min(t.min,o),t.max=Math.max(t.max,o)}getMinMax(t,e){const i=this._cachedMeta,n=i._parsed,a=i._sorted&&t===i.iScale,o=n.length,s=this._getOtherScale(t),r=((t,e,i)=>t&&!e.hidden&&e._stacked&&{keys:xi(i,!0),values:null})(e,i,this.chart),l={min:Number.POSITIVE_INFINITY,max:Number.NEGATIVE_INFINITY},{min:c,max:d}=function(t){const{min:e,max:i,minDefined:n,maxDefined:a}=t.getUserBounds();return{min:n?e:Number.NEGATIVE_INFINITY,max:a?i:Number.POSITIVE_INFINITY}}(s);let u,h;function f(){h=n[u];const e=h[s.axis];return!m(h[t.axis])||c>e||d<e}for(u=0;u<o&&(f()||(this.updateRangeFromParsed(l,t,h,r),!a));++u);if(a)for(u=o-1;u>=0;--u)if(!f()){this.updateRangeFromParsed(l,t,h,r);break}return l}getAllParsedValues(t){const e=this._cachedMeta._parsed,i=[];let n,a,o;for(n=0,a=e.length;n<a;++n)o=e[n][t.axis],m(o)&&i.push(o);return i}getMaxOverflow(){return!1}getLabelAndValue(t){const e=this._cachedMeta,i=e.iScale,n=e.vScale,a=this.getParsed(t);return{label:i?""+i.getLabelForValue(a[i.axis]):"",value:n?""+n.getLabelForValue(a[n.axis]):""}}_update(t){const e=this._cachedMeta;this.update(t||"default"),e._clip=function(t){let e,i,n,a;return g(t)?(e=t.top,i=t.right,n=t.bottom,a=t.left):e=i=n=a=t,{top:e,right:i,bottom:n,left:a,disabled:!1===t}}(x(this.options.clip,function(t,e,i){if(!1===i)return!1;const n=vi(t,i),a=vi(e,i);return{top:a.end,right:n.end,bottom:a.start,left:n.start}}(e.xScale,e.yScale,this.getMaxOverflow())))}update(t){}draw(){const t=this._ctx,e=this.chart,i=this._cachedMeta,n=i.data||[],a=e.chartArea,o=[],s=this._drawStart||0,r=this._drawCount||n.length-s,l=this.options.drawActiveElementsOnTop;let c;for(i.dataset&&i.dataset.draw(t,a,s,r),c=s;c<s+r;++c){const e=n[c];e.hidden||(e.active&&l?o.push(e):e.draw(t,a))}for(c=0;c<o.length;++c)o[c].draw(t,a)}getStyle(t,e){const i=e?"active":"default";return void 0===t&&this._cachedMeta.dataset?this.resolveDatasetElementOptions(i):this.resolveDataElementOptions(t||0,i)}getContext(t,e,i){const n=this.getDataset();let a;if(t>=0&&t<this._cachedMeta.data.length){const e=this._cachedMeta.data[t];
vendor: 4,061 bytes, line 1
1a=e.$context||(e.$context=function(t,e,i){return be(t,{active:!1,dataIndex:e,parsed:void 0,raw:void 0,element:i,index:e,mode:"default",type:"data"})}(this.getContext(),t,e)),a.parsed=this.getParsed(t),a.raw=n.data[t],a.index=a.dataIndex=t}else a=this.$context||(this.$context=function(t,e){return be(t,{active:!1,dataset:void 0,datasetIndex:e,index:e,mode:"default",type:"dataset"})}(this.chart.getContext(),this.index)),a.dataset=n,a.index=a.datasetIndex=this.index;return a.active=!!e,a.mode=i,a}resolveDatasetElementOptions(t){return this._resolveElementOptions(this.datasetElementType.id,t)}resolveDataElementOptions(t,e){return this._resolveElementOptions(this.dataElementType.id,e,t)}_resolveElementOptions(t,e="default",i){const n="active"===e,a=this._cachedDataOpts,o=t+"-"+e,s=a[o],r=this.enableOptionSharing&&O(i);if(s)return ji(s,r);const l=this.chart.config,c=l.datasetElementScopeKeys(this._type,t),d=n?[`${t}Hover`,"hover",t,""]:[t,""],u=l.getOptionScopes(this.getDataset(),c),h=Object.keys(Ut.elements[t]),f=l.resolveNamedOptions(u,h,(()=>this.getContext(i,n)),d);return f.$shared&&(f.$shared=r,a[o]=Object.freeze(ji(f,r))),f}_resolveAnimations(t,e,i){const n=this.chart,a=this._cachedDataOpts,o=`animation-${e}`,s=a[o];if(s)return s;let r;if(!1!==n.options.animation){const n=this.chart.config,a=n.datasetAnimationScopeKeys(this._type,e),o=n.getOptionScopes(this.getDataset(),a);r=n.createResolver(o,this.getContext(t,i,e))}const l=new mi(n,r&&r.animations);return r&&r._cacheable&&(a[o]=Object.freeze(l)),l}getSharedOptions(t){if(t.$shared)return this._sharedOptions||(this._sharedOptions=Object.assign({},t))}includeOptions(t,e){return!e||Ai(t)||this.chart._animationsDisabled}updateElement(t,e,i,n){Ai(n)?Object.assign(t,i):this._resolveAnimations(e,n).update(t,i)}updateSharedOptions(t,e,i){t&&!Ai(e)&&this._resolveAnimations(void 0,e).update(t,i)}_setStyle(t,e,i,n){t.active=n;const a=this.getStyle(e,n);this._resolveAnimations(e,i,n).update(t,{options:!n&&this.getSharedOptions(a)||a})}removeHoverStyle(t,e,i){this._setStyle(t,i,"active",!1)}setHoverStyle(t,e,i){this._setStyle(t,i,"active",!0)}_removeDatasetHoverStyle(){const t=this._cachedMeta.dataset;t&&this._setStyle(t,void 0,"active",!1)}_setDatasetHoverStyle(){const t=this._cachedMeta.dataset;t&&this._setStyle(t,void 0,"active",!0)}_resyncElements(t){const e=this._data,i=this._cachedMeta.data;for(const[t,e,i]of this._syncList)this[t](e,i);this._syncList=[];const n=i.length,a=e.length,o=Math.min(a,n);o&&this.parse(0,o),a>n?this._insertElements(n,a-n,t):a<n&&this._removeElements(a,n-a)}_insertElements(t,e,i=!0){const n=this._cachedMeta,a=n.data,o=t+e;let s;const r=t=>{for(t.length+=e,s=t.length-1;s>=o;s--)t[s]=t[s-e]};for(r(a),s=t;s<o;++s)a[s]=new this.dataElementType;this._parsing&&r(n._parsed),this.parse(t,e),i&&this.updateElements(a,t,e,"reset")}updateElements(t,e,i,n){}_removeElements(t,e){const i=this._cachedMeta;if(this._parsing){const n=i._parsed.splice(t,e);i._stacked&&Ti(i,n)}i.data.splice(t,e)}_sync(t){if(this._parsing)this._syncList.push(t);else{const[e,i,n]=t;this[e](i,n)}this.chart._dataChanges.push([this.index,...t])}_onDataPush(){const t=arguments.length;this._sync(["_insertElements",this.getDataset().data.length-t,t])}_onDataPop(){this._sync(["_removeElements",this._cachedMeta.data.length-1,1])}_onDataShift(){this._sync(["_removeElements",0,1])}_onDataSplice(t,e){e&&this._sync(["_removeElements",t,e]);const i=arguments.length-2;i&&this._sync(["_insertElements",t,i])}_onDataUnshift(){this._sync(["_insertElements",0,arguments.length])}}function Di(t){const e=t.iScale,i=function(t,e){if(!t._cache.$bar){const i=t.getMatchingVisibleMetas(e);let n=[];for(let e=0,a=i.length;e<a;e++)n=n.concat(i[e].controller.getAllParsedValues(t));t._cache.$bar=ke(n.sort(((t,e)=>t-e)))}return t._cache.$bar}(e,t.type);let n,a,o,s,r=e._length;const l=()=>{32767!==o&&-32768!==o&&(O(s)&&(r=Math.min(r,Math.abs(o-s)||r)),s=o)};for(n=0,a=i.length;n<a;++n)o=e.getPixelForValue(i[n]),l();for(s=void 0,n=0,a=e.ticks.length;n<a;++n)o=e.getPixelForTick(n),l();return r}
vendor: 6,099 bytes, line 1
1function Pi(t,e,i,n){return b(t)?function(t,e,i,n){const a=i.parse(t[0],n),o=i.parse(t[1],n),s=Math.min(a,o),r=Math.max(a,o);let l=s,c=r;Math.abs(s)>Math.abs(r)&&(l=r,c=s),e[i.axis]=c,e._custom={barStart:l,barEnd:c,start:a,end:o,min:s,max:r}}(t,e,i,n):e[i.axis]=i.parse(t,n),e}function Ci(t,e,i,n){const a=t.iScale,o=t.vScale,s=a.getLabels(),r=a===o,l=[];let c,d,u,h;for(c=i,d=i+n;c<d;++c)h=e[c],u={},u[a.axis]=r||a.parse(s[c],c),l.push(Pi(h,u,o,c));return l}function Oi(t){return t&&void 0!==t.barStart&&void 0!==t.barEnd}function Ri(t,e,i,n){let a=e.borderSkipped;const o={};if(!a)return void(t.borderSkipped=o);const{start:s,end:r,reverse:l,top:c,bottom:d}=function(t){let e,i,n,a,o;return t.horizontal?(e=t.base>t.x,i="left",n="right"):(e=t.base<t.y,i="bottom",n="top"),e?(a="end",o="start"):(a="start",o="end"),{start:i,end:n,reverse:e,top:a,bottom:o}}(t);"middle"===a&&i&&(t.enableBorderRadius=!0,(i._top||0)===n?a=c:(i._bottom||0)===n?a=d:(o[Bi(d,s,r,l)]=!0,a=c)),o[Bi(a,s,r,l)]=!0,t.borderSkipped=o}function Bi(t,e,i,n){var a,o,s;return n?(s=i,t=Ii(t=(a=t)===(o=e)?s:a===s?o:a,i,e)):t=Ii(t,e,i),t}function Ii(t,e,i){return"start"===t?e:"end"===t?i:t}function Li(t,{inflateAmount:e},i){t.inflateAmount="auto"===e?1===i?.33:0:e}Ei.defaults={},Ei.prototype.datasetElementType=null,Ei.prototype.dataElementType=null;class Fi extends Ei{parsePrimitiveData(t,e,i,n){return Ci(t,e,i,n)}parseArrayData(t,e,i,n){return Ci(t,e,i,n)}parseObjectData(t,e,i,n){const{iScale:a,vScale:o}=t,{xAxisKey:s="x",yAxisKey:r="y"}=this._parsing,l="x"===a.axis?s:r,c="x"===o.axis?s:r,d=[];let u,h,f,p;for(u=i,h=i+n;u<h;++u)p=e[u],f={},f[a.axis]=a.parse(P(p,l),u),d.push(Pi(P(p,c),f,o,u));return d}updateRangeFromParsed(t,e,i,n){super.updateRangeFromParsed(t,e,i,n);const a=i._custom;a&&e===this._cachedMeta.vScale&&(t.min=Math.min(t.min,a.min),t.max=Math.max(t.max,a.max))}getMaxOverflow(){return 0}getLabelAndValue(t){const e=this._cachedMeta,{iScale:i,vScale:n}=e,a=this.getParsed(t),o=a._custom,s=Oi(o)?"["+o.start+", "+o.end+"]":""+n.getLabelForValue(a[n.axis]);return{label:""+i.getLabelForValue(a[i.axis]),value:s}}initialize(){this.enableOptionSharing=!0,super.initialize(),this._cachedMeta.stack=this.getDataset().stack}update(t){const e=this._cachedMeta;this.updateElements(e.data,0,e.data.length,t)}updateElements(t,e,i,n){const a="reset"===n,{index:o,_cachedMeta:{vScale:s}}=this,r=s.getBasePixel(),l=s.isHorizontal(),c=this._getRuler(),d=this.resolveDataElementOptions(e,n),u=this.getSharedOptions(d),h=this.includeOptions(n,u);this.updateSharedOptions(u,n,d);for(let d=e;d<e+i;d++){const e=this.getParsed(d),i=a||p(e[s.axis])?{base:r,head:r}:this._calculateBarValuePixels(d),f=this._calculateBarIndexPixels(d,c),b=(e._stacks||{})[s.axis],g={horizontal:l,base:i.base,enableBorderRadius:!b||Oi(e._custom)||o===b._top||o===b._bottom,x:l?i.head:f.center,y:l?f.center:i.head,height:l?f.size:Math.abs(i.size),width:l?Math.abs(i.size):f.size};h&&(g.options=u||this.resolveDataElementOptions(d,t[d].active?"active":n));const m=g.options||t[d].options;Ri(g,m,b,o),Li(g,m,c.ratio),this.updateElement(t[d],d,g,n)}}_getStacks(t,e){const i=this._cachedMeta.iScale,n=i.getMatchingVisibleMetas(this._type),a=i.options.stacked,o=n.length,s=[];let r,l;for(r=0;r<o;++r)if(l=n[r],l.controller.options.grouped){if(void 0!==e){const t=l.controller.getParsed(e)[l.controller._cachedMeta.vScale.axis];if(p(t)||isNaN(t))continue}if((!1===a||-1===s.indexOf(l.stack)||void 0===a&&void 0===l.stack)&&s.push(l.stack),l.index===t)break}return s.length||s.push(void 0),s}_getStackCount(t){return this._getStacks(void 0,t).length}_getStackIndex(t,e,i){const n=this._getStacks(t,i),a=void 0!==e?n.indexOf(e):-1;return-1===a?n.length-1:a}_getRuler(){const t=this.options,e=this._cachedMeta,i=e.iScale,n=[];let a,o;for(a=0,o=e.data.length;a<o;++a)n.push(i.getPixelForValue(this.getParsed(a)[i.axis],a));const s=t.barThickness;return{min:s||Di(e),pixels:n,start:i._startPixel,end:i._endPixel,stackCount:this._getStackCount(),scale:i,grouped:t.grouped,ratio:s?1:t.categoryPercentage*t.barPercentage}}_calculateBarValuePixels(t){const{_cachedMeta:{vScale:e,_stacked:i},options:{base:n,minBarLength:a}}=this,o=n||0,s=this.getParsed(t),r=s._custom,l=Oi(r);let c,d,u=s[e.axis],h=0,f=i?this.applyStack(e,s,i):u;f!==u&&(h=f-u,f=u),l&&(u=r.barStart,f=r.barEnd-r.barStart,0!==u&&$(u)!==$(r.barEnd)&&(h=0),h+=u);const b=p(n)||l?h:n;let g=e.getPixelForValue(b);if(c=this.chart.getDataVisibility(t)?e.getPixelForValue(h+f):g,d=c-g,Math.abs(d)<a&&(d=function(t,e,i){return 0!==t?$(t):(e.isHorizontal()?1:-1)*(e.min>=i?1:-1)}(d,e,o)*a,u===o&&(g-=d/2),c=g+d),g===e.getPixelForValue(o)){const t=$(d)*e.getLineWidthForValue(o)/2;g+=t,d-=t}return{size:d,base:g,head:c,center:c+d/2}}_calculateBarIndexPixels(t,e){const i=e.scale,n=this.options,a=n.skipNull,o=x(n.maxBarThickness,1/0);let s,r;if(e.grouped){const i=a?this._getStackCount(t):e.stackCount,l="flex"===n.barThickness?function(t,e,i,n){const a=e.pixels,o=a[t];let s=t>0?a[t-1]:null,r=t<a.length-1?a[t+1]:null;const l=i.categoryPercentage;null===s&&(s=o-(null===r?e.end-e.start:r-o)),null===r&&(r=o+o-s);const c=o-(o-Math.min(s,r))/2*l;return{chunk:Math.abs(r-s)/2*l/n,ratio:i.barPercentage,start:c}}(t,e,n,i):function(t,e,i,n){const a=i.barThickness;let o,s;return p(a)?(o=e.min*i.categoryPercentage,s=i.barPercentage):(o=a*n,s=1),{chunk:o/n,ratio:s,start:e.pixels[t]-o/2}}(t,e,n,i),c=this._getStackIndex(this.index,this._cachedMeta.stack,a?t:void 0);s=l.start+l.chunk*c+l.chunk/2,r=Math.min(o,l.chunk*l.ratio)}else s=i.getPixelForValue(this.getParsed(t)[i.axis],t),r=Math.min(o,e.min*e.ratio);return{base:s-r/2,head:s+r/2,center:s,size:r}}draw(){const t=this._cachedMeta,e=t.vScale,i=t.data,n=i.length;let a=0;for(;a<n;++a)null!==this.getParsed(a)[e.axis]&&i[a].draw(this._ctx)}}Fi.id="bar",Fi.defaults={datasetElementType:!1,dataElementType:"bar",categoryPercentage:.8,barPercentage:.9,grouped:!0,animations:{numbers:{type:"number",properties:["x","y","base","width","height"]}}},Fi.overrides={scales:{_index_:{type:"category",offset:!0,grid:{offset:!0}},_value_:{type:"linear",beginAtZero:!0}}};
vendor: 7,228 bytes, line 1
1class Ni extends Ei{initialize(){this.enableOptionSharing=!0,super.initialize()}parsePrimitiveData(t,e,i,n){const a=super.parsePrimitiveData(t,e,i,n);for(let t=0;t<a.length;t++)a[t]._custom=this.resolveDataElementOptions(t+i).radius;return a}parseArrayData(t,e,i,n){const a=super.parseArrayData(t,e,i,n);for(let t=0;t<a.length;t++){const n=e[i+t];a[t]._custom=x(n[2],this.resolveDataElementOptions(t+i).radius)}return a}parseObjectData(t,e,i,n){const a=super.parseObjectData(t,e,i,n);for(let t=0;t<a.length;t++){const n=e[i+t];a[t]._custom=x(n&&n.r&&+n.r,this.resolveDataElementOptions(t+i).radius)}return a}getMaxOverflow(){const t=this._cachedMeta.data;let e=0;for(let i=t.length-1;i>=0;--i)e=Math.max(e,t[i].size(this.resolveDataElementOptions(i))/2);return e>0&&e}getLabelAndValue(t){const e=this._cachedMeta,{xScale:i,yScale:n}=e,a=this.getParsed(t),o=i.getLabelForValue(a.x),s=n.getLabelForValue(a.y),r=a._custom;return{label:e.label,value:"("+o+", "+s+(r?", "+r:"")+")"}}update(t){const e=this._cachedMeta.data;this.updateElements(e,0,e.length,t)}updateElements(t,e,i,n){const a="reset"===n,{iScale:o,vScale:s}=this._cachedMeta,r=this.resolveDataElementOptions(e,n),l=this.getSharedOptions(r),c=this.includeOptions(n,l),d=o.axis,u=s.axis;for(let r=e;r<e+i;r++){const e=t[r],i=!a&&this.getParsed(r),l={},h=l[d]=a?o.getPixelForDecimal(.5):o.getPixelForValue(i[d]),f=l[u]=a?s.getBasePixel():s.getPixelForValue(i[u]);l.skip=isNaN(h)||isNaN(f),c&&(l.options=this.resolveDataElementOptions(r,e.active?"active":n),a&&(l.options.radius=0)),this.updateElement(e,r,l,n)}this.updateSharedOptions(l,n,r)}resolveDataElementOptions(t,e){const i=this.getParsed(t);let n=super.resolveDataElementOptions(t,e);n.$shared&&(n=Object.assign({},n,{$shared:!1}));const a=n.radius;return"active"!==e&&(n.radius=0),n.radius+=x(i&&i._custom,a),n}}Ni.id="bubble",Ni.defaults={datasetElementType:!1,dataElementType:"point",animations:{numbers:{type:"number",properties:["x","y","borderWidth","radius"]}}},Ni.overrides={scales:{x:{type:"linear"},y:{type:"linear"}},plugins:{tooltip:{callbacks:{title:()=>""}}}};class zi extends Ei{constructor(t,e){super(t,e),this.enableOptionSharing=!0,this.innerRadius=void 0,this.outerRadius=void 0,this.offsetX=void 0,this.offsetY=void 0}linkScales(){}parse(t,e){const i=this.getDataset().data,n=this._cachedMeta;if(!1===this._parsing)n._parsed=i;else{let a,o,s=t=>+i[t];if(g(i[t])){const{key:t="value"}=this._parsing;s=e=>+P(i[e],t)}for(a=t,o=t+e;a<o;++a)n._parsed[a]=s(a)}}_getRotation(){return G(this.options.rotation-90)}_getCircumference(){return G(this.options.circumference)}_getRotationExtents(){let t=L,e=-L;for(let i=0;i<this.chart.data.datasets.length;++i)if(this.chart.isDatasetVisible(i)){const n=this.chart.getDatasetMeta(i).controller,a=n._getRotation(),o=n._getCircumference();t=Math.min(t,a),e=Math.max(e,a+o)}return{rotation:t,circumference:e-t}}update(t){const e=this.chart,{chartArea:i}=e,n=this._cachedMeta,a=n.data,o=this.getMaxBorderWidth()+this.getMaxOffset(a)+this.options.spacing,s=Math.max((Math.min(i.width,i.height)-o)/2,0),r=Math.min((c=s,"string"==typeof(l=this.options.cutout)&&l.endsWith("%")?parseFloat(l)/100:l/c),1);var l,c;const d=this._getRingWeight(this.index),{circumference:u,rotation:h}=this._getRotationExtents(),{ratioX:f,ratioY:p,offsetX:b,offsetY:g}=function(t,e,i){let n=1,a=1,o=0,s=0;if(e<L){const r=t,l=r+e,c=Math.cos(r),d=Math.sin(r),u=Math.cos(l),h=Math.sin(l),f=(t,e,n)=>nt(t,r,l,!0)?1:Math.max(e,e*i,n,n*i),p=(t,e,n)=>nt(t,r,l,!0)?-1:Math.min(e,e*i,n,n*i),b=f(0,c,u),g=f(H,d,h),m=p(I,c,u),v=p(I+H,d,h);n=(b-m)/2,a=(g-v)/2,o=-(b+m)/2,s=-(g+v)/2}return{ratioX:n,ratioY:a,offsetX:o,offsetY:s}}(h,u,r),m=(i.width-o)/f,v=(i.height-o)/p,x=Math.max(Math.min(m,v)/2,0),k=y(this.options.radius,x),_=(k-Math.max(k*r,0))/this._getVisibleDatasetWeightTotal();this.offsetX=b*k,this.offsetY=g*k,n.total=this.calculateTotal(),this.outerRadius=k-_*this._getRingWeightOffset(this.index),this.innerRadius=Math.max(this.outerRadius-_*d,0),this.updateElements(a,0,a.length,t)}_circumference(t,e){const i=this.options,n=this._cachedMeta,a=this._getCircumference();return e&&i.animation.animateRotate||!this.chart.getDataVisibility(t)||null===n._parsed[t]||n.data[t].hidden?0:this.calculateCircumference(n._parsed[t]*a/L)}updateElements(t,e,i,n){const a="reset"===n,o=this.chart,s=o.chartArea,r=o.options.animation,l=(s.left+s.right)/2,c=(s.top+s.bottom)/2,d=a&&r.animateScale,u=d?0:this.innerRadius,h=d?0:this.outerRadius,f=this.resolveDataElementOptions(e,n),p=this.getSharedOptions(f),b=this.includeOptions(n,p);let g,m=this._getRotation();for(g=0;g<e;++g)m+=this._circumference(g,a);for(g=e;g<e+i;++g){const e=this._circumference(g,a),i=t[g],o={x:l+this.offsetX,y:c+this.offsetY,startAngle:m,endAngle:m+e,circumference:e,outerRadius:h,innerRadius:u};b&&(o.options=p||this.resolveDataElementOptions(g,i.active?"active":n)),m+=e,this.updateElement(i,g,o,n)}this.updateSharedOptions(p,n,f)}calculateTotal(){const t=this._cachedMeta,e=t.data;let i,n=0;for(i=0;i<e.length;i++){const a=t._parsed[i];null===a||isNaN(a)||!this.chart.getDataVisibility(i)||e[i].hidden||(n+=Math.abs(a))}return n}calculateCircumference(t){const e=this._cachedMeta.total;return e>0&&!isNaN(t)?L*(Math.abs(t)/e):0}getLabelAndValue(t){const e=this._cachedMeta,i=this.chart,n=i.data.labels||[],a=ii(e._parsed[t],i.options.locale);return{label:n[t]||"",value:a}}getMaxBorderWidth(t){let e=0;const i=this.chart;let n,a,o,s,r;if(!t)for(n=0,a=i.data.datasets.length;n<a;++n)if(i.isDatasetVisible(n)){o=i.getDatasetMeta(n),t=o.data,s=o.controller;break}if(!t)return 0;for(n=0,a=t.length;n<a;++n)r=s.resolveDataElementOptions(n),"inner"!==r.borderAlign&&(e=Math.max(e,r.borderWidth||0,r.hoverBorderWidth||0));return e}getMaxOffset(t){let e=0;for(let i=0,n=t.length;i<n;++i){const t=this.resolveDataElementOptions(i);e=Math.max(e,t.offset||0,t.hoverOffset||0)}return e}_getRingWeightOffset(t){let e=0;for(let i=0;i<t;++i)this.chart.isDatasetVisible(i)&&(e+=this._getRingWeight(i));return e}_getRingWeight(t){return Math.max(x(this.chart.data.datasets[t].weight,1),0)}_getVisibleDatasetWeightTotal(){return this._getRingWeightOffset(this.chart.data.datasets.length)||1}}zi.id="doughnut",zi.defaults={datasetElementType:!1,dataElementType:"arc",animation:{animateRotate:!0,animateScale:!1},animations:{numbers:{type:"number",properties:["circumference","endAngle","innerRadius","outerRadius","startAngle","x","y","offset","borderWidth","spacing"]}},cutout:"50%",rotation:0,circumference:360,radius:"100%",spacing:0,indexAxis:"r"},zi.descriptors={_scriptable:t=>"spacing"!==t,_indexable:t=>"spacing"!==t},zi.overrides={aspectRatio:1,plugins:{legend:{labels:{generateLabels(t){const e=t.data;if(e.labels.length&&e.datasets.length){const{labels:{pointStyle:i}}=t.legend.options;return e.labels.map(((e,n)=>{const a=t.getDatasetMeta(0).controller.getStyle(n);return{text:e,fillStyle:a.backgroundColor,strokeStyle:a.borderColor,lineWidth:a.borderWidth,pointStyle:i,hidden:!t.getDataVisibility(n),index:n}}))}return[]}},onClick(t,e,i){i.chart.toggleDataVisibility(e.index),i.chart.update()}},tooltip:{callbacks:{title:()=>"",label(t){let e=t.label;const i=": "+t.formattedValue;return b(e)?(e=e.slice(),e[0]+=i):e+=i,e}}}}};
vendor: 4,642 bytes, line 1
1class Hi extends Ei{initialize(){this.enableOptionSharing=!0,super.initialize()}update(t){const e=this._cachedMeta,{dataset:i,data:n=[],_dataset:a}=e,o=this.chart._animationsDisabled;let{start:s,count:r}=function(t,e,i){const n=e.length;let a=0,o=n;if(t._sorted){const{iScale:s,_parsed:r}=t,l=s.axis,{min:c,max:d,minDefined:u,maxDefined:h}=s.getUserBounds();u&&(a=at(Math.min(me(r,s.axis,c).lo,i?n:me(e,l,s.getPixelForValue(c)).lo),0,n-1)),o=h?at(Math.max(me(r,s.axis,d).hi+1,i?0:me(e,l,s.getPixelForValue(d)).hi+1),a,n)-a:n-a}return{start:a,count:o}}(e,n,o);this._drawStart=s,this._drawCount=r,function(t){const{xScale:e,yScale:i,_scaleRanges:n}=t,a={xmin:e.min,xmax:e.max,ymin:i.min,ymax:i.max};if(!n)return t._scaleRanges=a,!0;const o=n.xmin!==e.min||n.xmax!==e.max||n.ymin!==i.min||n.ymax!==i.max;return Object.assign(n,a),o}(e)&&(s=0,r=n.length),i._chart=this.chart,i._datasetIndex=this.index,i._decimated=!!a._decimated,i.points=n;const l=this.resolveDatasetElementOptions(t);this.options.showLine||(l.borderWidth=0),l.segment=this.options.segment,this.updateElement(i,void 0,{animated:!o,options:l},t),this.updateElements(n,s,r,t)}updateElements(t,e,i,n){const a="reset"===n,{iScale:o,vScale:s,_stacked:r,_dataset:l}=this._cachedMeta,c=this.resolveDataElementOptions(e,n),d=this.getSharedOptions(c),u=this.includeOptions(n,d),h=o.axis,f=s.axis,{spanGaps:b,segment:g}=this.options,m=Y(b)?b:Number.POSITIVE_INFINITY,v=this.chart._animationsDisabled||a||"none"===n;let x=e>0&&this.getParsed(e-1);for(let c=e;c<e+i;++c){const e=t[c],i=this.getParsed(c),b=v?e:{},y=p(i[f]),k=b[h]=o.getPixelForValue(i[h],c),_=b[f]=a||y?s.getBasePixel():s.getPixelForValue(r?this.applyStack(s,i,r):i[f],c);b.skip=isNaN(k)||isNaN(_)||y,b.stop=c>0&&i[h]-x[h]>m,g&&(b.parsed=i,b.raw=l.data[c]),u&&(b.options=d||this.resolveDataElementOptions(c,e.active?"active":n)),v||this.updateElement(e,c,b,n),x=i}this.updateSharedOptions(d,n,c)}getMaxOverflow(){const t=this._cachedMeta,e=t.dataset,i=e.options&&e.options.borderWidth||0,n=t.data||[];if(!n.length)return i;const a=n[0].size(this.resolveDataElementOptions(0)),o=n[n.length-1].size(this.resolveDataElementOptions(n.length-1));return Math.max(i,a,o)/2}draw(){const t=this._cachedMeta;t.dataset.updateControlPoints(this.chart.chartArea,t.iScale.axis),super.draw()}}Hi.id="line",Hi.defaults={datasetElementType:"line",dataElementType:"point",showLine:!0,spanGaps:!1},Hi.overrides={scales:{_index_:{type:"category"},_value_:{type:"linear"}}};class Vi extends Ei{constructor(t,e){super(t,e),this.innerRadius=void 0,this.outerRadius=void 0}getLabelAndValue(t){const e=this._cachedMeta,i=this.chart,n=i.data.labels||[],a=ii(e._parsed[t].r,i.options.locale);return{label:n[t]||"",value:a}}update(t){const e=this._cachedMeta.data;this._updateRadius(),this.updateElements(e,0,e.length,t)}_updateRadius(){const t=this.chart,e=t.chartArea,i=t.options,n=Math.min(e.right-e.left,e.bottom-e.top),a=Math.max(n/2,0),o=(a-Math.max(i.cutoutPercentage?a/100*i.cutoutPercentage:1,0))/t.getVisibleDatasetCount();this.outerRadius=a-o*this.index,this.innerRadius=this.outerRadius-o}updateElements(t,e,i,n){const a="reset"===n,o=this.chart,s=this.getDataset(),r=o.options.animation,l=this._cachedMeta.rScale,c=l.xCenter,d=l.yCenter,u=l.getIndexAngle(0)-.5*I;let h,f=u;const p=360/this.countVisibleElements();for(h=0;h<e;++h)f+=this._computeAngle(h,n,p);for(h=e;h<e+i;h++){const e=t[h];let i=f,b=f+this._computeAngle(h,n,p),g=o.getDataVisibility(h)?l.getDistanceFromCenterForValue(s.data[h]):0;f=b,a&&(r.animateScale&&(g=0),r.animateRotate&&(i=b=u));const m={x:c,y:d,innerRadius:0,outerRadius:g,startAngle:i,endAngle:b,options:this.resolveDataElementOptions(h,e.active?"active":n)};this.updateElement(e,h,m,n)}}countVisibleElements(){const t=this.getDataset(),e=this._cachedMeta;let i=0;return e.data.forEach(((e,n)=>{!isNaN(t.data[n])&&this.chart.getDataVisibility(n)&&i++})),i}_computeAngle(t,e,i){return this.chart.getDataVisibility(t)?G(this.resolveDataElementOptions(t,e).angle||i):0}}Vi.id="polarArea",Vi.defaults={dataElementType:"arc",animation:{animateRotate:!0,animateScale:!0},animations:{numbers:{type:"number",properties:["x","y","startAngle","endAngle","innerRadius","outerRadius"]}},indexAxis:"r",startAngle:0},Vi.overrides={aspectRatio:1,plugins:{legend:{labels:{generateLabels(t){const e=t.data;if(e.labels.length&&e.datasets.length){const{labels:{pointStyle:i}}=t.legend.options;return e.labels.map(((e,n)=>{const a=t.getDatasetMeta(0).controller.getStyle(n);return{text:e,fillStyle:a.backgroundColor,strokeStyle:a.borderColor,lineWidth:a.borderWidth,pointStyle:i,hidden:!t.getDataVisibility(n),index:n}}))}return[]}}
1,onClick(t,e,i){i.chart.toggleDataVisibility(e.index),i.chart.update()}},tooltip:{callbacks:{title:()=>"",label:t=>t.chart.data.labels[t.dataIndex]+": "+t.formattedValue}}},scales:{r:{type:"radialLinear",angleLines:{display:!1},beginAtZero:!0,grid:{circular:!0},pointLabels:{display:!1},startAngle:0}}};class Ki extends zi{}Ki.id="pie",Ki.defaults={cutout:0,rotation:0,circumference:360,radius:"100%"};class Wi extends Ei{getLabelAndValue(t){const e=this._cachedMeta.vScale,i=this.getParsed(t);return{label:e.getLabels()[t],value:""+e.getLabelForValue(i[e.axis])}}update(t){const e=this._cachedMeta,i=e.dataset,n=e.data||[],a=e.iScale.getLabels();if(i.points=n,"resize"!==t){const e=this.resolveDatasetElementOptions(t);this.options.showLine||(e.borderWidth=0);const o={_loop:!0,_fullLoop:a.length===n.length,options:e};this.updateElement(i,void 0,o,t)}this.updateElements(n,0,n.length,t)}updateElements(t,e,i,n){const a=this.getDataset(),o=this._cachedMeta.rScale,s="reset"===n;for(let r=e;r<e+i;r++){const e=t[r],i=this.resolveDataElementOptions(r,e.active?"active":n),l=o.getPointPositionForValue(r,a.data[r]),c=s?o.xCenter:l.x,d=s?o.yCenter:l.y,u={x:c,y:d,angle:l.angle,skip:isNaN(c)||isNaN(d),options:i};this.updateElement(e,r,u,n)}}}Wi.id="radar",Wi.defaults={datasetElementType:"line",dataElementType:"point",indexAxis:"r",showLine:!0,elements:{line:{fill:"start"}}},Wi.overrides={aspectRatio:1,scales:{r:{type:"radialLinear"}}};class $i extends Hi{}$i.id="scatter",$i.defaults={showLine:!1,fill:!1},$i.overrides={interaction:{mode:"point"},plugins:{tooltip:{callbacks:{title:()=>"",label:t=>"("+t.label+", "+t.formattedValue+")"}}},scales:{x:{type:"linear"},y:{type:"linear"}}};var Ui=Object.freeze({__proto__:null,BarController:Fi,BubbleController:Ni,DoughnutController:zi,LineController:Hi,PolarAreaController:Vi,PieController:Ki,RadarController:Wi,ScatterController:$i});function Yi(){throw new Error("This method is not implemented: Check that a complete date adapter is provided.")}class Xi{constructor(t){this.options=t||{}}formats(){return Yi()}parse(t,e){return Yi()}format(t,e){return Yi()}add(t,e,i){return Yi()}diff(t,e,i){return Yi()}startOf(t,e,i){return Yi()}endOf(t,e){return Yi()}}Xi.override=function(t){Object.assign(Xi.prototype,t)};var Qi={_date:Xi};function Gi(t,e){return"native"in t?{x:t.x,y:t.y}:Ye(t,e)}function qi(t,e,i,n){const{controller:a,data:o,_sorted:s}=t,r=a._cachedMeta.iScale;if(r&&e===r.axis&&"r"!==e&&s&&o.length){const t=r._reversePixels?ve:me;if(!n)return t(o,e,i);if(a._sharedOptions){const n=o[0],a="function"==typeof n.getRange&&n.getRange(e);if(a){const n=t(o,e,i-a),s=t(o,e,i+a);return{lo:n.lo,hi:s.hi}}}}return{lo:0,hi:o.length-1}}function Ji(t,e,i,n,a){const o=t.getSortedVisibleDatasetMetas(),s=i[e];for(let t=0,i=o.length;t<i;++t){const{index:i,data:r}=o[t],{lo:l,hi:c}=qi(o[t],e,s,a);for(let t=l;t<=c;++t){const e=r[t];e.skip||n(e,i,t)}}}function Zi(t,e,i,n){const a=[];return Jt(e,t.chartArea,t._minPadding)?(Ji(t,i,e,(function(t,i,o){t.inRange(e.x,e.y,n)&&a.push({element:t,datasetIndex:i,index:o})}),!0),a):a}function tn(t,e,i,n,a){return Jt(e,t.chartArea,t._minPadding)?"r"!==i||n?function(t,e,i,n,a){let o=[];const s=function(t){const e=-1!==t.indexOf("x"),i=-1!==t.indexOf("y");return function(t,n){const a=e?Math.abs(t.x-n.x):0,o=i?Math.abs(t.y-n.y):0;return Math.sqrt(Math.pow(a,2)+Math.pow(o,2))}}(i);let r=Number.POSITIVE_INFINITY;return Ji(t,i,e,(function(i,l,c){const d=i.inRange(e.x,e.y,a);if(n&&!d)return;const u=i.getCenterPoint(a);if(!Jt(u,t.chartArea,t._minPadding)&&!d)return;const h=s(e,u);h<r?(o=[{element:i,datasetIndex:l,index:c}],r=h):h===r&&o.push({element:i,datasetIndex:l,index:c})})),o}(t,e,i,n,a):function(t,e,i,n){let a=[];return Ji(t,i,e,(function(t,i,o){const{startAngle:s,endAngle:r}=t.getProps(["startAngle","endAngle"],n),{angle:l}=Z(t,{x:e.x,y:e.y});nt(l,s,r)&&a.push({element:t,datasetIndex:i,index:o})})),a}(t,e,i,a):[]}function en(t,e,i,n){const a=Gi(e,t),o=[],s=i.axis,r="x"===s?"inXRange":"inYRange";let l=!1;return function(t,e){const i=t.getSortedVisibleDatasetMetas();let n,a,o;for(let t=0,s=i.length;t<s;++t){({index:n,data:a}=i[t]);for(let t=0,i=a.length;t<i;++t)o=a[t],o.skip||e(o,n,t)}}(t,((t,e,i)=>{t[r](a[s],n)&&o.push({element:t,datasetIndex:e,index:i}),t.inRange(a.x,a.y,n)&&(l=!0)})),i.intersect&&!l?[]:o}var nn={modes:{index(t,e,i,n){const a=Gi(e,t),o=i.axis||"x",s=i.intersect?Zi(t,a,o,n):tn(t,a,o,!1,n),r=[];
vendor: 10,759 bytes, line 1
1return s.length?(t.getSortedVisibleDatasetMetas().forEach((t=>{const e=s[0].index,i=t.data[e];i&&!i.skip&&r.push({element:i,datasetIndex:t.index,index:e})})),r):[]},dataset(t,e,i,n){const a=Gi(e,t),o=i.axis||"xy";let s=i.intersect?Zi(t,a,o,n):tn(t,a,o,!1,n);if(s.length>0){const e=s[0].datasetIndex,i=t.getDatasetMeta(e).data;s=[];for(let t=0;t<i.length;++t)s.push({element:i[t],datasetIndex:e,index:t})}return s},point:(t,e,i,n)=>Zi(t,Gi(e,t),i.axis||"xy",n),nearest:(t,e,i,n)=>tn(t,Gi(e,t),i.axis||"xy",i.intersect,n),x:(t,e,i,n)=>en(t,e,{axis:"x",intersect:i.intersect},n),y:(t,e,i,n)=>en(t,e,{axis:"y",intersect:i.intersect},n)}};const an=["left","top","right","bottom"];function on(t,e){return t.filter((t=>t.pos===e))}function sn(t,e){return t.filter((t=>-1===an.indexOf(t.pos)&&t.box.axis===e))}function rn(t,e){return t.sort(((t,i)=>{const n=e?i:t,a=e?t:i;return n.weight===a.weight?n.index-a.index:n.weight-a.weight}))}function ln(t,e,i,n){return Math.max(t[i],e[i])+Math.max(t[n],e[n])}function cn(t,e){t.top=Math.max(t.top,e.top),t.left=Math.max(t.left,e.left),t.bottom=Math.max(t.bottom,e.bottom),t.right=Math.max(t.right,e.right)}function dn(t,e,i,n){const{pos:a,box:o}=i,s=t.maxPadding;if(!g(a)){i.size&&(t[a]-=i.size);const e=n[i.stack]||{size:0,count:1};e.size=Math.max(e.size,i.horizontal?o.height:o.width),i.size=e.size/e.count,t[a]+=i.size}o.getPadding&&cn(s,o.getPadding());const r=Math.max(0,e.outerWidth-ln(s,t,"left","right")),l=Math.max(0,e.outerHeight-ln(s,t,"top","bottom")),c=r!==t.w,d=l!==t.h;return t.w=r,t.h=l,i.horizontal?{same:c,other:d}:{same:d,other:c}}function un(t,e){const i=e.maxPadding;return function(t){const n={left:0,top:0,right:0,bottom:0};return t.forEach((t=>{n[t]=Math.max(e[t],i[t])})),n}(t?["left","right"]:["top","bottom"])}function hn(t,e,i,n){const a=[];let o,s,r,l,c,d;for(o=0,s=t.length,c=0;o<s;++o){r=t[o],l=r.box,l.update(r.width||e.w,r.height||e.h,un(r.horizontal,e));const{same:s,other:u}=dn(e,i,r,n);c|=s&&a.length,d=d||u,l.fullSize||a.push(r)}return c&&hn(a,e,i,n)||d}function fn(t,e,i,n,a){t.top=i,t.left=e,t.right=e+n,t.bottom=i+a,t.width=n,t.height=a}function pn(t,e,i,n){const a=i.padding;let{x:o,y:s}=e;for(const r of t){const t=r.box,l=n[r.stack]||{count:1,placed:0,weight:1},c=r.stackWeight/l.weight||1;if(r.horizontal){const n=e.w*c,o=l.size||t.height;O(l.start)&&(s=l.start),t.fullSize?fn(t,a.left,s,i.outerWidth-a.right-a.left,o):fn(t,e.left+l.placed,s,n,o),l.start=s,l.placed+=n,s=t.bottom}else{const n=e.h*c,s=l.size||t.width;O(l.start)&&(o=l.start),t.fullSize?fn(t,o,a.top,s,i.outerHeight-a.bottom-a.top):fn(t,o,e.top+l.placed,s,n),l.start=o,l.placed+=n,o=t.right}}e.x=o,e.y=s}Ut.set("layout",{autoPadding:!0,padding:{top:0,right:0,bottom:0,left:0}});var bn={addBox(t,e){t.boxes||(t.boxes=[]),e.fullSize=e.fullSize||!1,e.position=e.position||"top",e.weight=e.weight||0,e._layers=e._layers||function(){return[{z:0,draw(t){e.draw(t)}}]},t.boxes.push(e)},removeBox(t,e){const i=t.boxes?t.boxes.indexOf(e):-1;-1!==i&&t.boxes.splice(i,1)},configure(t,e,i){e.fullSize=i.fullSize,e.position=i.position,e.weight=i.weight},update(t,e,i,n){if(!t)return;const a=he(t.options.layout.padding),o=Math.max(e-a.width,0),s=Math.max(i-a.height,0),r=function(t){const e=function(t){const e=[];let i,n,a,o,s,r;for(i=0,n=(t||[]).length;i<n;++i)a=t[i],({position:o,options:{stack:s,stackWeight:r=1}}=a),e.push({index:i,box:a,pos:o,horizontal:a.isHorizontal(),weight:a.weight,stack:s&&o+s,stackWeight:r});return e}(t),i=rn(e.filter((t=>t.box.fullSize)),!0),n=rn(on(e,"left"),!0),a=rn(on(e,"right")),o=rn(on(e,"top"),!0),s=rn(on(e,"bottom")),r=sn(e,"x"),l=sn(e,"y");return{fullSize:i,leftAndTop:n.concat(o),rightAndBottom:a.concat(l).concat(s).concat(r),chartArea:on(e,"chartArea"),vertical:n.concat(a).concat(l),horizontal:o.concat(s).concat(r)}}(t.boxes),l=r.vertical,c=r.horizontal;_(t.boxes,(t=>{"function"==typeof t.beforeLayout&&t.beforeLayout()}));const d=l.reduce(((t,e)=>e.box.options&&!1===e.box.options.display?t:t+1),0)||1,u=Object.freeze({outerWidth:e,outerHeight:i,padding:a,availableWidth:o,availableHeight:s,vBoxMaxWidth:o/2/d,hBoxMaxHeight:s/2}),h=Object.assign({},a);cn(h,he(n));const f=Object.assign({maxPadding:h,w:o,h:s,x:a.left,y:a.top},a),p=function(t,e){const i=function(t){const e={};for(const i of t){const{stack:t,pos:n,stackWeight:a}=i;if(!t||!an.includes(n))continue;const o=e[t]||(e[t]={count:0,placed:0,weight:0,size:0});o.count++,o.weight+=a}return e}(t),{vBoxMaxWidth:n,hBoxMaxHeight:a}=e;let o,s,r;for(o=0,s=t.length;o<s;++o){r=t[o];const{fullSize:s}=r.box,l=i[r.stack],c=l&&r.stackWeight/l.weight;r.horizontal?(r.width=c?c*n:s&&e.availableWidth,r.height=a):(r.width=n,r.height=c?c*a:s&&e.availableHeight)}return i}(l.concat(c),u);hn(r.fullSize,f,u,p),hn(l,f,u,p),hn(c,f,u,p)&&hn(l,f,u,p),function(t){const e=t.maxPadding;function i(i){const n=Math.max(e[i]-t[i],0);return t[i]+=n,n}t.y+=i("top"),t.x+=i("left"),i("right"),i("bottom")}(f),pn(r.leftAndTop,f,u,p),f.x+=f.w,f.y+=f.h,pn(r.rightAndBottom,f,u,p),t.chartArea={left:f.left,top:f.top,right:f.left+f.w,bottom:f.top+f.h,height:f.h,width:f.w},_(r.chartArea,(e=>{const i=e.box;Object.assign(i,t.chartArea),i.update(f.w,f.h,{left:0,top:0,right:0,bottom:0})}))}};class gn{acquireContext(t,e){}releaseContext(t){return!1}addEventListener(t,e,i){}removeEventListener(t,e,i){}getDevicePixelRatio(){return 1}getMaximumSize(t,e,i,n){return e=Math.max(0,e||t.width),i=i||t.height,{width:e,height:Math.max(0,n?Math.floor(e/n):i)}}isAttached(t){return!0}updateConfig(t){}}class mn extends gn{acquireContext(t){return t&&t.getContext&&t.getContext("2d")||null}updateConfig(t){t.options.animation=!1}}const vn={touchstart:"mousedown",touchmove:"mousemove",touchend:"mouseup",pointerenter:"mouseenter",pointerdown:"mousedown",pointermove:"mousemove",pointerup:"mouseup",pointerleave:"mouseout",pointerout:"mouseout"},xn=t=>null===t||""===t,yn=!!Ge&&{passive:!0};function kn(t,e,i){t.canvas.removeEventListener(e,i,yn)}function wn(t,e){for(const i of t)if(i===e||i.contains(e))return!0}function Mn(t,e,i){const n=t.canvas,a=new MutationObserver((t=>{let e=!1;for(const i of t)e=e||wn(i.addedNodes,n),e=e&&!wn(i.removedNodes,n);e&&i()}));return a.observe(document,{childList:!0,subtree:!0}),a}function Sn(t,e,i){const n=t.canvas,a=new MutationObserver((t=>{let e=!1;for(const i of t)e=e||wn(i.removedNodes,n),e=e&&!wn(i.addedNodes,n);e&&i()}));return a.observe(document,{childList:!0,subtree:!0}),a}const Tn=new Map;let An=0;function jn(){const t=window.devicePixelRatio;t!==An&&(An=t,Tn.forEach(((e,i)=>{i.currentDevicePixelRatio!==t&&e()})))}function En(t,e,i){const n=t.canvas,a=n&&Ve(n);if(!a)return;const o=c(((t,e)=>{const n=a.clientWidth;i(t,e),n<a.clientWidth&&i()}),window),s=new ResizeObserver((t=>{const e=t[0],i=e.contentRect.width,n=e.contentRect.height;0===i&&0===n||o(i,n)}));return s.observe(a),function(t,e){Tn.size||window.addEventListener("resize",jn),Tn.set(t,e)}(t,o),s}function Dn(t,e,i){i&&i.disconnect(),"resize"===e&&function(t){Tn.delete(t),Tn.size||window.removeEventListener("resize",jn)}(t)}function Pn(t,e,i){const n=t.canvas,a=c((e=>{null!==t.ctx&&i(function(t,e){const i=vn[t.type]||t.type,{x:n,y:a}=Ye(t,e);return{type:i,chart:e,native:t,x:void 0!==n?n:null,y:void 0!==a?a:null}}(e,t))}),t,(t=>{const e=t[0];return[e,e.offsetX,e.offsetY]}));return function(t,e,i){t.addEventListener(e,i,yn)}(n,e,a),a}class Cn extends gn{acquireContext(t,e){const i=t&&t.getContext&&t.getContext("2d");return i&&i.canvas===t?(function(t,e){const i=t.style,n=t.getAttribute("height"),a=t.getAttribute("width");if(t.$chartjs={initial:{height:n,width:a,style:{display:i.display,height:i.height,width:i.width}}},i.display=i.display||"block",i.boxSizing=i.boxSizing||"border-box",xn(a)){const e=qe(t,"width");void 0!==e&&(t.width=e)}if(xn(n))if(""===t.style.height)t.height=t.width/(e||2);else{const e=qe(t,"height");void 0!==e&&(t.height=e)}}(t,e),i):null}releaseContext(t){const e=t.canvas;if(!e.$chartjs)return!1;const i=e.$chartjs.initial;["height","width"].forEach((t=>{const n=i[t];p(n)?e.removeAttribute(t):e.setAttribute(t,n)}));const n=i.style||{};return Object.keys(n).forEach((t=>{e.style[t]=n[t]})),e.width=e.width,delete e.$chartjs,!0}addEventListener(t,e,i){this.removeEventListener(t,e);const n=t.$proxies||(t.$proxies={}),a={attach:Mn,detach:Sn,resize:En}[e]||Pn;n[e]=a(t,e,i)}removeEventListener(t,e){const i=t.$proxies||(t.$proxies={}),n=i[e];n&&(({attach:Dn,detach:Dn,resize:Dn}[e]||kn)(t,e,n),i[e]=void 0)}getDevicePixelRatio(){return window.devicePixelRatio}getMaximumSize(t,e,i,n){return function(t,e,i,n){const a=We(t),o=Ue(a,"margin"),s=Ke(a.maxWidth,t,"clientWidth")||N,r=Ke(a.maxHeight,t,"clientHeight")||N,l=function(t,e,i){let n,a;if(void 0===e||void 0===i){const o=Ve(t);if(o){const t=o.getBoundingClientRect(),s=We(o),r=Ue(s,"border","width"),l=Ue(s,"padding");e=t.width-l.width-r.width,i=t.height-l.height-r.height,n=Ke(s.maxWidth,o,"clientWidth"),a=Ke(s.maxHeight,o,"clientHeight")}else e=t.clientWidth,i=t.clientHeight}return{width:e,height:i,maxWidth:n||N,maxHeight:a||N}}(t,e,i);let{width:c,height:d}=l;if("content-box"===a.boxSizing){const t=Ue(a,"border","width"),e=Ue(a,"padding");c-=e.width+t.width,d-=e.height+t.height}return c=Math.max(0,c-o.width),d=Math.max(0,n?Math.floor(c/n):d-o.height),c=Xe(Math.min(c,s,l.maxWidth)),d=Xe(Math.min(d,r,l.maxHeight)),c&&!d&&(d=Xe(c/2)),{width:c,height:d}}(t,e,i,n)}isAttached(t){const e=Ve(t);return!(!e||!e.isConnected)}}class On{constructor(){this.x=void 0,this.y=void 0,this.active=!1,this.options=void 0,this.$animations=void 0}tooltipPosition(t){const{x:e,y:i}=this.getProps(["x","y"],t);return{x:e,y:i}}hasValue(){return Y(this.x)&&Y(this.y)}getProps(t,e){const i=this.$animations;if(!e||!i)return this;const n={};return t.forEach((t=>{n[t]=i[t]&&i[t].active()?i[t]._to:this[t]})),n}}On.defaults={},On.defaultRoutes=void 0;const Rn={values:t=>b(t)?t:""+t,numeric(t,e,i){if(0===t)return"0";const n=this.chart.options.locale;let a,o=t;if(i.length>1){const e=Math.max(Math.abs(i[0].value),Math.abs(i[i.length-1].value));(e<1e-4||e>1e15)&&(a="scientific"),o=function(t,e){let i=e.length>3?e[2].value-e[1].value:e[1].value-e[0].value;return Math.abs(i)>=1&&t!==Math.floor(t)&&(i=t-Math.floor(t)),i}(t,i)}const s=W(Math.abs(o)),r=Math.max(Math.min(-1*Math.floor(s),20),0),l={notation:a,minimumFractionDigits:r,maximumFractionDigits:r};return Object.assign(l,this.options.ticks.format),ii(t,n,l)},logarithmic(t,e,i){if(0===t)return"0";const n=t/Math.pow(10,Math.floor(W(t)));return 1===n||2===n||5===n?Rn.numeric.call(this,t,e,i):""}};var Bn={formatters:Rn};function In(t,e,i,n,a){const o=x(n,0),s=Math.min(x(a,t.length),t.length);let r,l,c,d=0;for(i=Math.ceil(i),a&&(r=a-n,i=r/Math.floor(r/i)),c=o;c<0;)d++,c=Math.round(o+d*i);for(l=Math.max(o,0);
vendor: 1,916 bytes, line 1
1l<s;l++)l===c&&(e.push(t[l]),d++,c=Math.round(o+d*i))}Ut.set("scale",{display:!0,offset:!1,reverse:!1,beginAtZero:!1,bounds:"ticks",grace:0,grid:{display:!0,lineWidth:1,drawBorder:!0,drawOnChartArea:!0,drawTicks:!0,tickLength:8,tickWidth:(t,e)=>e.lineWidth,tickColor:(t,e)=>e.color,offset:!1,borderDash:[],borderDashOffset:0,borderWidth:1},title:{display:!1,text:"",padding:{top:4,bottom:4}},ticks:{minRotation:0,maxRotation:50,mirror:!1,textStrokeWidth:0,textStrokeColor:"",padding:3,display:!0,autoSkip:!0,autoSkipPadding:3,labelOffset:0,callback:Bn.formatters.values,minor:{},major:{},align:"center",crossAlign:"near",showLabelBackdrop:!1,backdropColor:"rgba(255, 255, 255, 0.75)",backdropPadding:2}}),Ut.route("scale.ticks","color","","color"),Ut.route("scale.grid","color","","borderColor"),Ut.route("scale.grid","borderColor","","borderColor"),Ut.route("scale.title","color","","color"),Ut.describe("scale",{_fallback:!1,_scriptable:t=>!t.startsWith("before")&&!t.startsWith("after")&&"callback"!==t&&"parser"!==t,_indexable:t=>"borderDash"!==t&&"tickBorderDash"!==t}),Ut.describe("scales",{_fallback:"scale"}),Ut.describe("scale.ticks",{_scriptable:t=>"backdropPadding"!==t&&"callback"!==t,_indexable:t=>"backdropPadding"!==t});const Ln=(t,e,i)=>"top"===e||"left"===e?t[e]+i:t[e]-i;function Fn(t,e){const i=[],n=t.length/e,a=t.length;let o=0;for(;o<a;o+=n)i.push(t[Math.floor(o)]);return i}function Nn(t,e,i){const n=t.ticks.length,a=Math.min(e,n-1),o=t._startPixel,s=t._endPixel,r=1e-6;let l,c=t.getPixelForTick(a);if(!(i&&(l=1===n?Math.max(c-o,s-c):0===e?(t.getPixelForTick(1)-c)/2:(c-t.getPixelForTick(a-1))/2,c+=a<e?l:-l,c<o-r||c>s+r)))return c}function zn(t){return t.drawTicks?t.tickLength:0}function Hn(t,e){if(!t.display)return 0;const i=fe(t.font,e),n=he(t.padding);return(b(t.text)?t.text.length:1)*i.lineHeight+n.height}function Vn(t,e,i){let n=d(t);return(i&&"right"!==e||!i&&"right"===e)&&(n=(t=>
vendor: 4,114 bytes, line 1
1"left"===t?"right":"right"===t?"left":t)(n)),n}class Kn extends On{constructor(t){super(),this.id=t.id,this.type=t.type,this.options=void 0,this.ctx=t.ctx,this.chart=t.chart,this.top=void 0,this.bottom=void 0,this.left=void 0,this.right=void 0,this.width=void 0,this.height=void 0,this._margins={left:0,right:0,top:0,bottom:0},this.maxWidth=void 0,this.maxHeight=void 0,this.paddingTop=void 0,this.paddingBottom=void 0,this.paddingLeft=void 0,this.paddingRight=void 0,this.axis=void 0,this.labelRotation=void 0,this.min=void 0,this.max=void 0,this._range=void 0,this.ticks=[],this._gridLineItems=null,this._labelItems=null,this._labelSizes=null,this._length=0,this._maxLength=0,this._longestTextCache={},this._startPixel=void 0,this._endPixel=void 0,this._reversePixels=!1,this._userMax=void 0,this._userMin=void 0,this._suggestedMax=void 0,this._suggestedMin=void 0,this._ticksLength=0,this._borderValue=0,this._cache={},this._dataLimitsCached=!1,this.$context=void 0}init(t){this.options=t.setContext(this.getContext()),this.axis=t.axis,this._userMin=this.parse(t.min),this._userMax=this.parse(t.max),this._suggestedMin=this.parse(t.suggestedMin),this._suggestedMax=this.parse(t.suggestedMax)}parse(t,e){return t}getUserBounds(){let{_userMin:t,_userMax:e,_suggestedMin:i,_suggestedMax:n}=this;return t=v(t,Number.POSITIVE_INFINITY),e=v(e,Number.NEGATIVE_INFINITY),i=v(i,Number.POSITIVE_INFINITY),n=v(n,Number.NEGATIVE_INFINITY),{min:v(t,i),max:v(e,n),minDefined:m(t),maxDefined:m(e)}}getMinMax(t){let e,{min:i,max:n,minDefined:a,maxDefined:o}=this.getUserBounds();if(a&&o)return{min:i,max:n};const s=this.getMatchingVisibleMetas();for(let r=0,l=s.length;r<l;++r)e=s[r].controller.getMinMax(this,t),a||(i=Math.min(i,e.min)),o||(n=Math.max(n,e.max));return i=o&&i>n?n:i,n=a&&i>n?i:n,{min:v(i,v(n,i)),max:v(n,v(i,n))}}getPadding(){return{left:this.paddingLeft||0,top:this.paddingTop||0,right:this.paddingRight||0,bottom:this.paddingBottom||0}}getTicks(){return this.ticks}getLabels(){const t=this.chart.data;return this.options.labels||(this.isHorizontal()?t.xLabels:t.yLabels)||t.labels||[]}beforeLayout(){this._cache={},this._dataLimitsCached=!1}beforeUpdate(){k(this.options.beforeUpdate,[this])}update(t,e,i){const{beginAtZero:n,grace:a,ticks:o}=this.options,s=o.sampleSize;this.beforeUpdate(),this.maxWidth=t,this.maxHeight=e,this._margins=i=Object.assign({left:0,right:0,top:0,bottom:0},i),this.ticks=null,this._labelSizes=null,this._gridLineItems=null,this._labelItems=null,this.beforeSetDimensions(),this.setDimensions(),this.afterSetDimensions(),this._maxLength=this.isHorizontal()?this.width+i.left+i.right:this.height+i.top+i.bottom,this._dataLimitsCached||(this.beforeDataLimits(),this.determineDataLimits(),this.afterDataLimits(),this._range=function(t,e,i){const{min:n,max:a}=t,o=y(e,(a-n)/2),s=(t,e)=>i&&0===t?0:t+e;return{min:s(n,-Math.abs(o)),max:s(a,o)}}(this,a,n),this._dataLimitsCached=!0),this.beforeBuildTicks(),this.ticks=this.buildTicks()||[],this.afterBuildTicks();const r=s<this.ticks.length;this._convertTicksToLabels(r?Fn(this.ticks,s):this.ticks),this.configure(),this.beforeCalculateLabelRotation(),this.calculateLabelRotation(),this.afterCalculateLabelRotation(),o.display&&(o.autoSkip||"auto"===o.source)&&(this.ticks=function(t,e){const i=t.options.ticks,n=i.maxTicksLimit||function(t){const e=t.options.offset,i=t._tickSize(),n=t._length/i+(e?0:1),a=t._maxLength/i;return Math.floor(Math.min(n,a))}(t),a=i.major.enabled?function(t){const e=[];let i,n;for(i=0,n=t.length;i<n;i++)t[i].major&&e.push(i);return e}(e):[],o=a.length,s=a[0],r=a[o-1],l=[];if(o>n)return function(t,e,i,n){let a,o=0,s=i[0];for(n=Math.ceil(n),a=0;a<t.length;a++)a===s&&(e.push(t[a]),o++,s=i[o*n])}(e,l,a,o/n),l;const c=function(t,e,i){const n=function(t){const e=t.length;let i,n;if(e<2)return!1;for(n=t[0],i=1;i<e;++i)if(t[i]-t[i-1]!==n)return!1;return n}(t),a=e.length/i;if(!n)return Math.max(a,1);const o=function(t){const e=[],i=Math.sqrt(t);let n;for(n=1;n<i;n++)t%n==0&&(e.push(n),e.push(t/n));return i===(0|i)&&e.push(i),e.sort(((t,e)=>t-e)).pop(),e}(n);for(let t=0,e=o.length-1;t<e;t++){const e=o[t];
vendor: 15,331 bytes, line 1
1if(e>a)return e}return Math.max(a,1)}(a,e,n);if(o>0){let t,i;const n=o>1?Math.round((r-s)/(o-1)):null;for(In(e,l,c,p(n)?0:s-n,s),t=0,i=o-1;t<i;t++)In(e,l,c,a[t],a[t+1]);return In(e,l,c,r,p(n)?e.length:r+n),l}return In(e,l,c),l}(this,this.ticks),this._labelSizes=null),r&&this._convertTicksToLabels(this.ticks),this.beforeFit(),this.fit(),this.afterFit(),this.afterUpdate()}configure(){let t,e,i=this.options.reverse;this.isHorizontal()?(t=this.left,e=this.right):(t=this.top,e=this.bottom,i=!i),this._startPixel=t,this._endPixel=e,this._reversePixels=i,this._length=e-t,this._alignToPixels=this.options.alignToPixels}afterUpdate(){k(this.options.afterUpdate,[this])}beforeSetDimensions(){k(this.options.beforeSetDimensions,[this])}setDimensions(){this.isHorizontal()?(this.width=this.maxWidth,this.left=0,this.right=this.width):(this.height=this.maxHeight,this.top=0,this.bottom=this.height),this.paddingLeft=0,this.paddingTop=0,this.paddingRight=0,this.paddingBottom=0}afterSetDimensions(){k(this.options.afterSetDimensions,[this])}_callHooks(t){this.chart.notifyPlugins(t,this.getContext()),k(this.options[t],[this])}beforeDataLimits(){this._callHooks("beforeDataLimits")}determineDataLimits(){}afterDataLimits(){this._callHooks("afterDataLimits")}beforeBuildTicks(){this._callHooks("beforeBuildTicks")}buildTicks(){return[]}afterBuildTicks(){this._callHooks("afterBuildTicks")}beforeTickToLabelConversion(){k(this.options.beforeTickToLabelConversion,[this])}generateTickLabels(t){const e=this.options.ticks;let i,n,a;for(i=0,n=t.length;i<n;i++)a=t[i],a.label=k(e.callback,[a.value,i,t],this)}afterTickToLabelConversion(){k(this.options.afterTickToLabelConversion,[this])}beforeCalculateLabelRotation(){k(this.options.beforeCalculateLabelRotation,[this])}calculateLabelRotation(){const t=this.options,e=t.ticks,i=this.ticks.length,n=e.minRotation||0,a=e.maxRotation;let o,s,r,l=n;if(!this._isVisible()||!e.display||n>=a||i<=1||!this.isHorizontal())return void(this.labelRotation=n);const c=this._getLabelSizes(),d=c.widest.width,u=c.highest.height,h=at(this.chart.width-d,0,this.maxWidth);o=t.offset?this.maxWidth/i:h/(i-1),d+6>o&&(o=h/(i-(t.offset?.5:1)),s=this.maxHeight-zn(t.grid)-e.padding-Hn(t.title,this.chart.options.font),r=Math.sqrt(d*d+u*u),l=q(Math.min(Math.asin(at((c.highest.height+6)/o,-1,1)),Math.asin(at(s/r,-1,1))-Math.asin(at(u/r,-1,1)))),l=Math.max(n,Math.min(a,l))),this.labelRotation=l}afterCalculateLabelRotation(){k(this.options.afterCalculateLabelRotation,[this])}beforeFit(){k(this.options.beforeFit,[this])}fit(){const t={width:0,height:0},{chart:e,options:{ticks:i,title:n,grid:a}}=this,o=this._isVisible(),s=this.isHorizontal();if(o){const o=Hn(n,e.options.font);if(s?(t.width=this.maxWidth,t.height=zn(a)+o):(t.height=this.maxHeight,t.width=zn(a)+o),i.display&&this.ticks.length){const{first:e,last:n,widest:a,highest:o}=this._getLabelSizes(),r=2*i.padding,l=G(this.labelRotation),c=Math.cos(l),d=Math.sin(l);if(s){const e=i.mirror?0:d*a.width+c*o.height;t.height=Math.min(this.maxHeight,t.height+e+r)}else{const e=i.mirror?0:c*a.width+d*o.height;t.width=Math.min(this.maxWidth,t.width+e+r)}this._calculatePadding(e,n,d,c)}}this._handleMargins(),s?(this.width=this._length=e.width-this._margins.left-this._margins.right,this.height=t.height):(this.width=t.width,this.height=this._length=e.height-this._margins.top-this._margins.bottom)}_calculatePadding(t,e,i,n){const{ticks:{align:a,padding:o},position:s}=this.options,r=0!==this.labelRotation,l="top"!==s&&"x"===this.axis;if(this.isHorizontal()){const s=this.getPixelForTick(0)-this.left,c=this.right-this.getPixelForTick(this.ticks.length-1);let d=0,u=0;r?l?(d=n*t.width,u=i*e.height):(d=i*t.height,u=n*e.width):"start"===a?u=e.width:"end"===a?d=t.width:(d=t.width/2,u=e.width/2),this.paddingLeft=Math.max((d-s+o)*this.width/(this.width-s),0),this.paddingRight=Math.max((u-c+o)*this.width/(this.width-c),0)}else{let i=e.height/2,n=t.height/2;"start"===a?(i=0,n=t.height):"end"===a&&(i=e.height,n=0),this.paddingTop=i+o,this.paddingBottom=n+o}}_handleMargins(){this._margins&&(this._margins.left=Math.max(this.paddingLeft,this._margins.left),this._margins.top=Math.max(this.paddingTop,this._margins.top),this._margins.right=Math.max(this.paddingRight,this._margins.right),this._margins.bottom=Math.max(this.paddingBottom,this._margins.bottom))}afterFit(){k(this.options.afterFit,[this])}isHorizontal(){const{axis:t,position:e}=this.options;return"top"===e||"bottom"===e||"x"===t}isFullSize(){return this.options.fullSize}_convertTicksToLabels(t){let e,i;for(this.beforeTickToLabelConversion(),this.generateTickLabels(t),e=0,i=t.length;e<i;e++)p(t[e].label)&&(t.splice(e,1),i--,e--);this.afterTickToLabelConversion()}_getLabelSizes(){let t=this._labelSizes;if(!t){const e=this.options.ticks.sampleSize;let i=this.ticks;e<i.length&&(i=Fn(i,e)),this._labelSizes=t=this._computeLabelSizes(i,i.length)}return t}_computeLabelSizes(t,e){const{ctx:i,_longestTextCache:n}=this,a=[],o=[];let s,r,l,c,d,u,h,f,g,m,v,x=0,y=0;for(s=0;s<e;++s){if(c=t[s].label,d=this._resolveTickFontOptions(s),i.font=u=d.string,h=n[u]=n[u]||{data:{},gc:[]},f=d.lineHeight,g=m=0,p(c)||b(c)){if(b(c))for(r=0,l=c.length;r<l;++r)v=c[r],p(v)||b(v)||(g=Yt(i,h.data,h.gc,g,v),m+=f)}else g=Yt(i,h.data,h.gc,g,c),m=f;a.push(g),o.push(m),x=Math.max(g,x),y=Math.max(m,y)}!function(t,e){_(t,(t=>{const i=t.gc,n=i.length/2;let a;if(n>e){for(a=0;a<n;++a)delete t.data[i[a]];i.splice(0,n)}}))}(n,e);const k=a.indexOf(x),w=o.indexOf(y),M=t=>({width:a[t]||0,height:o[t]||0});return{first:M(0),last:M(e-1),widest:M(k),highest:M(w),widths:a,heights:o}}getLabelForValue(t){return t}getPixelForValue(t,e){return NaN}getValueForPixel(t){}getPixelForTick(t){const e=this.ticks;return t<0||t>e.length-1?null:this.getPixelForValue(e[t].value)}getPixelForDecimal(t){this._reversePixels&&(t=1-t);const e=this._startPixel+t*this._length;return at(this._alignToPixels?Qt(this.chart,e,0):e,-32768,32767)}getDecimalForPixel(t){const e=(t-this._startPixel)/this._length;return this._reversePixels?1-e:e}getBasePixel(){return this.getPixelForValue(this.getBaseValue())}getBaseValue(){const{min:t,max:e}=this;return t<0&&e<0?e:t>0&&e>0?t:0}getContext(t){const e=this.ticks||[];if(t>=0&&t<e.length){const i=e[t];return i.$context||(i.$context=function(t,e,i){return be(t,{tick:i,index:e,type:"tick"})}(this.getContext(),t,i))}return this.$context||(this.$context=be(this.chart.getContext(),{scale:this,type:"scale"}))}_tickSize(){const t=this.options.ticks,e=G(this.labelRotation),i=Math.abs(Math.cos(e)),n=Math.abs(Math.sin(e)),a=this._getLabelSizes(),o=t.autoSkipPadding||0,s=a?a.widest.width+o:0,r=a?a.highest.height+o:0;return this.isHorizontal()?r*i>s*n?s/i:r/n:r*n<s*i?r/i:s/n}_isVisible(){const t=this.options.display;return"auto"!==t?!!t:this.getMatchingVisibleMetas().length>0}_computeGridLineItems(t){const e=this.axis,i=this.chart,n=this.options,{grid:a,position:o}=n,s=a.offset,r=this.isHorizontal(),l=this.ticks.length+(s?1:0),c=zn(a),d=[],u=a.setContext(this.getContext()),h=u.drawBorder?u.borderWidth:0,f=h/2,p=function(t){return Qt(i,t,h)};let b,m,v,y,k,_,w,M,S,T,A,j;if("top"===o)b=p(this.bottom),_=this.bottom-c,M=b-f,T=p(t.top)+f,j=t.bottom;else if("bottom"===o)b=p(this.top),T=t.top,j=p(t.bottom)-f,_=b+f,M=this.top+c;else if("left"===o)b=p(this.right),k=this.right-c,w=b-f,S=p(t.left)+f,A=t.right;else if("right"===o)b=p(this.left),S=t.left,A=p(t.right)-f,k=b+f,w=this.left+c;else if("x"===e){if("center"===o)b=p((t.top+t.bottom)/2+.5);else if(g(o)){const t=Object.keys(o)[0],e=o[t];b=p(this.chart.scales[t].getPixelForValue(e))}T=t.top,j=t.bottom,_=b+f,M=_+c}else if("y"===e){if("center"===o)b=p((t.left+t.right)/2);else if(g(o)){const t=Object.keys(o)[0],e=o[t];b=p(this.chart.scales[t].getPixelForValue(e))}k=b-f,w=k-c,S=t.left,A=t.right}const E=x(n.ticks.maxTicksLimit,l),D=Math.max(1,Math.ceil(l/E));for(m=0;m<l;m+=D){const t=a.setContext(this.getContext(m)),e=t.lineWidth,n=t.color,o=a.borderDash||[],l=t.borderDashOffset,c=t.tickWidth,u=t.tickColor,h=t.tickBorderDash||[],f=t.tickBorderDashOffset;v=Nn(this,m,s),void 0!==v&&(y=Qt(i,v,e),r?k=w=S=A=y:_=M=T=j=y,d.push({tx1:k,ty1:_,tx2:w,ty2:M,x1:S,y1:T,x2:A,y2:j,width:e,color:n,borderDash:o,borderDashOffset:l,tickWidth:c,tickColor:u,tickBorderDash:h,tickBorderDashOffset:f}))}return this._ticksLength=l,this._borderValue=b,d}_computeLabelItems(t){const e=this.axis,i=this.options,{position:n,ticks:a}=i,o=this.isHorizontal(),s=this.ticks,{align:r,crossAlign:l,padding:c,mirror:d}=a,u=zn(i.grid),h=u+c,f=d?-c:h,p=-G(this.labelRotation),m=[];let v,x,y,k,_,w,M,S,T,A,j,E,D="middle";if("top"===n)w=this.bottom-f,M=this._getXAxisLabelAlignment();else if("bottom"===n)w=this.top+f,M=this._getXAxisLabelAlignment();else if("left"===n){const t=this._getYAxisLabelAlignment(u);M=t.textAlign,_=t.x}else if("right"===n){const t=this._getYAxisLabelAlignment(u);M=t.textAlign,_=t.x}else if("x"===e){if("center"===n)w=(t.top+t.bottom)/2+h;else if(g(n)){const t=Object.keys(n)[0],e=n[t];w=this.chart.scales[t].getPixelForValue(e)+h}M=this._getXAxisLabelAlignment()}else if("y"===e){if("center"===n)_=(t.left+t.right)/2-h;else if(g(n)){const t=Object.keys(n)[0],e=n[t];_=this.chart.scales[t].getPixelForValue(e)}M=this._getYAxisLabelAlignment(u).textAlign}"y"===e&&("start"===r?D="top":"end"===r&&(D="bottom"));const P=this._getLabelSizes();for(v=0,x=s.length;v<x;++v){y=s[v],k=y.label;const t=a.setContext(this.getContext(v));S=this.getPixelForTick(v)+a.labelOffset,T=this._resolveTickFontOptions(v),A=T.lineHeight,j=b(k)?k.length:1;const e=j/2,i=t.color,r=t.textStrokeColor,c=t.textStrokeWidth;let u;if(o?(_=S,E="top"===n?"near"===l||0!==p?-j*A+A/2:"center"===l?-P.highest.height/2-e*A+A:-P.highest.height+A/2:"near"===l||0!==p?A/2:"center"===l?P.highest.height/2-e*A:P.highest.height-j*A,d&&(E*=-1)):(w=S,E=(1-j)*A/2),t.showLabelBackdrop){const e=he(t.backdropPadding),i=P.heights[v],n=P.widths[v];let a=w+E-e.top,o=_-e.left;switch(D){case"middle":a-=i/2;break;case"bottom":a-=i}switch(M){case"center":o-=n/2;break;case"right":o-=n}u={left:o,top:a,width:n+e.width,height:i+e.height,color:t.backdropColor}}m.push({rotation:p,label:k,font:T,color:i,strokeColor:r,strokeWidth:c,textOffset:E,textAlign:M,textBaseline:D,translation:[_,w],backdrop:u})}return m}_getXAxisLabelAlignment(){const{position:t,ticks:e}=this.options;if(-G(this.labelRotation))return"top"===t?"left":"right";let i="center";return"start"===e.align?i="left":"end"===e.align&&(i="right"),i}_getYAxisLabelAlignment(t){const{position:e,ticks:{crossAlign:i,mirror:n,padding:a}}=this.options,o=t+a,s=this._getLabelSizes().widest.width;let r,l;return"left"===e?n?(l=this.right+a,"near"===i?r="left":"center"===i?(r="center",l+=s/2):(r="right",l+=s)):(l=this.right-o,"near"===i?r="right":"center"===i?(r="center",l-=s/2):(r="left",l=this.left)):"right"===e?n?(l=this.left+a,"near"===i?r="right":"center"===i?(r="center",l-=s/2):(r="left",l-=s)):(l=this.left+o,"near"===i?r="left":"center"===i?(r="center",l+=s/2):(r="right",l=this.right)):r="right",{textAlign:r,x:l}}_computeLabelArea(){if(this.options.ticks.mirror)return;const t=this.chart,e=this.options.position;return"left"===e||"right"===e?{top:0,left:this.left,bottom:t.height,right:this.right}:"top"===e||"bottom"===e?{top:this.top,left:0,bottom:this.bottom,right:t.width}:void 0}drawBackground(){const{ctx:t,options:{backgroundColor:e},left:i,top:n,width:a,height:o}=this;e&&(t.save(),t.fillStyle=e,t.fillRect(i,n,a,o),t.restore())}getLineWidthForValue(t){const e=this.options.grid;if(!this._isVisible()||!e.display)return 0;const i=this.ticks.findIndex((e=>e.value===t));return i>=0?e.setContext(this.getContext(i)).lineWidth:0}drawGrid(t){const e=this.options.grid,i=this.ctx,n=this._gridLineItems||(this._gridLineItems=this._computeGridLineItems(t));let a,o;const s=(t,e,n)=>{n.width&&n.color&&(i.save(),i.lineWidth=n.width,i.strokeStyle=n.color,i.setLineDash(n.borderDash||[]),i.lineDashOffset=n.borderDashOffset,i.beginPath(),i.moveTo(t.x,t.y),i.lineTo(e.x,e.y),i.stroke(),i.restore())};if(e.display)for(a=0,o=n.length;a<o;++a){const t=n[a];e.drawOnChartArea&&s({x:t.x1,y:t.y1},{x:t.x2,y:t.y2},t),e.drawTicks&&s({x:t.tx1,y:t.ty1},{x:t.tx2,y:t.ty2},{color:t.tickColor,width:t.tickWidth,borderDash:t.tickBorderDash,borderDashOffset:t.tickBorderDashOffset})}}drawBorder(){const{chart:t,ctx:e,options:{grid:i}}=this,n=i.setContext(this.getContext()),a=i.drawBorder?n.borderWidth:0;if(!a)return;const o=i.setContext(this.getContext(0)).lineWidth,s=this._borderValue;let r,l,c,d;this.isHorizontal()?(r=Qt(t,this.left,a)-a/2,l=Qt(t,this.right,o)+o/2,c=d=s):(c=Qt(t,this.top,a)-a/2,d=Qt(t,this.bottom,o)+o/2,r=l=s),e.save(),e.lineWidth=n.borderWidth,e.strokeStyle=n.borderColor,e.beginPath(),e.moveTo(r,c),e.lineTo(l,d),e.stroke(),e.restore()}drawLabels(t){if(!this.options.ticks.display)return;const e=this.ctx,i=this._computeLabelArea();i&&Zt(e,i);const n=this._labelItems||(this._labelItems=this._computeLabelItems(t));let a,o;for(a=0,o=n.length;a<o;++a){const t=n[a],i=t.font,o=t.label;t.backdrop&&(e.fillStyle=t.backdrop.color,e.fillRect(t.backdrop.left,t.backdrop.top,t.backdrop.width,t.backdrop.height)),ne(e,o,0,t.textOffset,i,t)}i&&te(e)}drawTitle(){const{ctx:t,options:{position:e,title:i,reverse:n}}=this;if(!i.display)return;const a=fe(i.font),o=he(i.padding),s=i.align;let r=a.lineHeight/2;"bottom"===e||"center"===e||g(e)?(r+=o.bottom,b(i.text)&&(r+=a.lineHeight*(i.text.length-1))):r+=o.top;const{titleX:l,titleY:c,maxWidth:d,rotation:h}=function(t,e,i,n){const{top:a,left:o,bottom:s,right:r,chart:l}=t,{chartArea:c,scales:d}=l;let h,f,p,b=0;const m=s-a,v=r-o;if(t.isHorizontal()){if(f=u(n,o,r),g(i)){const t=Object.keys(i)[0],n=i[t];p=d[t].getPixelForValue(n)+m-e}else p="center"===i?(c.bottom+c.top)/2+m-e:Ln(t,i,e);h=r-o}else{if(g(i)){const t=Object.keys(i)[0],n=i[t];f=d[t].getPixelForValue(n)-v+e}else f="center"===i?(c.left+c.right)/2-v+e:Ln(t,i,e);p=u(n,s,a),b="left"===i?-H:H}return{titleX:f,titleY:p,maxWidth:h,rotation:b}}(this,r,e,s);ne(t,i.text,0,0,a,{color:i.color,maxWidth:d,rotation:h,textAlign:Vn(s,e,n),textBaseline:"middle",translation:[l,c]})}draw(t){this._isVisible()&&(this.drawBackground(),this.drawGrid(t),this.drawBorder(),this.drawTitle(),this.drawLabels(t))}_layers(){const t=this.options,e=t.ticks&&t.ticks.z||0,i=x(t.grid&&t.grid.z,-1);return this._isVisible()&&this.draw===Kn.prototype.draw?[{z:i,draw:t=>{this.drawBackground(),this.drawGrid(t),this.drawTitle()}},{z:i+1,draw:()=>{this.drawBorder()}},{z:e,draw:t=>{this.drawLabels(t)}}]:[{z:e,draw:t=>{this.draw(t)}}]}getMatchingVisibleMetas(t){const e=this.chart.getSortedVisibleDatasetMetas(),i=this.axis+"AxisID",n=[];let a,o;for(a=0,o=e.length;a<o;++a){const o=e[a];o[i]!==this.id||t&&o.type!==t||n.push(o)}return n}_resolveTickFontOptions(t){return fe(this.options.ticks.setContext(this.getContext(t)).font)}_maxDigits(){const t=this._resolveTickFontOptions(0).lineHeight;return(this.isHorizontal()?this.width:this.height)/t}}class Wn{constructor(t,e,i){this.type=t,this.scope=e,this.override=i,this.items=Object.create(null)}isForType(t){return Object.prototype.isPrototypeOf.call(this.type.prototype,t.prototype)}register(t){const e=Object.getPrototypeOf(t);let i;(function(t){return"id"in t&&"defaults"in t})(e)&&(i=this.register(e));const n=this.items,a=t.id,o=this.scope+"."+a;if(!a)throw new Error("class does not have id: "+t);
vendor: 4,185 bytes, line 1
1return a in n||(n[a]=t,function(t,e,i){const n=A(Object.create(null),[i?Ut.get(i):{},Ut.get(e),t.defaults]);Ut.set(e,n),t.defaultRoutes&&function(t,e){Object.keys(e).forEach((i=>{const n=i.split("."),a=n.pop(),o=[t].concat(n).join("."),s=e[i].split("."),r=s.pop(),l=s.join(".");Ut.route(o,a,l,r)}))}(e,t.defaultRoutes),t.descriptors&&Ut.describe(e,t.descriptors)}(t,o,i),this.override&&Ut.override(t.id,t.overrides)),o}get(t){return this.items[t]}unregister(t){const e=this.items,i=t.id,n=this.scope;i in e&&delete e[i],n&&i in Ut[n]&&(delete Ut[n][i],this.override&&delete Vt[i])}}var $n=new class{constructor(){this.controllers=new Wn(Ei,"datasets",!0),this.elements=new Wn(On,"elements"),this.plugins=new Wn(Object,"plugins"),this.scales=new Wn(Kn,"scales"),this._typedRegistries=[this.controllers,this.scales,this.elements]}add(...t){this._each("register",t)}remove(...t){this._each("unregister",t)}addControllers(...t){this._each("register",t,this.controllers)}addElements(...t){this._each("register",t,this.elements)}addPlugins(...t){this._each("register",t,this.plugins)}addScales(...t){this._each("register",t,this.scales)}getController(t){return this._get(t,this.controllers,"controller")}getElement(t){return this._get(t,this.elements,"element")}getPlugin(t){return this._get(t,this.plugins,"plugin")}getScale(t){return this._get(t,this.scales,"scale")}removeControllers(...t){this._each("unregister",t,this.controllers)}removeElements(...t){this._each("unregister",t,this.elements)}removePlugins(...t){this._each("unregister",t,this.plugins)}removeScales(...t){this._each("unregister",t,this.scales)}_each(t,e,i){[...e].forEach((e=>{const n=i||this._getRegistryForType(e);i||n.isForType(e)||n===this.plugins&&e.id?this._exec(t,n,e):_(e,(e=>{const n=i||this._getRegistryForType(e);this._exec(t,n,e)}))}))}_exec(t,e,i){const n=C(t);k(i["before"+n],[],i),e[t](i),k(i["after"+n],[],i)}_getRegistryForType(t){for(let e=0;e<this._typedRegistries.length;e++){const i=this._typedRegistries[e];if(i.isForType(t))return i}return this.plugins}_get(t,e,i){const n=e.get(t);if(void 0===n)throw new Error('"'+t+'" is not a registered '+i+".");return n}};class Un{constructor(){this._init=[]}notify(t,e,i,n){"beforeInit"===e&&(this._init=this._createDescriptors(t,!0),this._notify(this._init,t,"install"));const a=n?this._descriptors(t).filter(n):this._descriptors(t),o=this._notify(a,t,e,i);return"afterDestroy"===e&&(this._notify(a,t,"stop"),this._notify(this._init,t,"uninstall")),o}_notify(t,e,i,n){n=n||{};for(const a of t){const t=a.plugin;if(!1===k(t[i],[e,n,a.options],t)&&n.cancelable)return!1}return!0}invalidate(){p(this._cache)||(this._oldCache=this._cache,this._cache=void 0)}_descriptors(t){if(this._cache)return this._cache;const e=this._cache=this._createDescriptors(t);return this._notifyStateChanges(t),e}_createDescriptors(t,e){const i=t&&t.config,n=x(i.options&&i.options.plugins,{}),a=function(t){const e=[],i=Object.keys($n.plugins.items);for(let t=0;t<i.length;t++)e.push($n.getPlugin(i[t]));const n=t.plugins||[];for(let t=0;t<n.length;t++){const i=n[t];-1===e.indexOf(i)&&e.push(i)}return e}(i);return!1!==n||e?function(t,e,i,n){const a=[],o=t.getContext();for(let s=0;s<e.length;s++){const r=e[s],l=Yn(i[r.id],n);null!==l&&a.push({plugin:r,options:Xn(t.config,r,l,o)})}return a}(t,a,n,e):[]}_notifyStateChanges(t){const e=this._oldCache||[],i=this._cache,n=(t,e)=>t.filter((t=>!e.some((e=>t.plugin.id===e.plugin.id))));this._notify(n(e,i),t,"stop"),this._notify(n(i,e),t,"start")}}function Yn(t,e){return e||!1!==t?!0===t?{}:t:null}function Xn(t,e,i,n){const a=t.pluginScopeKeys(e),o=t.getOptionScopes(i,a);return t.createResolver(o,n,[""],{scriptable:!1,indexable:!1,allKeys:!0})}function Qn(t,e){const i=Ut.datasets[t]||{};return((e.datasets||{})[t]||{}).indexAxis||e.indexAxis||i.indexAxis||"x"}function Gn(t,e){return"x"===t||"y"===t?t:e.axis||("top"===(i=e.position)||"bottom"===i?"x":"left"===i||"right"===i?"y":void 0)||t.charAt(0).toLowerCase();var i}function qn(t){const e=t.options||(t.options={});e.plugins=x(e.plugins,{}),e.scales=function(t,e){const i=Vt[t.type]||{scales:{}},n=e.scales||{},a=Qn(t.type,e),o=Object.create(null),s=Object.create(null);
vendor: 12,552 bytes, line 1
1return Object.keys(n).forEach((t=>{const e=n[t];if(!g(e))return console.error(`Invalid scale configuration for scale: ${t}`);if(e._proxy)return console.warn(`Ignoring resolver passed as options for scale: ${t}`);const r=Gn(t,e),l=function(t,e){return t===e?"_index_":"_value_"}(r,a),c=i.scales||{};o[r]=o[r]||t,s[t]=j(Object.create(null),[{axis:r},e,c[r],c[l]])})),t.data.datasets.forEach((i=>{const a=i.type||t.type,r=i.indexAxis||Qn(a,e),l=(Vt[a]||{}).scales||{};Object.keys(l).forEach((t=>{const e=function(t,e){let i=t;return"_index_"===t?i=e:"_value_"===t&&(i="x"===e?"y":"x"),i}(t,r),a=i[e+"AxisID"]||o[e]||e;s[a]=s[a]||Object.create(null),j(s[a],[{axis:e},n[a],l[t]])}))})),Object.keys(s).forEach((t=>{const e=s[t];j(e,[Ut.scales[e.type],Ut.scale])})),s}(t,e)}function Jn(t){return(t=t||{}).datasets=t.datasets||[],t.labels=t.labels||[],t}const Zn=new Map,ta=new Set;function ea(t,e){let i=Zn.get(t);return i||(i=e(),Zn.set(t,i),ta.add(i)),i}const ia=(t,e,i)=>{const n=P(e,i);void 0!==n&&t.add(n)};class na{constructor(t){this._config=function(t){return(t=t||{}).data=Jn(t.data),qn(t),t}(t),this._scopeCache=new Map,this._resolverCache=new Map}get platform(){return this._config.platform}get type(){return this._config.type}set type(t){this._config.type=t}get data(){return this._config.data}set data(t){this._config.data=Jn(t)}get options(){return this._config.options}set options(t){this._config.options=t}get plugins(){return this._config.plugins}update(){const t=this._config;this.clearCache(),qn(t)}clearCache(){this._scopeCache.clear(),this._resolverCache.clear()}datasetScopeKeys(t){return ea(t,(()=>[[`datasets.${t}`,""]]))}datasetAnimationScopeKeys(t,e){return ea(`${t}.transition.${e}`,(()=>[[`datasets.${t}.transitions.${e}`,`transitions.${e}`],[`datasets.${t}`,""]]))}datasetElementScopeKeys(t,e){return ea(`${t}-${e}`,(()=>[[`datasets.${t}.elements.${e}`,`datasets.${t}`,`elements.${e}`,""]]))}pluginScopeKeys(t){const e=t.id;return ea(`${this.type}-plugin-${e}`,(()=>[[`plugins.${e}`,...t.additionalOptionScopes||[]]]))}_cachedScopes(t,e){const i=this._scopeCache;let n=i.get(t);return n&&!e||(n=new Map,i.set(t,n)),n}getOptionScopes(t,e,i){const{options:n,type:a}=this,o=this._cachedScopes(t,i),s=o.get(e);if(s)return s;const r=new Set;e.forEach((e=>{t&&(r.add(t),e.forEach((e=>ia(r,t,e)))),e.forEach((t=>ia(r,n,t))),e.forEach((t=>ia(r,Vt[a]||{},t))),e.forEach((t=>ia(r,Ut,t))),e.forEach((t=>ia(r,Kt,t)))}));const l=Array.from(r);return 0===l.length&&l.push(Object.create(null)),ta.has(e)&&o.set(e,l),l}chartOptionScopes(){const{options:t,type:e}=this;return[t,Vt[e]||{},Ut.datasets[e]||{},{type:e},Ut,Kt]}resolveNamedOptions(t,e,i,n=[""]){const a={$shared:!0},{resolver:o,subPrefixes:s}=aa(this._resolverCache,t,n);let r=o;(function(t,e){const{isScriptable:i,isIndexable:n}=Me(t);for(const a of e){const e=i(a),o=n(a),s=(o||e)&&t[a];if(e&&(R(s)||oa(s))||o&&b(s))return!0}return!1})(o,e)&&(a.$shared=!1,r=we(o,i=R(i)?i():i,this.createResolver(t,i,s)));for(const t of e)a[t]=r[t];return a}createResolver(t,e,i=[""],n){const{resolver:a}=aa(this._resolverCache,t,i);return g(e)?we(a,e,void 0,n):a}}function aa(t,e,i){let n=t.get(e);n||(n=new Map,t.set(e,n));const a=i.join();let o=n.get(a);return o||(o={resolver:_e(e,i),subPrefixes:i.filter((t=>!t.toLowerCase().includes("hover")))},n.set(a,o)),o}const oa=t=>g(t)&&Object.getOwnPropertyNames(t).reduce(((e,i)=>e||R(t[i])),!1),sa=["top","bottom","left","right","chartArea"];function ra(t,e){return"top"===t||"bottom"===t||-1===sa.indexOf(t)&&"x"===e}function la(t,e){return function(i,n){return i[t]===n[t]?i[e]-n[e]:i[t]-n[t]}}function ca(t){const e=t.chart,i=e.options.animation;e.notifyPlugins("afterRender"),k(i&&i.onComplete,[t],e)}function da(t){const e=t.chart,i=e.options.animation;k(i&&i.onProgress,[t],e)}function ua(t){return He()&&"string"==typeof t?t=document.getElementById(t):t&&t.length&&(t=t[0]),t&&t.canvas&&(t=t.canvas),t}const ha={},fa=t=>{const e=ua(t);return Object.values(ha).filter((t=>t.canvas===e)).pop()};function pa(t,e,i){const n=Object.keys(t);for(const a of n){const n=+a;if(n>=e){const o=t[a];delete t[a],(i>0||n>e)&&(t[n+i]=o)}}}class ba{constructor(t,e){const i=this.config=new na(e),n=ua(t),a=fa(n);if(a)throw new Error("Canvas is already in use. Chart with ID '"+a.id+"' must be destroyed before the canvas can be reused.");const o=i.createResolver(i.chartOptionScopes(),this.getContext());this.platform=new(i.platform||function(t){return!He()||"undefined"!=typeof OffscreenCanvas&&t instanceof OffscreenCanvas?mn:Cn}(n)),this.platform.updateConfig(i);const s=this.platform.acquireContext(n,o.aspectRatio),r=s&&s.canvas,l=r&&r.height,c=r&&r.width;this.id=f(),this.ctx=s,this.canvas=r,this.width=c,this.height=l,this._options=o,this._aspectRatio=this.aspectRatio,this._layers=[],this._metasets=[],this._stacks=void 0,this.boxes=[],this.currentDevicePixelRatio=void 0,this.chartArea=void 0,this._active=[],this._lastEvent=void 0,this._listeners={},this._responsiveListeners=void 0,this._sortedMetasets=[],this.scales={},this._plugins=new Un,this.$proxies={},this._hiddenIndices={},this.attached=!1,this._animationsDisabled=void 0,this.$context=void 0,this._doResize=function(t,e){let i;return function(...n){return e?(clearTimeout(i),i=setTimeout(t,e,n)):t.apply(this,n),e}}((t=>this.update(t)),o.resizeDelay||0),this._dataChanges=[],ha[this.id]=this,s&&r?(hi.listen(this,"complete",ca),hi.listen(this,"progress",da),this._initialize(),this.attached&&this.update()):console.error("Failed to create chart: can't acquire context from the given item")}get aspectRatio(){const{options:{aspectRatio:t,maintainAspectRatio:e},width:i,height:n,_aspectRatio:a}=this;return p(t)?e&&a?a:n?i/n:null:t}get data(){return this.config.data}set data(t){this.config.data=t}get options(){return this._options}set options(t){this.config.options=t}_initialize(){return this.notifyPlugins("beforeInit"),this.options.responsive?this.resize():Qe(this,this.options.devicePixelRatio),this.bindEvents(),this.notifyPlugins("afterInit"),this}clear(){return Gt(this.canvas,this.ctx),this}stop(){return hi.stop(this),this}resize(t,e){hi.running(this)?this._resizeBeforeDraw={width:t,height:e}:this._resize(t,e)}_resize(t,e){const i=this.options,n=this.canvas,a=i.maintainAspectRatio&&this.aspectRatio,o=this.platform.getMaximumSize(n,t,e,a),s=i.devicePixelRatio||this.platform.getDevicePixelRatio(),r=this.width?"resize":"attach";this.width=o.width,this.height=o.height,this._aspectRatio=this.aspectRatio,Qe(this,s,!0)&&(this.notifyPlugins("resize",{size:o}),k(i.onResize,[this,o],this),this.attached&&this._doResize(r)&&this.render())}ensureScalesHaveIDs(){_(this.options.scales||{},((t,e)=>{t.id=e}))}buildOrUpdateScales(){const t=this.options,e=t.scales,i=this.scales,n=Object.keys(i).reduce(((t,e)=>(t[e]=!1,t)),{});let a=[];e&&(a=a.concat(Object.keys(e).map((t=>{const i=e[t],n=Gn(t,i),a="r"===n,o="x"===n;return{options:i,dposition:a?"chartArea":o?"bottom":"left",dtype:a?"radialLinear":o?"category":"linear"}})))),_(a,(e=>{const a=e.options,o=a.id,s=Gn(o,a),r=x(a.type,e.dtype);void 0!==a.position&&ra(a.position,s)===ra(e.dposition)||(a.position=e.dposition),n[o]=!0;let l=null;o in i&&i[o].type===r?l=i[o]:(l=new($n.getScale(r))({id:o,type:r,ctx:this.ctx,chart:this}),i[l.id]=l),l.init(a,t)})),_(n,((t,e)=>{t||delete i[e]})),_(i,(t=>{bn.configure(this,t,t.options),bn.addBox(this,t)}))}_updateMetasets(){const t=this._metasets,e=this.data.datasets.length,i=t.length;if(t.sort(((t,e)=>t.index-e.index)),i>e){for(let t=e;t<i;++t)this._destroyDatasetMeta(t);t.splice(e,i-e)}this._sortedMetasets=t.slice(0).sort(la("order","index"))}_removeUnreferencedMetasets(){const{_metasets:t,data:{datasets:e}}=this;t.length>e.length&&delete this._stacks,t.forEach(((t,i)=>{0===e.filter((e=>e===t._dataset)).length&&this._destroyDatasetMeta(i)}))}buildOrUpdateControllers(){const t=[],e=this.data.datasets;let i,n;for(this._removeUnreferencedMetasets(),i=0,n=e.length;i<n;i++){const n=e[i];let a=this.getDatasetMeta(i);const o=n.type||this.config.type;if(a.type&&a.type!==o&&(this._destroyDatasetMeta(i),a=this.getDatasetMeta(i)),a.type=o,a.indexAxis=n.indexAxis||Qn(o,this.options),a.order=n.order||0,a.index=i,a.label=""+n.label,a.visible=this.isDatasetVisible(i),a.controller)a.controller.updateIndex(i),a.controller.linkScales();else{const e=$n.getController(o),{datasetElementType:n,dataElementType:s}=Ut.datasets[o];Object.assign(e.prototype,{dataElementType:$n.getElement(s),datasetElementType:n&&$n.getElement(n)}),a.controller=new e(this,i),t.push(a.controller)}}return this._updateMetasets(),t}_resetElements(){_(this.data.datasets,((t,e)=>{this.getDatasetMeta(e).controller.reset()}),this)}reset(){this._resetElements(),this.notifyPlugins("reset")}update(t){const e=this.config;e.update();const i=this._options=e.createResolver(e.chartOptionScopes(),this.getContext()),n=this._animationsDisabled=!i.animation;if(this._updateScales(),this._checkEventBindings(),this._updateHiddenIndices(),this._plugins.invalidate(),!1===this.notifyPlugins("beforeUpdate",{mode:t,cancelable:!0}))return;const a=this.buildOrUpdateControllers();this.notifyPlugins("beforeElementsUpdate");let o=0;for(let t=0,e=this.data.datasets.length;t<e;t++){const{controller:e}=this.getDatasetMeta(t),i=!n&&-1===a.indexOf(e);e.buildOrUpdateElements(i),o=Math.max(+e.getMaxOverflow(),o)}o=this._minPadding=i.layout.autoPadding?o:0,this._updateLayout(o),n||_(a,(t=>{t.reset()})),this._updateDatasets(t),this.notifyPlugins("afterUpdate",{mode:t}),this._layers.sort(la("z","_idx"));const{_active:s,_lastEvent:r}=this;r?this._eventHandler(r,!0):s.length&&this._updateHoverStyles(s,s,!0),this.render()}_updateScales(){_(this.scales,(t=>{bn.removeBox(this,t)})),this.ensureScalesHaveIDs(),this.buildOrUpdateScales()}_checkEventBindings(){const t=this.options,e=new Set(Object.keys(this._listeners)),i=new Set(t.events);B(e,i)&&!!this._responsiveListeners===t.responsive||(this.unbindEvents(),this.bindEvents())}_updateHiddenIndices(){const{_hiddenIndices:t}=this,e=this._getUniformDataChanges()||[];for(const{method:i,start:n,count:a}of e)pa(t,n,"_removeElements"===i?-a:a)}_getUniformDataChanges(){const t=this._dataChanges;if(!t||!t.length)return;this._dataChanges=[];const e=this.data.datasets.length,i=e=>new Set(t.filter((t=>t[0]===e)).map(((t,e)=>e+","+t.splice(1).join(",")))),n=i(0);for(let t=1;t<e;t++)if(!B(n,i(t)))return;return Array.from(n).map((t=>t.split(","))).map((t=>({method:t[1],start:+t[2],count:+t[3]})))}_updateLayout(t){if(!1===this.notifyPlugins("beforeLayout",{cancelable:!0}))return;bn.update(this,this.width,this.height,t);const e=this.chartArea,i=e.width<=0||e.height<=0;this._layers=[],_(this.boxes,(t=>{i&&"chartArea"===t.position||(t.configure&&t.configure(),this._layers.push(...t._layers()))}),this),this._layers.forEach(((t,e)=>{t._idx=e})),this.notifyPlugins("afterLayout")}_updateDatasets(t){if(!1!==this.notifyPlugins("beforeDatasetsUpdate",{mode:t,cancelable:!0})){for(let t=0,e=this.data.datasets.length;t<e;++t)this.getDatasetMeta(t).controller.configure();for(let e=0,i=this.data.datasets.length;e<i;++e)this._updateDataset(e,R(t)?t({datasetIndex:e}):t);this.notifyPlugins("afterDatasetsUpdate",{mode:t})}}_updateDataset(t,e){const i=this.getDatasetMeta(t),n={meta:i,index:t,mode:e,cancelable:!0};!1!==this.notifyPlugins("beforeDatasetUpdate",n)&&(i.controller._update(e),n.cancelable=!1,this.notifyPlugins("afterDatasetUpdate",n))}render(){!1!==this.notifyPlugins("beforeRender",{cancelable:!0})&&(hi.has(this)?this.attached&&!hi.running(this)&&hi.start(this):(this.draw(),ca({chart:this})))}draw(){let t;if(this._resizeBeforeDraw){const{width:t,height:e}=this._resizeBeforeDraw;this._resize(t,e),this._resizeBeforeDraw=null}if(this.clear(),this.width<=0||this.height<=0)return;if(!1===this.notifyPlugins("beforeDraw",{cancelable:!0}))return;const e=this._layers;for(t=0;t<e.length&&e[t].z<=0;++t)e[t].draw(this.chartArea);for(this._drawDatasets();t<e.length;++t)e[t].draw(this.chartArea);this.notifyPlugins("afterDraw")}_getSortedDatasetMetas(t){const e=this._sortedMetasets,i=[];let n,a;for(n=0,a=e.length;n<a;++n){const a=e[n];t&&!a.visible||i.push(a)}return i}getSortedVisibleDatasetMetas(){return this._getSortedDatasetMetas(!0)}_drawDatasets(){if(!1===this.notifyPlugins("beforeDatasetsDraw",{cancelable:!0}))return;const t=this.getSortedVisibleDatasetMetas();for(let e=t.length-1;e>=0;--e)this._drawDataset(t[e]);this.notifyPlugins("afterDatasetsDraw")}_drawDataset(t){const e=this.ctx,i=t._clip,n=!i.disabled,a=this.chartArea,o={meta:t,index:t.index,cancelable:!0};
vendor: 4,642 bytes, line 1
1!1!==this.notifyPlugins("beforeDatasetDraw",o)&&(n&&Zt(e,{left:!1===i.left?0:a.left-i.left,right:!1===i.right?this.width:a.right+i.right,top:!1===i.top?0:a.top-i.top,bottom:!1===i.bottom?this.height:a.bottom+i.bottom}),t.controller.draw(),n&&te(e),o.cancelable=!1,this.notifyPlugins("afterDatasetDraw",o))}getElementsAtEventForMode(t,e,i,n){const a=nn.modes[e];return"function"==typeof a?a(this,t,i,n):[]}getDatasetMeta(t){const e=this.data.datasets[t],i=this._metasets;let n=i.filter((t=>t&&t._dataset===e)).pop();return n||(n={type:null,data:[],dataset:null,controller:null,hidden:null,xAxisID:null,yAxisID:null,order:e&&e.order||0,index:t,_dataset:e,_parsed:[],_sorted:!1},i.push(n)),n}getContext(){return this.$context||(this.$context=be(null,{chart:this,type:"chart"}))}getVisibleDatasetCount(){return this.getSortedVisibleDatasetMetas().length}isDatasetVisible(t){const e=this.data.datasets[t];if(!e)return!1;const i=this.getDatasetMeta(t);return"boolean"==typeof i.hidden?!i.hidden:!e.hidden}setDatasetVisibility(t,e){this.getDatasetMeta(t).hidden=!e}toggleDataVisibility(t){this._hiddenIndices[t]=!this._hiddenIndices[t]}getDataVisibility(t){return!this._hiddenIndices[t]}_updateVisibility(t,e,i){const n=i?"show":"hide",a=this.getDatasetMeta(t),o=a.controller._resolveAnimations(void 0,n);O(e)?(a.data[e].hidden=!i,this.update()):(this.setDatasetVisibility(t,i),o.update(a,{visible:i}),this.update((e=>e.datasetIndex===t?n:void 0)))}hide(t,e){this._updateVisibility(t,e,!1)}show(t,e){this._updateVisibility(t,e,!0)}_destroyDatasetMeta(t){const e=this._metasets[t];e&&e.controller&&e.controller._destroy(),delete this._metasets[t]}_stop(){let t,e;for(this.stop(),hi.remove(this),t=0,e=this.data.datasets.length;t<e;++t)this._destroyDatasetMeta(t)}destroy(){this.notifyPlugins("beforeDestroy");const{canvas:t,ctx:e}=this;this._stop(),this.config.clearCache(),t&&(this.unbindEvents(),Gt(t,e),this.platform.releaseContext(e),this.canvas=null,this.ctx=null),this.notifyPlugins("destroy"),delete ha[this.id],this.notifyPlugins("afterDestroy")}toBase64Image(...t){return this.canvas.toDataURL(...t)}bindEvents(){this.bindUserEvents(),this.options.responsive?this.bindResponsiveEvents():this.attached=!0}bindUserEvents(){const t=this._listeners,e=this.platform,i=(i,n)=>{e.addEventListener(this,i,n),t[i]=n},n=(t,e,i)=>{t.offsetX=e,t.offsetY=i,this._eventHandler(t)};_(this.options.events,(t=>i(t,n)))}bindResponsiveEvents(){this._responsiveListeners||(this._responsiveListeners={});const t=this._responsiveListeners,e=this.platform,i=(i,n)=>{e.addEventListener(this,i,n),t[i]=n},n=(i,n)=>{t[i]&&(e.removeEventListener(this,i,n),delete t[i])},a=(t,e)=>{this.canvas&&this.resize(t,e)};let o;const s=()=>{n("attach",s),this.attached=!0,this.resize(),i("resize",a),i("detach",o)};o=()=>{this.attached=!1,n("resize",a),this._stop(),this._resize(0,0),i("attach",s)},e.isAttached(this.canvas)?s():o()}unbindEvents(){_(this._listeners,((t,e)=>{this.platform.removeEventListener(this,e,t)})),this._listeners={},_(this._responsiveListeners,((t,e)=>{this.platform.removeEventListener(this,e,t)})),this._responsiveListeners=void 0}updateHoverStyle(t,e,i){const n=i?"set":"remove";let a,o,s,r;for("dataset"===e&&(a=this.getDatasetMeta(t[0].datasetIndex),a.controller["_"+n+"DatasetHoverStyle"]()),s=0,r=t.length;s<r;++s){o=t[s];const e=o&&this.getDatasetMeta(o.datasetIndex).controller;e&&e[n+"HoverStyle"](o.element,o.datasetIndex,o.index)}}getActiveElements(){return this._active||[]}setActiveElements(t){const e=this._active||[],i=t.map((({datasetIndex:t,index:e})=>{const i=this.getDatasetMeta(t);if(!i)throw new Error("No dataset found at index "+t);return{datasetIndex:t,element:i.data[e],index:e}}));!w(i,e)&&(this._active=i,this._lastEvent=null,this._updateHoverStyles(i,e))}notifyPlugins(t,e,i){return this._plugins.notify(this,t,e,i)}_updateHoverStyles(t,e,i){const n=this.options.hover,a=(t,e)=>t.filter((t=>!e.some((e=>t.datasetIndex===e.datasetIndex&&t.index===e.index)))),o=a(e,t),s=i?t:a(t,e);o.length&&this.updateHoverStyle(o,n.mode,!1),s.length&&n.mode&&this.updateHoverStyle(s,n.mode,!0)}_eventHandler(t,e){const i={event:t,replay:e,cancelable:!0,inChartArea:Jt(t,this.chartArea,this._minPadding)},n=e=>(e.options.events||this.options.events).includes(t.native.type);if(!1===this.notifyPlugins("beforeEvent",i,n))return;const a=this._handleEvent(t,e,i.inChartArea);return i.cancelable=!1,this.notifyPlugins("afterEvent",i,n),(a||i.changed)&&this.render(),this}_handleEvent(t,e,i){const{_active:n=[],options:a}=this,o=e,s=this._getActiveElements(t,n,i,o),r=function(t){return"mouseup"===t.type||"click"===t.type||"contextmenu"===t.type}
1(t),l=function(t,e,i,n){return i&&"mouseout"!==t.type?n?e:t:null}(t,this._lastEvent,i,r);i&&(this._lastEvent=null,k(a.onHover,[t,s,this],this),r&&k(a.onClick,[t,s,this],this));const c=!w(s,n);return(c||e)&&(this._active=s,this._updateHoverStyles(s,n,e)),this._lastEvent=l,c}_getActiveElements(t,e,i,n){if("mouseout"===t.type)return[];if(!i)return e;const a=this.options.hover;return this.getElementsAtEventForMode(t,a.mode,a,n)}}const ga=()=>_(ba.instances,(t=>t._plugins.invalidate())),ma=!0;function va(t,e,i){const{startAngle:n,pixelMargin:a,x:o,y:s,outerRadius:r,innerRadius:l}=e;let c=a/r;t.beginPath(),t.arc(o,s,r,n-c,i+c),l>a?(c=a/l,t.arc(o,s,l,i+c,n-c,!0)):t.arc(o,s,a,i+H,n-H),t.closePath(),t.clip()}function xa(t,e,i,n){return{x:i+t*Math.cos(e),y:n+t*Math.sin(e)}}function ya(t,e,i,n,a){const{x:o,y:s,startAngle:r,pixelMargin:l,innerRadius:c}=e,d=Math.max(e.outerRadius+n+i-l,0),u=c>0?c+n+i+l:0;let h=0;const f=a-r;if(n){const t=((c>0?c-n:0)+(d>0?d-n:0))/2;h=(f-(0!==t?f*t/(t+n):f))/2}const p=(f-Math.max(.001,f*d-i/I)/d)/2,b=r+p+h,g=a-p-h,{outerStart:m,outerEnd:v,innerStart:x,innerEnd:y}=function(t,e,i,n){const a=ce(t.options.borderRadius,["outerStart","outerEnd","innerStart","innerEnd"]),o=(i-e)/2,s=Math.min(o,n*e/2),r=t=>{const e=(i-Math.min(o,t))*n/2;return at(t,0,Math.min(o,e))};return{outerStart:r(a.outerStart),outerEnd:r(a.outerEnd),innerStart:at(a.innerStart,0,s),innerEnd:at(a.innerEnd,0,s)}}(e,u,d,g-b),k=d-m,_=d-v,w=b+m/k,M=g-v/_,S=u+x,T=u+y,A=b+x/S,j=g-y/T;if(t.beginPath(),t.arc(o,s,d,w,M),v>0){const e=xa(_,M,o,s);t.arc(e.x,e.y,v,M,g+H)}const E=xa(T,g,o,s);if(t.lineTo(E.x,E.y),y>0){const e=xa(T,j,o,s);t.arc(e.x,e.y,y,g+H,j+Math.PI)}if(t.arc(o,s,u,g-y/u,b+x/u,!0),x>0){const e=xa(S,A,o,s);t.arc(e.x,e.y,x,A+Math.PI,b-H)}const D=xa(k,b,o,s);if(t.lineTo(D.x,D.y),m>0){const e=xa(k,w,o,s);t.arc(e.x,e.y,m,b-H,w)}t.closePath()}Object.defineProperties(ba,{defaults:{enumerable:ma,value:Ut},instances:{enumerable:ma,value:ha},overrides:{enumerable:ma,value:Vt},registry:{enumerable:ma,value:$n},version:{enumerable:ma,value:"3.7.1"},getChart:{enumerable:ma,value:fa},register:{enumerable:ma,value:(...t)=>{$n.add(...t),ga()}},unregister:{enumerable:ma,value:(...t)=>{$n.remove(...t),ga()}}});class ka extends On{constructor(t){super(),this.options=void 0,this.circumference=void 0,this.startAngle=void 0,this.endAngle=void 0,this.innerRadius=void 0,this.outerRadius=void 0,this.pixelMargin=0,this.fullCircles=0,t&&Object.assign(this,t)}inRange(t,e,i){const n=this.getProps(["x","y"],i),{angle:a,distance:o}=Z(n,{x:t,y:e}),{startAngle:s,endAngle:r,innerRadius:l,outerRadius:c,circumference:d}=this.getProps(["startAngle","endAngle","innerRadius","outerRadius","circumference"],i),u=this.options.spacing/2,h=x(d,r-s)>=L||nt(a,s,r),f=ot(o,l+u,c+u);return h&&f}getCenterPoint(t){const{x:e,y:i,startAngle:n,endAngle:a,innerRadius:o,outerRadius:s}=this.getProps(["x","y","startAngle","endAngle","innerRadius","outerRadius","circumference"],t),{offset:r,spacing:l}=this.options,c=(n+a)/2,d=(o+s+l+r)/2;return{x:e+Math.cos(c)*d,y:i+Math.sin(c)*d}}tooltipPosition(t){return this.getCenterPoint(t)}draw(t){const{options:e,circumference:i}=this,n=(e.offset||0)/2,a=(e.spacing||0)/2;if(this.pixelMargin="inner"===e.borderAlign?.33:0,this.fullCircles=i>L?Math.floor(i/L):0,0===i||this.innerRadius<0||this.outerRadius<0)return;t.save();let o=0;if(n){o=n/2;const e=(this.startAngle+this.endAngle)/2;t.translate(Math.cos(e)*o,Math.sin(e)*o),this.circumference>=I&&(o=n)}t.fillStyle=e.backgroundColor,t.strokeStyle=e.borderColor;const s=function(t,e,i,n){const{fullCircles:a,startAngle:o,circumference:s}=e;let r=e.endAngle;if(a){ya(t,e,i,n,o+L);for(let e=0;e<a;++e)t.fill();isNaN(s)||(r=o+s%L,s%L==0&&(r+=L))}return ya(t,e,i,n,r),t.fill(),r}(t,this,o,a);(function(t,e,i,n,a){const{options:o}=e,{borderWidth:s,borderJoinStyle:r}=o,l="inner"===o.borderAlign;s&&(l?(t.lineWidth=2*s,t.lineJoin=r||"round"):(t.lineWidth=s,t.lineJoin=r||"bevel"),e.fullCircles&&function(t,e,i){const{x:n,y:a,startAngle:o,pixelMargin:s,fullCircles:r}=e,l=Math.max(e.outerRadius-s,0),c=e.innerRadius+s;let d;for(i&&va(t,e,o+L),t.beginPath(),t.arc(n,a,c,o+L,o,!0),d=0;d<r;++d)t.stroke();for(t.beginPath(),t.arc(n,a,l,o,o+L),d=0;d<r;++d)t.stroke()}(t,e,l),l&&va(t,e,a),ya(t,e,i,n,a),t.stroke())}
vendor: 14,073 bytes, line 1
1)(t,this,o,a,s),t.restore()}}function _a(t,e,i=e){t.lineCap=x(i.borderCapStyle,e.borderCapStyle),t.setLineDash(x(i.borderDash,e.borderDash)),t.lineDashOffset=x(i.borderDashOffset,e.borderDashOffset),t.lineJoin=x(i.borderJoinStyle,e.borderJoinStyle),t.lineWidth=x(i.borderWidth,e.borderWidth),t.strokeStyle=x(i.borderColor,e.borderColor)}function wa(t,e,i){t.lineTo(i.x,i.y)}function Ma(t,e,i={}){const n=t.length,{start:a=0,end:o=n-1}=i,{start:s,end:r}=e,l=Math.max(a,s),c=Math.min(o,r),d=a<s&&o<s||a>r&&o>r;return{count:n,start:l,loop:e.loop,ilen:c<l&&!d?n+c-l:c-l}}function Sa(t,e,i,n){const{points:a,options:o}=e,{count:s,start:r,loop:l,ilen:c}=Ma(a,i,n),d=function(t){return t.stepped?ee:t.tension||"monotone"===t.cubicInterpolationMode?ie:wa}(o);let u,h,f,{move:p=!0,reverse:b}=n||{};for(u=0;u<=c;++u)h=a[(r+(b?c-u:u))%s],h.skip||(p?(t.moveTo(h.x,h.y),p=!1):d(t,f,h,b,o.stepped),f=h);return l&&(h=a[(r+(b?c:0))%s],d(t,f,h,b,o.stepped)),!!l}function Ta(t,e,i,n){const a=e.points,{count:o,start:s,ilen:r}=Ma(a,i,n),{move:l=!0,reverse:c}=n||{};let d,u,h,f,p,b,g=0,m=0;const v=t=>(s+(c?r-t:t))%o,x=()=>{f!==p&&(t.lineTo(g,p),t.lineTo(g,f),t.lineTo(g,b))};for(l&&(u=a[v(0)],t.moveTo(u.x,u.y)),d=0;d<=r;++d){if(u=a[v(d)],u.skip)continue;const e=u.x,i=u.y,n=0|e;n===h?(i<f?f=i:i>p&&(p=i),g=(m*g+e)/++m):(x(),t.lineTo(e,i),h=n,m=0,f=p=i),b=i}x()}function Aa(t){const e=t.options,i=e.borderDash&&e.borderDash.length;return t._decimated||t._loop||e.tension||"monotone"===e.cubicInterpolationMode||e.stepped||i?Sa:Ta}ka.id="arc",ka.defaults={borderAlign:"center",borderColor:"#fff",borderJoinStyle:void 0,borderRadius:0,borderWidth:2,offset:0,spacing:0,angle:void 0},ka.defaultRoutes={backgroundColor:"backgroundColor"};const ja="function"==typeof Path2D;class Ea extends On{constructor(t){super(),this.animated=!0,this.options=void 0,this._chart=void 0,this._loop=void 0,this._fullLoop=void 0,this._path=void 0,this._points=void 0,this._segments=void 0,this._decimated=!1,this._pointsUpdated=!1,this._datasetIndex=void 0,t&&Object.assign(this,t)}updateControlPoints(t,e){const i=this.options;if((i.tension||"monotone"===i.cubicInterpolationMode)&&!i.stepped&&!this._pointsUpdated){const n=i.spanGaps?this._loop:this._fullLoop;ze(this._points,i,t,n,e),this._pointsUpdated=!0}}set points(t){this._points=t,delete this._segments,delete this._path,this._pointsUpdated=!1}get points(){return this._points}get segments(){return this._segments||(this._segments=function(t,e){const i=t.points,n=t.options.spanGaps,a=i.length;if(!a)return[];const o=!!t._loop,{start:s,end:r}=function(t,e,i,n){let a=0,o=e-1;if(i&&!n)for(;a<e&&!t[a].skip;)a++;for(;a<e&&t[a].skip;)a++;for(a%=e,i&&(o+=a);o>a&&t[o%e].skip;)o--;return o%=e,{start:a,end:o}}(i,a,o,n);return function(t,e,i,n){return n&&n.setContext&&i?function(t,e,i,n){const a=t._chart.getContext(),o=di(t.options),{_datasetIndex:s,options:{spanGaps:r}}=t,l=i.length,c=[];let d=o,u=e[0].start,h=u;function f(t,e,n,a){const o=r?-1:1;if(t!==e){for(t+=l;i[t%l].skip;)t-=o;for(;i[e%l].skip;)e+=o;t%l!=e%l&&(c.push({start:t%l,end:e%l,loop:n,style:a}),d=a,u=e%l)}}for(const t of e){u=r?u:t.start;let e,o=i[u%l];for(h=u+1;h<=t.end;h++){const r=i[h%l];e=di(n.setContext(be(a,{type:"segment",p0:o,p1:r,p0DataIndex:(h-1)%l,p1DataIndex:h%l,datasetIndex:s}))),ui(e,d)&&f(u,h-1,t.loop,d),o=r,d=e}u<h-1&&f(u,h-1,t.loop,d)}return c}(t,e,i,n):e}(t,!0===n?[{start:s,end:r,loop:o}]:function(t,e,i,n){const a=t.length,o=[];let s,r=e,l=t[e];for(s=e+1;s<=i;++s){const i=t[s%a];i.skip||i.stop?l.skip||(n=!1,o.push({start:e%a,end:(s-1)%a,loop:n}),e=r=i.stop?s:null):(r=s,l.skip&&(e=s)),l=i}return null!==r&&o.push({start:e%a,end:r%a,loop:n}),o}(i,s,r<s?r+a:r,!!t._fullLoop&&0===s&&r===a-1),i,e)}(this,this.options.segment))}first(){const t=this.segments,e=this.points;return t.length&&e[t[0].start]}last(){const t=this.segments,e=this.points,i=t.length;return i&&e[t[i-1].end]}interpolate(t,e){const i=this.options,n=t[e],a=this.points,o=ci(this,{property:e,start:n,end:n});if(!o.length)return;const s=[],r=function(t){return t.stepped?Ze:t.tension||"monotone"===t.cubicInterpolationMode?ti:Je}(i);let l,c;for(l=0,c=o.length;l<c;++l){const{start:c,end:d}=o[l],u=a[c],h=a[d];if(u===h){s.push(u);continue}const f=r(u,h,Math.abs((n-u[e])/(h[e]-u[e])),i.stepped);f[e]=t[e],s.push(f)}return 1===s.length?s[0]:s}pathSegment(t,e,i){return Aa(this)(t,this,e,i)}path(t,e,i){const n=this.segments,a=Aa(this);let o=this._loop;e=e||0,i=i||this.points.length-e;for(const s of n)o&=a(t,this,s,{start:e,end:e+i-1});return!!o}draw(t,e,i,n){const a=this.options||{};(this.points||[]).length&&a.borderWidth&&(t.save(),function(t,e,i,n){ja&&!e.options.segment?function(t,e,i,n){let a=e._path;a||(a=e._path=new Path2D,e.path(a,i,n)&&a.closePath()),_a(t,e.options),t.stroke(a)}(t,e,i,n):function(t,e,i,n){const{segments:a,options:o}=e,s=Aa(e);for(const r of a)_a(t,o,r.style),t.beginPath(),s(t,e,r,{start:i,end:i+n-1})&&t.closePath(),t.stroke()}(t,e,i,n)}(t,this,i,n),t.restore()),this.animated&&(this._pointsUpdated=!1,this._path=void 0)}}function Da(t,e,i,n){const a=t.options,{[i]:o}=t.getProps([i],n);return Math.abs(e-o)<a.radius+a.hitRadius}Ea.id="line",Ea.defaults={borderCapStyle:"butt",borderDash:[],borderDashOffset:0,borderJoinStyle:"miter",borderWidth:3,capBezierPoints:!0,cubicInterpolationMode:"default",fill:!1,spanGaps:!1,stepped:!1,tension:0},Ea.defaultRoutes={backgroundColor:"backgroundColor",borderColor:"borderColor"},Ea.descriptors={_scriptable:!0,_indexable:t=>"borderDash"!==t&&"fill"!==t};class Pa extends On{constructor(t){super(),this.options=void 0,this.parsed=void 0,this.skip=void 0,this.stop=void 0,t&&Object.assign(this,t)}inRange(t,e,i){const n=this.options,{x:a,y:o}=this.getProps(["x","y"],i);return Math.pow(t-a,2)+Math.pow(e-o,2)<Math.pow(n.hitRadius+n.radius,2)}inXRange(t,e){return Da(this,t,"x",e)}inYRange(t,e){return Da(this,t,"y",e)}getCenterPoint(t){const{x:e,y:i}=this.getProps(["x","y"],t);return{x:e,y:i}}size(t){let e=(t=t||this.options||{}).radius||0;return e=Math.max(e,e&&t.hoverRadius||0),2*(e+(e&&t.borderWidth||0))}draw(t,e){const i=this.options;this.skip||i.radius<.1||!Jt(this,e,this.size(i)/2)||(t.strokeStyle=i.borderColor,t.lineWidth=i.borderWidth,t.fillStyle=i.backgroundColor,qt(t,i,this.x,this.y))}getRange(){const t=this.options||{};return t.radius+t.hitRadius}}function Ca(t,e){const{x:i,y:n,base:a,width:o,height:s}=t.getProps(["x","y","base","width","height"],e);let r,l,c,d,u;return t.horizontal?(u=s/2,r=Math.min(i,a),l=Math.max(i,a),c=n-u,d=n+u):(u=o/2,r=i-u,l=i+u,c=Math.min(n,a),d=Math.max(n,a)),{left:r,top:c,right:l,bottom:d}}function Oa(t,e,i,n){return t?0:at(e,i,n)}function Ra(t,e,i,n){const a=null===e,o=null===i,s=t&&!(a&&o)&&Ca(t,n);return s&&(a||ot(e,s.left,s.right))&&(o||ot(i,s.top,s.bottom))}function Ba(t,e){t.rect(e.x,e.y,e.w,e.h)}function Ia(t,e,i={}){const n=t.x!==i.x?-e:0,a=t.y!==i.y?-e:0,o=(t.x+t.w!==i.x+i.w?e:0)-n,s=(t.y+t.h!==i.y+i.h?e:0)-a;return{x:t.x+n,y:t.y+a,w:t.w+o,h:t.h+s,radius:t.radius}}Pa.id="point",Pa.defaults={borderWidth:1,hitRadius:1,hoverBorderWidth:1,hoverRadius:4,pointStyle:"circle",radius:3,rotation:0},Pa.defaultRoutes={backgroundColor:"backgroundColor",borderColor:"borderColor"};class La extends On{constructor(t){super(),this.options=void 0,this.horizontal=void 0,this.base=void 0,this.width=void 0,this.height=void 0,this.inflateAmount=void 0,t&&Object.assign(this,t)}draw(t){const{inflateAmount:e,options:{borderColor:i,backgroundColor:n}}=this,{inner:a,outer:o}=function(t){const e=Ca(t),i=e.right-e.left,n=e.bottom-e.top,a=function(t,e,i){const n=t.options.borderWidth,a=t.borderSkipped,o=de(n);return{t:Oa(a.top,o.top,0,i),r:Oa(a.right,o.right,0,e),b:Oa(a.bottom,o.bottom,0,i),l:Oa(a.left,o.left,0,e)}}(t,i/2,n/2),o=function(t,e,i){const{enableBorderRadius:n}=t.getProps(["enableBorderRadius"]),a=t.options.borderRadius,o=ue(a),s=Math.min(e,i),r=t.borderSkipped,l=n||g(a);return{topLeft:Oa(!l||r.top||r.left,o.topLeft,0,s),topRight:Oa(!l||r.top||r.right,o.topRight,0,s),bottomLeft:Oa(!l||r.bottom||r.left,o.bottomLeft,0,s),bottomRight:Oa(!l||r.bottom||r.right,o.bottomRight,0,s)}}(t,i/2,n/2);return{outer:{x:e.left,y:e.top,w:i,h:n,radius:o},inner:{x:e.left+a.l,y:e.top+a.t,w:i-a.l-a.r,h:n-a.t-a.b,radius:{topLeft:Math.max(0,o.topLeft-Math.max(a.t,a.l)),topRight:Math.max(0,o.topRight-Math.max(a.t,a.r)),bottomLeft:Math.max(0,o.bottomLeft-Math.max(a.b,a.l)),bottomRight:Math.max(0,o.bottomRight-Math.max(a.b,a.r))}}}}(this),s=(r=o.radius).topLeft||r.topRight||r.bottomLeft||r.bottomRight?oe:Ba;var r;t.save(),o.w===a.w&&o.h===a.h||(t.beginPath(),s(t,Ia(o,e,a)),t.clip(),s(t,Ia(a,-e,o)),t.fillStyle=i,t.fill("evenodd")),t.beginPath(),s(t,Ia(a,e)),t.fillStyle=n,t.fill(),t.restore()}inRange(t,e,i){return Ra(this,t,e,i)}inXRange(t,e){return Ra(this,t,null,e)}inYRange(t,e){return Ra(this,null,t,e)}getCenterPoint(t){const{x:e,y:i,base:n,horizontal:a}=this.getProps(["x","y","base","horizontal"],t);return{x:a?(e+n)/2:e,y:a?i:(i+n)/2}}getRange(t){return"x"===t?this.width/2:this.height/2}}La.id="bar",La.defaults={borderSkipped:"start",borderWidth:0,borderRadius:0,inflateAmount:"auto",pointStyle:void 0},La.defaultRoutes={backgroundColor:"backgroundColor",borderColor:"borderColor"};var Fa=Object.freeze({__proto__:null,ArcElement:ka,LineElement:Ea,PointElement:Pa,BarElement:La});function Na(t){if(t._decimated){const e=t._data;delete t._decimated,delete t._data,Object.defineProperty(t,"data",{value:e})}}function za(t){t.data.datasets.forEach((t=>{Na(t)}))}var Ha={id:"decimation",defaults:{algorithm:"min-max",enabled:!1},beforeElementsUpdate:(t,e,i)=>{if(!i.enabled)return void za(t);const n=t.width;t.data.datasets.forEach(((e,a)=>{const{_data:o,indexAxis:s}=e,r=t.getDatasetMeta(a),l=o||e.data;if("y"===pe([s,t.options.indexAxis]))return;if("line"!==r.type)return;const c=t.scales[r.xAxisID];if("linear"!==c.type&&"time"!==c.type)return;if(t.options.parsing)return;let d,{start:u,count:h}=function(t,e){const i=e.length;let n,a=0;const{iScale:o}=t,{min:s,max:r,minDefined:l,maxDefined:c}=o.getUserBounds();return l&&(a=at(me(e,o.axis,s).lo,0,i-1)),n=c?at(me(e,o.axis,r).hi+1,a,i)-a:i-a,{start:a,count:n}}(r,l);if(h<=(i.threshold||4*n))Na(e);else{switch(p(o)&&(e._data=l,delete e.data,Object.defineProperty(e,"data",{configurable:!0,enumerable:!0,get:function(){return this._decimated},set:function(t){this._data=t}})),i.algorithm){case"lttb":d=function(t,e,i,n,a){const o=a.samples||n;if(o>=i)return t.slice(e,e+i);const s=[],r=(i-2)/(o-2);let l=0;const c=e+i-1;let d,u,h,f,p,b=e;for(s[l++]=t[b],d=0;d<o-2;d++){let n,a=0,o=0;const c=Math.floor((d+1)*r)+1+e,g=Math.min(Math.floor((d+2)*r)+1,i)+e,m=g-c;for(n=c;n<g;n++)a+=t[n].x,o+=t[n].y;a/=m,o/=m;const v=Math.floor(d*r)+1+e,x=Math.min(Math.floor((d+1)*r)+1,i)+e,{x:y,y:k}=t[b];for(h=f=-1,n=v;n<x;n++)f=.5*Math.abs((y-a)*(t[n].y-k)-(y-t[n].x)*(o-k)),f>h&&(h=f,u=t[n],p=n);s[l++]=u,b=p}return s[l++]=t[c],s}(l,u,h,n,i);break;case"min-max":d=function(t,e,i,n){let a,o,s,r,l,c,d,u,h,f,b=0,g=0;const m=[],v=e+i-1,x=t[e].x,y=t[v].x-x;for(a=e;a<e+i;++a){o=t[a],s=(o.x-x)/y*n,r=o.y;const e=0|s;if(e===l)r<h?(h=r,c=a):r>f&&(f=r,d=a),b=(g*b+o.x)/++g;else{const i=a-1;if(!p(c)&&!p(d)){const e=Math.min(c,d),n=Math.max(c,d);e!==u&&e!==i&&m.push({...t[e],x:b}),n!==u&&n!==i&&m.push({...t[n],x:b})}a>0&&i!==u&&m.push(t[i]),m.push(o),l=e,g=0,h=f=r,c=d=u=a}}return m}(l,u,h,n);break;default:throw new Error(`Unsupported decimation algorithm '${i.algorithm}'`)}e._decimated=d}}))},destroy(t){za(t)}};function Va(t,e,i){const n=function(t){const e=t.options,i=e.fill;let n=x(i&&i.target,i);return void 0===n&&(n=!!e.backgroundColor),!1!==n&&null!==n&&(!0===n?"origin":n)}(t);if(g(n))return!isNaN(n.value)&&n;let a=parseFloat(n);return m(a)&&Math.floor(a)===a?("-"!==n[0]&&"+"!==n[0]||(a=e+a),!(a===e||a<0||a>=i)&&a):["origin","start","end","stack","shape"].indexOf(n)>=0&&n}class Ka{constructor(t){this.x=t.x,this.y=t.y,this.radius=t.radius}pathSegment(t,e,i){const{x:n,y:a,radius:o}=this;return e=e||{start:0,end:L},t.arc(n,a,o,e.end,e.start,!0),!i.bounds}interpolate(t){const{x:e,y:i,radius:n}=this,a=t.angle;return{x:e+Math.cos(a)*n,y:i+Math.sin(a)*n,angle:a}}}function Wa(t,e,i){for(;e>t;e--){const t=i[e];if(!isNaN(t.x)&&!isNaN(t.y))break}return e}function $a(t,e,i){const n=[];for(let a=0;a<i.length;a++){const o=i[a],{first:s,last:r,point:l}=Ua(o,e,"x");if(!(!l||s&&r))if(s)n.unshift(l);else if(t.push(l),!r)break}t.push(...n)}function Ua(t,e,i){const n=t.interpolate(e,i);if(!n)return{};const a=n[i],o=t.segments,s=t.points;let r=!1,l=!1;for(let t=0;t<o.length;t++){const e=o[t],n=s[e.start][i],c=s[e.end][i];if(ot(a,n,c)){r=a===n,l=a===c;break}}return{first:r,last:l,point:n}}function Ya(t){const{chart:e,fill:i,line:n}=t;if(m(i))return function(t,e){const i=t.getDatasetMeta(e);return i&&t.isDatasetVisible(e)?i.dataset:null}(e,i);if("stack"===i)return function(t){const{scale:e,index:i,line:n}=t,a=[],o=n.segments,s=n.points,r=function(t,e){const i=[],n=t.getMatchingVisibleMetas("line");for(let t=0;t<n.length;t++){const a=n[t];if(a.index===e)break;a.hidden||i.unshift(a.dataset)}return i}(e,i);r.push(Xa({x:null,y:e.bottom},n));for(let t=0;t<o.length;t++){const e=o[t];for(let t=e.start;t<=e.end;t++)$a(a,s[t],r)}return new Ea({points:a,options:{}})}(t);if("shape"===i)return!0;const a=function(t){return(t.scale||{}).getPointPositionForValue?function(t){const{scale:e,fill:i}=t,n=e.options,a=e.getLabels().length,o=[],s=n.reverse?e.max:e.min,r=n.reverse?e.min:e.max;let l,c,d;if(d="start"===i?s:"end"===i?r:g(i)?i.value:e.getBaseValue(),n.grid.circular)return c=e.getPointPositionForValue(0,s),new Ka({x:c.x,y:c.y,radius:e.getDistanceFromCenterForValue(d)});for(l=0;l<a;++l)o.push(e.getPointPositionForValue(l,d));return o}(t):function(t){const{scale:e={},fill:i}=t;let n,a=null;return"start"===i?a=e.bottom:"end"===i?a=e.top:g(i)?a=e.getPixelForValue(i.value):e.getBasePixel&&(a=e.getBasePixel()),m(a)?(n=e.isHorizontal(),{x:n?a:null,y:n?null:a}):null}(t)}(t);return a instanceof Ka?a:Xa(a,n)}function Xa(t,e){let i=[],n=!1;return b(t)?(n=!0,i=t):i=function(t,e){const{x:i=null,y:n=null}=t||{},a=e.points,o=[];
vendor: 5,356 bytes, line 1
1return e.segments.forEach((({start:t,end:e})=>{e=Wa(t,e,a);const s=a[t],r=a[e];null!==n?(o.push({x:s.x,y:n}),o.push({x:r.x,y:n})):null!==i&&(o.push({x:i,y:s.y}),o.push({x:i,y:r.y}))})),o}(t,e),i.length?new Ea({points:i,options:{tension:0},_loop:n,_fullLoop:n}):null}function Qa(t,e,i){let n=t[e].fill;const a=[e];let o;if(!i)return n;for(;!1!==n&&-1===a.indexOf(n);){if(!m(n))return n;if(o=t[n],!o)return!1;if(o.visible)return n;a.push(n),n=o.fill}return!1}function Ga(t,e,i){const{segments:n,points:a}=e;let o=!0,s=!1;t.beginPath();for(const r of n){const{start:n,end:l}=r,c=a[n],d=a[Wa(n,l,a)];o?(t.moveTo(c.x,c.y),o=!1):(t.lineTo(c.x,i),t.lineTo(c.x,c.y)),s=!!e.pathSegment(t,r,{move:s}),s?t.closePath():t.lineTo(d.x,i)}t.lineTo(e.first().x,i),t.closePath(),t.clip()}function qa(t,e,i,n){if(n)return;let a=e[t],o=i[t];return"angle"===t&&(a=it(a),o=it(o)),{property:t,start:a,end:o}}function Ja(t,e,i,n){return t&&e?n(t[i],e[i]):t?t[i]:e?e[i]:0}function Za(t,e,i){const{top:n,bottom:a}=e.chart.chartArea,{property:o,start:s,end:r}=i||{};"x"===o&&(t.beginPath(),t.rect(s,n,r-s,a-n),t.clip())}function to(t,e,i,n){const a=e.interpolate(i,n);a&&t.lineTo(a.x,a.y)}function eo(t,e){const{line:i,target:n,property:a,color:o,scale:s}=e,r=function(t,e,i){const n=t.segments,a=t.points,o=e.points,s=[];for(const t of n){let{start:n,end:r}=t;r=Wa(n,r,a);const l=qa(i,a[n],a[r],t.loop);if(!e.segments){s.push({source:t,target:l,start:a[n],end:a[r]});continue}const c=ci(e,l);for(const e of c){const n=qa(i,o[e.start],o[e.end],e.loop),r=li(t,a,n);for(const t of r)s.push({source:t,target:e,start:{[i]:Ja(l,n,"start",Math.max)},end:{[i]:Ja(l,n,"end",Math.min)}})}}return s}(i,n,a);for(const{source:e,target:l,start:c,end:d}of r){const{style:{backgroundColor:r=o}={}}=e,u=!0!==n;t.save(),t.fillStyle=r,Za(t,s,u&&qa(a,c,d)),t.beginPath();const h=!!i.pathSegment(t,e);let f;if(u){h?t.closePath():to(t,n,d,a);const e=!!n.pathSegment(t,l,{move:h,reverse:!0});f=h&&e,f||to(t,n,c,a)}t.closePath(),t.fill(f?"evenodd":"nonzero"),t.restore()}}function io(t,e,i){const n=Ya(e),{line:a,scale:o,axis:s}=e,r=a.options,l=r.fill,c=r.backgroundColor,{above:d=c,below:u=c}=l||{};n&&a.points.length&&(Zt(t,i),function(t,e){const{line:i,target:n,above:a,below:o,area:s,scale:r}=e,l=i._loop?"angle":e.axis;t.save(),"x"===l&&o!==a&&(Ga(t,n,s.top),eo(t,{line:i,target:n,color:a,scale:r,property:l}),t.restore(),t.save(),Ga(t,n,s.bottom)),eo(t,{line:i,target:n,color:o,scale:r,property:l}),t.restore()}(t,{line:a,target:n,above:d,below:u,area:i,scale:o,axis:s}),te(t))}var no={id:"filler",afterDatasetsUpdate(t,e,i){const n=(t.data.datasets||[]).length,a=[];let o,s,r,l;for(s=0;s<n;++s)o=t.getDatasetMeta(s),r=o.dataset,l=null,r&&r.options&&r instanceof Ea&&(l={visible:t.isDatasetVisible(s),index:s,fill:Va(r,s,n),chart:t,axis:o.controller.options.indexAxis,scale:o.vScale,line:r}),o.$filler=l,a.push(l);for(s=0;s<n;++s)l=a[s],l&&!1!==l.fill&&(l.fill=Qa(a,s,i.propagate))},beforeDraw(t,e,i){const n="beforeDraw"===i.drawTime,a=t.getSortedVisibleDatasetMetas(),o=t.chartArea;for(let e=a.length-1;e>=0;--e){const i=a[e].$filler;i&&(i.line.updateControlPoints(o,i.axis),n&&io(t.ctx,i,o))}},beforeDatasetsDraw(t,e,i){if("beforeDatasetsDraw"!==i.drawTime)return;const n=t.getSortedVisibleDatasetMetas();for(let e=n.length-1;e>=0;--e){const i=n[e].$filler;i&&io(t.ctx,i,t.chartArea)}},beforeDatasetDraw(t,e,i){const n=e.meta.$filler;n&&!1!==n.fill&&"beforeDatasetDraw"===i.drawTime&&io(t.ctx,n,t.chartArea)},defaults:{propagate:!0,drawTime:"beforeDatasetDraw"}};const ao=(t,e)=>{let{boxHeight:i=e,boxWidth:n=e}=t;return t.usePointStyle&&(i=Math.min(i,e),n=Math.min(n,e)),{boxWidth:n,boxHeight:i,itemHeight:Math.max(e,i)}};class oo extends On{constructor(t){super(),this._added=!1,this.legendHitBoxes=[],this._hoveredItem=null,this.doughnutMode=!1,this.chart=t.chart,this.options=t.options,this.ctx=t.ctx,this.legendItems=void 0,this.columnSizes=void 0,this.lineWidths=void 0,this.maxHeight=void 0,this.maxWidth=void 0,this.top=void 0,this.bottom=void 0,this.left=void 0,this.right=void 0,this.height=void 0,this.width=void 0,this._margins=void 0,this.position=void 0,this.weight=void 0,this.fullSize=void 0}update(t,e,i){this.maxWidth=t,this.maxHeight=e,this._margins=i,this.setDimensions(),this.buildLabels(),this.fit()}setDimensions(){this.isHorizontal()?(this.width=this.maxWidth,this.left=this._margins.left,this.right=this.width):(this.height=this.maxHeight,this.top=this._margins.top,this.bottom=this.height)}buildLabels(){const t=this.options.labels||{};let e=k(t.generateLabels,[this.chart],this)||[];t.filter&&(e=e.filter((e=>t.filter(e,this.chart.data)))),t.sort&&(e=e.sort(((e,i)=>t.sort(e,i,this.chart.data)))),this.options.reverse&&e.reverse(),this.legendItems=e}fit(){const{options:t,ctx:e}=this;if(!t.display)return void(this.width=this.height=0);const i=t.labels,n=fe(i.font),a=n.size,o=this._computeTitleHeight(),{boxWidth:s,itemHeight:r}=ao(i,a);let l,c;e.font=n.string,this.isHorizontal()?(l=this.maxWidth,c=this._fitRows(o,a,s,r)+10):(c=this.maxHeight,l=this._fitCols(o,a,s,r)+10),this.width=Math.min(l,t.maxWidth||this.maxWidth),this.height=Math.min(c,t.maxHeight||this.maxHeight)}_fitRows(t,e,i,n){const{ctx:a,maxWidth:o,options:{labels:{padding:s}}}=this,r=this.legendHitBoxes=[],l=this.lineWidths=[0],c=n+s;let d=t;a.textAlign="left",a.textBaseline="middle";let u=-1,h=-c;
vendor: 5,197 bytes, line 1
1return this.legendItems.forEach(((t,f)=>{const p=i+e/2+a.measureText(t.text).width;(0===f||l[l.length-1]+p+2*s>o)&&(d+=c,l[l.length-(f>0?0:1)]=0,h+=c,u++),r[f]={left:0,top:h,row:u,width:p,height:n},l[l.length-1]+=p+s})),d}_fitCols(t,e,i,n){const{ctx:a,maxHeight:o,options:{labels:{padding:s}}}=this,r=this.legendHitBoxes=[],l=this.columnSizes=[],c=o-t;let d=s,u=0,h=0,f=0,p=0;return this.legendItems.forEach(((t,o)=>{const b=i+e/2+a.measureText(t.text).width;o>0&&h+n+2*s>c&&(d+=u+s,l.push({width:u,height:h}),f+=u+s,p++,u=h=0),r[o]={left:f,top:h,col:p,width:b,height:n},u=Math.max(u,b),h+=n+s})),d+=u,l.push({width:u,height:h}),d}adjustHitBoxes(){if(!this.options.display)return;const t=this._computeTitleHeight(),{legendHitBoxes:e,options:{align:i,labels:{padding:n},rtl:a}}=this,o=ni(a,this.left,this.width);if(this.isHorizontal()){let a=0,s=u(i,this.left+n,this.right-this.lineWidths[a]);for(const r of e)a!==r.row&&(a=r.row,s=u(i,this.left+n,this.right-this.lineWidths[a])),r.top+=this.top+t+n,r.left=o.leftForLtr(o.x(s),r.width),s+=r.width+n}else{let a=0,s=u(i,this.top+t+n,this.bottom-this.columnSizes[a].height);for(const r of e)r.col!==a&&(a=r.col,s=u(i,this.top+t+n,this.bottom-this.columnSizes[a].height)),r.top=s,r.left+=this.left+n,r.left=o.leftForLtr(o.x(r.left),r.width),s+=r.height+n}}isHorizontal(){return"top"===this.options.position||"bottom"===this.options.position}draw(){if(this.options.display){const t=this.ctx;Zt(t,this),this._draw(),te(t)}}_draw(){const{options:t,columnSizes:e,lineWidths:i,ctx:n}=this,{align:a,labels:o}=t,s=Ut.color,r=ni(t.rtl,this.left,this.width),l=fe(o.font),{color:c,padding:d}=o,h=l.size,f=h/2;let p;this.drawTitle(),n.textAlign=r.textAlign("left"),n.textBaseline="middle",n.lineWidth=.5,n.font=l.string;const{boxWidth:b,boxHeight:g,itemHeight:m}=ao(o,h),v=this.isHorizontal(),y=this._computeTitleHeight();p=v?{x:u(a,this.left+d,this.right-i[0]),y:this.top+d+y,line:0}:{x:this.left+d,y:u(a,this.top+y+d,this.bottom-e[0].height),line:0},ai(this.ctx,t.textDirection);const k=m+d;this.legendItems.forEach(((_,w)=>{n.strokeStyle=_.fontColor||c,n.fillStyle=_.fontColor||c;const M=n.measureText(_.text).width,S=r.textAlign(_.textAlign||(_.textAlign=o.textAlign)),T=b+f+M;let A=p.x,j=p.y;r.setWidth(this.width),v?w>0&&A+T+d>this.right&&(j=p.y+=k,p.line++,A=p.x=u(a,this.left+d,this.right-i[p.line])):w>0&&j+k>this.bottom&&(A=p.x=A+e[p.line].width+d,p.line++,j=p.y=u(a,this.top+y+d,this.bottom-e[p.line].height)),function(t,e,i){if(isNaN(b)||b<=0||isNaN(g)||g<0)return;n.save();const a=x(i.lineWidth,1);if(n.fillStyle=x(i.fillStyle,s),n.lineCap=x(i.lineCap,"butt"),n.lineDashOffset=x(i.lineDashOffset,0),n.lineJoin=x(i.lineJoin,"miter"),n.lineWidth=a,n.strokeStyle=x(i.strokeStyle,s),n.setLineDash(x(i.lineDash,[])),o.usePointStyle){const o={radius:b*Math.SQRT2/2,pointStyle:i.pointStyle,rotation:i.rotation,borderWidth:a},s=r.xPlus(t,b/2);qt(n,o,s,e+f)}else{const o=e+Math.max((h-g)/2,0),s=r.leftForLtr(t,b),l=ue(i.borderRadius);n.beginPath(),Object.values(l).some((t=>0!==t))?oe(n,{x:s,y:o,w:b,h:g,radius:l}):n.rect(s,o,b,g),n.fill(),0!==a&&n.stroke()}n.restore()}(r.x(A),j,_),A=((t,e,i,n)=>t===(n?"left":"right")?i:"center"===t?(e+i)/2:e)(S,A+b+f,v?A+T:this.right,t.rtl),function(t,e,i){ne(n,i.text,t,e+m/2,l,{strikethrough:i.hidden,textAlign:r.textAlign(i.textAlign)})}(r.x(A),j,_),v?p.x+=T+d:p.y+=k})),oi(this.ctx,t.textDirection)}drawTitle(){const t=this.options,e=t.title,i=fe(e.font),n=he(e.padding);if(!e.display)return;const a=ni(t.rtl,this.left,this.width),o=this.ctx,s=e.position,r=i.size/2,l=n.top+r;let c,h=this.left,f=this.width;if(this.isHorizontal())f=Math.max(...this.lineWidths),c=this.top+l,h=u(t.align,h,this.right-f);else{const e=this.columnSizes.reduce(((t,e)=>Math.max(t,e.height)),0);c=l+u(t.align,this.top,this.bottom-e-t.labels.padding-this._computeTitleHeight())}const p=u(s,h,h+f);o.textAlign=a.textAlign(d(s)),o.textBaseline="middle",o.strokeStyle=e.color,o.fillStyle=e.color,o.font=i.string,ne(o,e.text,p,c,i)}_computeTitleHeight(){const t=this.options.title,e=fe(t.font),i=he(t.padding);return t.display?e.lineHeight+i.height:0}_getLegendItemAt(t,e){let i,n,a;if(ot(t,this.left,this.right)&&ot(e,this.top,this.bottom))for(a=this.legendHitBoxes,i=0;i<a.length;++i)if(n=a[i],ot(t,n.left,n.left+n.width)&&ot(e,n.top,n.top+n.height))return this.legendItems[i];return null}handleEvent(t){const e=this.options;if(!function(t,e){return!("mousemove"!==t||!e.onHover&&!e.onLeave)||!(!e.onClick||"click"!==t&&"mouseup"!==t)}(t.type,e))return;const i=this._getLegendItemAt(t.x,t.y);if("mousemove"===t.type){const o=this._hoveredItem,s=(a=i,null!==(n=o)&&null!==a&&n.datasetIndex===a.datasetIndex&&n.index===a.index);o&&!s&&k(e.onLeave,[t,o,this],this),this._hoveredItem=i,i&&!s&&k(e.onHover,[t,i,this],this)}else i&&k(e.onClick,[t,i,this],this);var n,a}}var so={id:"legend",_element:oo,start(t,e,i){const n=t.legend=new oo({ctx:t.ctx,options:i,chart:t});bn.configure(t,n,i),bn.addBox(t,n)},stop(t){bn.removeBox(t,t.legend),delete t.legend},beforeUpdate(t,e,i){const n=t.legend;bn.configure(t,n,i),n.options=i},afterUpdate(t){const e=t.legend;e.buildLabels(),e.adjustHitBoxes()},afterEvent(t,e){e.replay||t.legend.handleEvent(e.event)}
vendor: 5,045 bytes, line 1
1,defaults:{display:!0,position:"top",align:"center",fullSize:!0,reverse:!1,weight:1e3,onClick(t,e,i){const n=e.datasetIndex,a=i.chart;a.isDatasetVisible(n)?(a.hide(n),e.hidden=!0):(a.show(n),e.hidden=!1)},onHover:null,onLeave:null,labels:{color:t=>t.chart.options.color,boxWidth:40,padding:10,generateLabels(t){const e=t.data.datasets,{labels:{usePointStyle:i,pointStyle:n,textAlign:a,color:o}}=t.legend.options;return t._getSortedDatasetMetas().map((t=>{const s=t.controller.getStyle(i?0:void 0),r=he(s.borderWidth);return{text:e[t.index].label,fillStyle:s.backgroundColor,fontColor:o,hidden:!t.visible,lineCap:s.borderCapStyle,lineDash:s.borderDash,lineDashOffset:s.borderDashOffset,lineJoin:s.borderJoinStyle,lineWidth:(r.width+r.height)/4,strokeStyle:s.borderColor,pointStyle:n||s.pointStyle,rotation:s.rotation,textAlign:a||s.textAlign,borderRadius:0,datasetIndex:t.index}}),this)}},title:{color:t=>t.chart.options.color,display:!1,position:"center",text:""}},descriptors:{_scriptable:t=>!t.startsWith("on"),labels:{_scriptable:t=>!["generateLabels","filter","sort"].includes(t)}}};class ro extends On{constructor(t){super(),this.chart=t.chart,this.options=t.options,this.ctx=t.ctx,this._padding=void 0,this.top=void 0,this.bottom=void 0,this.left=void 0,this.right=void 0,this.width=void 0,this.height=void 0,this.position=void 0,this.weight=void 0,this.fullSize=void 0}update(t,e){const i=this.options;if(this.left=0,this.top=0,!i.display)return void(this.width=this.height=this.right=this.bottom=0);this.width=this.right=t,this.height=this.bottom=e;const n=b(i.text)?i.text.length:1;this._padding=he(i.padding);const a=n*fe(i.font).lineHeight+this._padding.height;this.isHorizontal()?this.height=a:this.width=a}isHorizontal(){const t=this.options.position;return"top"===t||"bottom"===t}_drawArgs(t){const{top:e,left:i,bottom:n,right:a,options:o}=this,s=o.align;let r,l,c,d=0;return this.isHorizontal()?(l=u(s,i,a),c=e+t,r=a-i):("left"===o.position?(l=i+t,c=u(s,n,e),d=-.5*I):(l=a-t,c=u(s,e,n),d=.5*I),r=n-e),{titleX:l,titleY:c,maxWidth:r,rotation:d}}draw(){const t=this.ctx,e=this.options;if(!e.display)return;const i=fe(e.font),n=i.lineHeight/2+this._padding.top,{titleX:a,titleY:o,maxWidth:s,rotation:r}=this._drawArgs(n);ne(t,e.text,0,0,i,{color:e.color,maxWidth:s,rotation:r,textAlign:d(e.align),textBaseline:"middle",translation:[a,o]})}}var lo={id:"title",_element:ro,start(t,e,i){!function(t,e){const i=new ro({ctx:t.ctx,options:e,chart:t});bn.configure(t,i,e),bn.addBox(t,i),t.titleBlock=i}(t,i)},stop(t){const e=t.titleBlock;bn.removeBox(t,e),delete t.titleBlock},beforeUpdate(t,e,i){const n=t.titleBlock;bn.configure(t,n,i),n.options=i},defaults:{align:"center",display:!1,font:{weight:"bold"},fullSize:!0,padding:10,position:"top",text:"",weight:2e3},defaultRoutes:{color:"color"},descriptors:{_scriptable:!0,_indexable:!1}};const co=new WeakMap;var uo={id:"subtitle",start(t,e,i){const n=new ro({ctx:t.ctx,options:i,chart:t});bn.configure(t,n,i),bn.addBox(t,n),co.set(t,n)},stop(t){bn.removeBox(t,co.get(t)),co.delete(t)},beforeUpdate(t,e,i){const n=co.get(t);bn.configure(t,n,i),n.options=i},defaults:{align:"center",display:!1,font:{weight:"normal"},fullSize:!0,padding:0,position:"top",text:"",weight:1500},defaultRoutes:{color:"color"},descriptors:{_scriptable:!0,_indexable:!1}};const ho={average(t){if(!t.length)return!1;let e,i,n=0,a=0,o=0;for(e=0,i=t.length;e<i;++e){const i=t[e].element;if(i&&i.hasValue()){const t=i.tooltipPosition();n+=t.x,a+=t.y,++o}}return{x:n/o,y:a/o}},nearest(t,e){if(!t.length)return!1;let i,n,a,o=e.x,s=e.y,r=Number.POSITIVE_INFINITY;for(i=0,n=t.length;i<n;++i){const n=t[i].element;if(n&&n.hasValue()){const t=tt(e,n.getCenterPoint());t<r&&(r=t,a=n)}}if(a){const t=a.tooltipPosition();o=t.x,s=t.y}return{x:o,y:s}}};function fo(t,e){return e&&(b(e)?Array.prototype.push.apply(t,e):t.push(e)),t}function po(t){return("string"==typeof t||t instanceof String)&&t.indexOf("\n")>-1?t.split("\n"):t}function bo(t,e){const{element:i,datasetIndex:n,index:a}=e,o=t.getDatasetMeta(n).controller,{label:s,value:r}=o.getLabelAndValue(a);return{chart:t,label:s,parsed:o.getParsed(a),raw:t.data.datasets[n].data[a],formattedValue:r,dataset:o.getDataset(),dataIndex:a,datasetIndex:n,element:i}}function go(t,e){const i=t.chart.ctx,{body:n,footer:a,title:o}=t,{boxWidth:s,boxHeight:r}=e,l=fe(e.bodyFont),c=fe(e.titleFont),d=fe(e.footerFont),u=o.length,h=a.length,f=n.length,p=he(e.padding);let b=p.height,g=0,m=n.reduce(((t,e)=>t+e.before.length+e.lines.length+e.after.length),0);m+=t.beforeBody.length+t.afterBody.length,u&&(b+=u*c.lineHeight+(u-1)*e.titleSpacing+e.titleMarginBottom),m&&(b+=f*(e.displayColors?Math.max(r,l.lineHeight):l.lineHeight)+(m-f)*l.lineHeight+(m-1)*e.bodySpacing),h&&(b+=e.footerMarginTop+h*d.lineHeight+(h-1)*e.footerSpacing);let v=0;const x=function(t){g=Math.max(g,i.measureText(t).width+v)};return i.save(),i.font=c.string,_(t.title,x),i.font=l.string,_(t.beforeBody.concat(t.afterBody),x),v=e.displayColors?s+2+e.boxPadding:0,_(n,(t=>{_(t.before,x),_(t.lines,x),_(t.after,x)}
vendor: 4,360 bytes, line 1
1)),v=0,i.font=d.string,_(t.footer,x),i.restore(),g+=p.width,{width:g,height:b}}function mo(t,e,i,n){const{x:a,width:o}=i,{width:s,chartArea:{left:r,right:l}}=t;let c="center";return"center"===n?c=a<=(r+l)/2?"left":"right":a<=o/2?c="left":a>=s-o/2&&(c="right"),function(t,e,i,n){const{x:a,width:o}=n,s=i.caretSize+i.caretPadding;return"left"===t&&a+o+s>e.width||"right"===t&&a-o-s<0||void 0}(c,t,e,i)&&(c="center"),c}function vo(t,e,i){const n=i.yAlign||e.yAlign||function(t,e){const{y:i,height:n}=e;return i<n/2?"top":i>t.height-n/2?"bottom":"center"}(t,i);return{xAlign:i.xAlign||e.xAlign||mo(t,e,i,n),yAlign:n}}function xo(t,e,i,n){const{caretSize:a,caretPadding:o,cornerRadius:s}=t,{xAlign:r,yAlign:l}=i,c=a+o,{topLeft:d,topRight:u,bottomLeft:h,bottomRight:f}=ue(s);let p=function(t,e){let{x:i,width:n}=t;return"right"===e?i-=n:"center"===e&&(i-=n/2),i}(e,r);const b=function(t,e,i){let{y:n,height:a}=t;return"top"===e?n+=i:n-="bottom"===e?a+i:a/2,n}(e,l,c);return"center"===l?"left"===r?p+=c:"right"===r&&(p-=c):"left"===r?p-=Math.max(d,h)+a:"right"===r&&(p+=Math.max(u,f)+a),{x:at(p,0,n.width-e.width),y:at(b,0,n.height-e.height)}}function yo(t,e,i){const n=he(i.padding);return"center"===e?t.x+t.width/2:"right"===e?t.x+t.width-n.right:t.x+n.left}function ko(t){return fo([],po(t))}function _o(t,e){const i=e&&e.dataset&&e.dataset.tooltip&&e.dataset.tooltip.callbacks;return i?t.override(i):t}class wo extends On{constructor(t){super(),this.opacity=0,this._active=[],this._eventPosition=void 0,this._size=void 0,this._cachedAnimations=void 0,this._tooltipItems=[],this.$animations=void 0,this.$context=void 0,this.chart=t.chart||t._chart,this._chart=this.chart,this.options=t.options,this.dataPoints=void 0,this.title=void 0,this.beforeBody=void 0,this.body=void 0,this.afterBody=void 0,this.footer=void 0,this.xAlign=void 0,this.yAlign=void 0,this.x=void 0,this.y=void 0,this.height=void 0,this.width=void 0,this.caretX=void 0,this.caretY=void 0,this.labelColors=void 0,this.labelPointStyles=void 0,this.labelTextColors=void 0}initialize(t){this.options=t,this._cachedAnimations=void 0,this.$context=void 0}_resolveAnimations(){const t=this._cachedAnimations;if(t)return t;const e=this.chart,i=this.options.setContext(this.getContext()),n=i.enabled&&e.options.animation&&i.animations,a=new mi(this.chart,n);return n._cacheable&&(this._cachedAnimations=Object.freeze(a)),a}getContext(){return this.$context||(this.$context=(this,be(this.chart.getContext(),{tooltip:this,tooltipItems:this._tooltipItems,type:"tooltip"})))}getTitle(t,e){const{callbacks:i}=e,n=i.beforeTitle.apply(this,[t]),a=i.title.apply(this,[t]),o=i.afterTitle.apply(this,[t]);let s=[];return s=fo(s,po(n)),s=fo(s,po(a)),s=fo(s,po(o)),s}getBeforeBody(t,e){return ko(e.callbacks.beforeBody.apply(this,[t]))}getBody(t,e){const{callbacks:i}=e,n=[];return _(t,(t=>{const e={before:[],lines:[],after:[]},a=_o(i,t);fo(e.before,po(a.beforeLabel.call(this,t))),fo(e.lines,a.label.call(this,t)),fo(e.after,po(a.afterLabel.call(this,t))),n.push(e)})),n}getAfterBody(t,e){return ko(e.callbacks.afterBody.apply(this,[t]))}getFooter(t,e){const{callbacks:i}=e,n=i.beforeFooter.apply(this,[t]),a=i.footer.apply(this,[t]),o=i.afterFooter.apply(this,[t]);let s=[];return s=fo(s,po(n)),s=fo(s,po(a)),s=fo(s,po(o)),s}_createItems(t){const e=this._active,i=this.chart.data,n=[],a=[],o=[];let s,r,l=[];for(s=0,r=e.length;s<r;++s)l.push(bo(this.chart,e[s]));return t.filter&&(l=l.filter(((e,n,a)=>t.filter(e,n,a,i)))),t.itemSort&&(l=l.sort(((e,n)=>t.itemSort(e,n,i)))),_(l,(e=>{const i=_o(t.callbacks,e);n.push(i.labelColor.call(this,e)),a.push(i.labelPointStyle.call(this,e)),o.push(i.labelTextColor.call(this,e))})),this.labelColors=n,this.labelPointStyles=a,this.labelTextColors=o,this.dataPoints=l,l}update(t,e){const i=this.options.setContext(this.getContext()),n=this._active;let a,o=[];if(n.length){const t=ho[i.position].call(this,n,this._eventPosition);o=this._createItems(i),this.title=this.getTitle(o,i),this.beforeBody=this.getBeforeBody(o,i),this.body=this.getBody(o,i),this.afterBody=this.getAfterBody(o,i),this.footer=this.getFooter(o,i);const e=this._size=go(this,i),s=Object.assign({},t,e),r=vo(this.chart,i,s),l=xo(i,s,r,this.chart);this.xAlign=r.xAlign,this.yAlign=r.yAlign,a={opacity:1,x:l.x,y:l.y,width:e.width,height:e.height,caretX:t.x,caretY:t.y}}else 0!==this.opacity&&(a={opacity:0}
vendor: 30,155 bytes, line 1
1);this._tooltipItems=o,this.$context=void 0,a&&this._resolveAnimations().update(this,a),t&&i.external&&i.external.call(this,{chart:this.chart,tooltip:this,replay:e})}drawCaret(t,e,i,n){const a=this.getCaretPosition(t,i,n);e.lineTo(a.x1,a.y1),e.lineTo(a.x2,a.y2),e.lineTo(a.x3,a.y3)}getCaretPosition(t,e,i){const{xAlign:n,yAlign:a}=this,{caretSize:o,cornerRadius:s}=i,{topLeft:r,topRight:l,bottomLeft:c,bottomRight:d}=ue(s),{x:u,y:h}=t,{width:f,height:p}=e;let b,g,m,v,x,y;return"center"===a?(x=h+p/2,"left"===n?(b=u,g=b-o,v=x+o,y=x-o):(b=u+f,g=b+o,v=x-o,y=x+o),m=b):(g="left"===n?u+Math.max(r,c)+o:"right"===n?u+f-Math.max(l,d)-o:this.caretX,"top"===a?(v=h,x=v-o,b=g-o,m=g+o):(v=h+p,x=v+o,b=g+o,m=g-o),y=v),{x1:b,x2:g,x3:m,y1:v,y2:x,y3:y}}drawTitle(t,e,i){const n=this.title,a=n.length;let o,s,r;if(a){const l=ni(i.rtl,this.x,this.width);for(t.x=yo(this,i.titleAlign,i),e.textAlign=l.textAlign(i.titleAlign),e.textBaseline="middle",o=fe(i.titleFont),s=i.titleSpacing,e.fillStyle=i.titleColor,e.font=o.string,r=0;r<a;++r)e.fillText(n[r],l.x(t.x),t.y+o.lineHeight/2),t.y+=o.lineHeight+s,r+1===a&&(t.y+=i.titleMarginBottom-s)}}_drawColorBox(t,e,i,n,a){const o=this.labelColors[i],s=this.labelPointStyles[i],{boxHeight:r,boxWidth:l,boxPadding:c}=a,d=fe(a.bodyFont),u=yo(this,"left",a),h=n.x(u),f=r<d.lineHeight?(d.lineHeight-r)/2:0,p=e.y+f;if(a.usePointStyle){const e={radius:Math.min(l,r)/2,pointStyle:s.pointStyle,rotation:s.rotation,borderWidth:1},i=n.leftForLtr(h,l)+l/2,c=p+r/2;t.strokeStyle=a.multiKeyBackground,t.fillStyle=a.multiKeyBackground,qt(t,e,i,c),t.strokeStyle=o.borderColor,t.fillStyle=o.backgroundColor,qt(t,e,i,c)}else{t.lineWidth=o.borderWidth||1,t.strokeStyle=o.borderColor,t.setLineDash(o.borderDash||[]),t.lineDashOffset=o.borderDashOffset||0;const e=n.leftForLtr(h,l-c),i=n.leftForLtr(n.xPlus(h,1),l-c-2),s=ue(o.borderRadius);Object.values(s).some((t=>0!==t))?(t.beginPath(),t.fillStyle=a.multiKeyBackground,oe(t,{x:e,y:p,w:l,h:r,radius:s}),t.fill(),t.stroke(),t.fillStyle=o.backgroundColor,t.beginPath(),oe(t,{x:i,y:p+1,w:l-2,h:r-2,radius:s}),t.fill()):(t.fillStyle=a.multiKeyBackground,t.fillRect(e,p,l,r),t.strokeRect(e,p,l,r),t.fillStyle=o.backgroundColor,t.fillRect(i,p+1,l-2,r-2))}t.fillStyle=this.labelTextColors[i]}drawBody(t,e,i){const{body:n}=this,{bodySpacing:a,bodyAlign:o,displayColors:s,boxHeight:r,boxWidth:l,boxPadding:c}=i,d=fe(i.bodyFont);let u=d.lineHeight,h=0;const f=ni(i.rtl,this.x,this.width),p=function(i){e.fillText(i,f.x(t.x+h),t.y+u/2),t.y+=u+a},b=f.textAlign(o);let g,m,v,x,y,k,w;for(e.textAlign=o,e.textBaseline="middle",e.font=d.string,t.x=yo(this,b,i),e.fillStyle=i.bodyColor,_(this.beforeBody,p),h=s&&"right"!==b?"center"===o?l/2+c:l+2+c:0,x=0,k=n.length;x<k;++x){for(g=n[x],m=this.labelTextColors[x],e.fillStyle=m,_(g.before,p),v=g.lines,s&&v.length&&(this._drawColorBox(e,t,x,f,i),u=Math.max(d.lineHeight,r)),y=0,w=v.length;y<w;++y)p(v[y]),u=d.lineHeight;_(g.after,p)}h=0,u=d.lineHeight,_(this.afterBody,p),t.y-=a}drawFooter(t,e,i){const n=this.footer,a=n.length;let o,s;if(a){const r=ni(i.rtl,this.x,this.width);for(t.x=yo(this,i.footerAlign,i),t.y+=i.footerMarginTop,e.textAlign=r.textAlign(i.footerAlign),e.textBaseline="middle",o=fe(i.footerFont),e.fillStyle=i.footerColor,e.font=o.string,s=0;s<a;++s)e.fillText(n[s],r.x(t.x),t.y+o.lineHeight/2),t.y+=o.lineHeight+i.footerSpacing}}drawBackground(t,e,i,n){const{xAlign:a,yAlign:o}=this,{x:s,y:r}=t,{width:l,height:c}=i,{topLeft:d,topRight:u,bottomLeft:h,bottomRight:f}=ue(n.cornerRadius);e.fillStyle=n.backgroundColor,e.strokeStyle=n.borderColor,e.lineWidth=n.borderWidth,e.beginPath(),e.moveTo(s+d,r),"top"===o&&this.drawCaret(t,e,i,n),e.lineTo(s+l-u,r),e.quadraticCurveTo(s+l,r,s+l,r+u),"center"===o&&"right"===a&&this.drawCaret(t,e,i,n),e.lineTo(s+l,r+c-f),e.quadraticCurveTo(s+l,r+c,s+l-f,r+c),"bottom"===o&&this.drawCaret(t,e,i,n),e.lineTo(s+h,r+c),e.quadraticCurveTo(s,r+c,s,r+c-h),"center"===o&&"left"===a&&this.drawCaret(t,e,i,n),e.lineTo(s,r+d),e.quadraticCurveTo(s,r,s+d,r),e.closePath(),e.fill(),n.borderWidth>0&&e.stroke()}_updateAnimationTarget(t){const e=this.chart,i=this.$animations,n=i&&i.x,a=i&&i.y;if(n||a){const i=ho[t.position].call(this,this._active,this._eventPosition);if(!i)return;const o=this._size=go(this,t),s=Object.assign({},i,this._size),r=vo(e,t,s),l=xo(t,s,r,e);n._to===l.x&&a._to===l.y||(this.xAlign=r.xAlign,this.yAlign=r.yAlign,this.width=o.width,this.height=o.height,this.caretX=i.x,this.caretY=i.y,this._resolveAnimations().update(this,l))}}draw(t){const e=this.options.setContext(this.getContext());let i=this.opacity;if(!i)return;this._updateAnimationTarget(e);const n={width:this.width,height:this.height},a={x:this.x,y:this.y};i=Math.abs(i)<.001?0:i;const o=he(e.padding),s=this.title.length||this.beforeBody.length||this.body.length||this.afterBody.length||this.footer.length;e.enabled&&s&&(t.save(),t.globalAlpha=i,this.drawBackground(a,t,n,e),ai(t,e.textDirection),a.y+=o.top,this.drawTitle(a,t,e),this.drawBody(a,t,e),this.drawFooter(a,t,e),oi(t,e.textDirection),t.restore())}getActiveElements(){return this._active||[]}setActiveElements(t,e){const i=this._active,n=t.map((({datasetIndex:t,index:e})=>{const i=this.chart.getDatasetMeta(t);if(!i)throw new Error("Cannot find a dataset at index "+t);return{datasetIndex:t,element:i.data[e],index:e}})),a=!w(i,n),o=this._positionChanged(n,e);(a||o)&&(this._active=n,this._eventPosition=e,this._ignoreReplayEvents=!0,this.update(!0))}handleEvent(t,e,i=!0){if(e&&this._ignoreReplayEvents)return!1;this._ignoreReplayEvents=!1;const n=this.options,a=this._active||[],o=this._getActiveElements(t,a,e,i),s=this._positionChanged(o,t),r=e||!w(o,a)||s;return r&&(this._active=o,(n.enabled||n.external)&&(this._eventPosition={x:t.x,y:t.y},this.update(!0,e))),r}_getActiveElements(t,e,i,n){const a=this.options;if("mouseout"===t.type)return[];if(!n)return e;const o=this.chart.getElementsAtEventForMode(t,a.mode,a,i);return a.reverse&&o.reverse(),o}_positionChanged(t,e){const{caretX:i,caretY:n,options:a}=this,o=ho[a.position].call(this,t,e);return!1!==o&&(i!==o.x||n!==o.y)}}wo.positioners=ho;var Mo={id:"tooltip",_element:wo,positioners:ho,afterInit(t,e,i){i&&(t.tooltip=new wo({chart:t,options:i}))},beforeUpdate(t,e,i){t.tooltip&&t.tooltip.initialize(i)},reset(t,e,i){t.tooltip&&t.tooltip.initialize(i)},afterDraw(t){const e=t.tooltip,i={tooltip:e};!1!==t.notifyPlugins("beforeTooltipDraw",i)&&(e&&e.draw(t.ctx),t.notifyPlugins("afterTooltipDraw",i))},afterEvent(t,e){if(t.tooltip){const i=e.replay;t.tooltip.handleEvent(e.event,i,e.inChartArea)&&(e.changed=!0)}},defaults:{enabled:!0,external:null,position:"average",backgroundColor:"rgba(0,0,0,0.8)",titleColor:"#fff",titleFont:{weight:"bold"},titleSpacing:2,titleMarginBottom:6,titleAlign:"left",bodyColor:"#fff",bodySpacing:2,bodyFont:{},bodyAlign:"left",footerColor:"#fff",footerSpacing:2,footerMarginTop:6,footerFont:{weight:"bold"},footerAlign:"left",padding:6,caretPadding:2,caretSize:5,cornerRadius:6,boxHeight:(t,e)=>e.bodyFont.size,boxWidth:(t,e)=>e.bodyFont.size,multiKeyBackground:"#fff",displayColors:!0,boxPadding:0,borderColor:"rgba(0,0,0,0)",borderWidth:0,animation:{duration:400,easing:"easeOutQuart"},animations:{numbers:{type:"number",properties:["x","y","width","height","caretX","caretY"]},opacity:{easing:"linear",duration:200}},callbacks:{beforeTitle:h,title(t){if(t.length>0){const e=t[0],i=e.chart.data.labels,n=i?i.length:0;if(this&&this.options&&"dataset"===this.options.mode)return e.dataset.label||"";if(e.label)return e.label;if(n>0&&e.dataIndex<n)return i[e.dataIndex]}return""},afterTitle:h,beforeBody:h,beforeLabel:h,label(t){if(this&&this.options&&"dataset"===this.options.mode)return t.label+": "+t.formattedValue||t.formattedValue;let e=t.dataset.label||"";e&&(e+=": ");const i=t.formattedValue;return p(i)||(e+=i),e},labelColor(t){const e=t.chart.getDatasetMeta(t.datasetIndex).controller.getStyle(t.dataIndex);return{borderColor:e.borderColor,backgroundColor:e.backgroundColor,borderWidth:e.borderWidth,borderDash:e.borderDash,borderDashOffset:e.borderDashOffset,borderRadius:0}},labelTextColor(){return this.options.bodyColor},labelPointStyle(t){const e=t.chart.getDatasetMeta(t.datasetIndex).controller.getStyle(t.dataIndex);return{pointStyle:e.pointStyle,rotation:e.rotation}},afterLabel:h,afterBody:h,beforeFooter:h,footer:h,afterFooter:h}},defaultRoutes:{bodyFont:"font",footerFont:"font",titleFont:"font"},descriptors:{_scriptable:t=>"filter"!==t&&"itemSort"!==t&&"external"!==t,_indexable:!1,callbacks:{_scriptable:!1,_indexable:!1},animation:{_fallback:!1},animations:{_fallback:"animation"}},additionalOptionScopes:["interaction"]},So=Object.freeze({__proto__:null,Decimation:Ha,Filler:no,Legend:so,SubTitle:uo,Title:lo,Tooltip:Mo});class To extends Kn{constructor(t){super(t),this._startValue=void 0,this._valueRange=0,this._addedLabels=[]}init(t){const e=this._addedLabels;if(e.length){const t=this.getLabels();for(const{index:i,label:n}of e)t[i]===n&&t.splice(i,1);this._addedLabels=[]}super.init(t)}parse(t,e){if(p(t))return null;const i=this.getLabels();return((t,e)=>null===t?null:at(Math.round(t),0,e))(e=isFinite(e)&&i[e]===t?e:function(t,e,i,n){const a=t.indexOf(e);return-1===a?((t,e,i,n)=>("string"==typeof e?(i=t.push(e)-1,n.unshift({index:i,label:e})):isNaN(e)&&(i=null),i))(t,e,i,n):a!==t.lastIndexOf(e)?i:a}(i,t,x(e,t),this._addedLabels),i.length-1)}determineDataLimits(){const{minDefined:t,maxDefined:e}=this.getUserBounds();let{min:i,max:n}=this.getMinMax(!0);"ticks"===this.options.bounds&&(t||(i=0),e||(n=this.getLabels().length-1)),this.min=i,this.max=n}buildTicks(){const t=this.min,e=this.max,i=this.options.offset,n=[];let a=this.getLabels();a=0===t&&e===a.length-1?a:a.slice(t,e+1),this._valueRange=Math.max(a.length-(i?0:1),1),this._startValue=this.min-(i?.5:0);for(let i=t;i<=e;i++)n.push({value:i});return n}getLabelForValue(t){const e=this.getLabels();return t>=0&&t<e.length?e[t]:t}configure(){super.configure(),this.isHorizontal()||(this._reversePixels=!this._reversePixels)}getPixelForValue(t){return"number"!=typeof t&&(t=this.parse(t)),null===t?NaN:this.getPixelForDecimal((t-this._startValue)/this._valueRange)}getPixelForTick(t){const e=this.ticks;return t<0||t>e.length-1?null:this.getPixelForValue(e[t].value)}getValueForPixel(t){return Math.round(this._startValue+this.getDecimalForPixel(t)*this._valueRange)}getBasePixel(){return this.bottom}}function Ao(t,e,{horizontal:i,minRotation:n}){const a=G(n),o=(i?Math.sin(a):Math.cos(a))||.001,s=.75*e*(""+t).length;return Math.min(e/o,s)}To.id="category",To.defaults={ticks:{callback:To.prototype.getLabelForValue}};class jo extends Kn{constructor(t){super(t),this.start=void 0,this.end=void 0,this._startValue=void 0,this._endValue=void 0,this._valueRange=0}parse(t,e){return p(t)||("number"==typeof t||t instanceof Number)&&!isFinite(+t)?null:+t}handleTickRangeOptions(){const{beginAtZero:t}=this.options,{minDefined:e,maxDefined:i}=this.getUserBounds();let{min:n,max:a}=this;const o=t=>n=e?n:t,s=t=>a=i?a:t;if(t){const t=$(n),e=$(a);t<0&&e<0?s(0):t>0&&e>0&&o(0)}if(n===a){let e=1;(a>=Number.MAX_SAFE_INTEGER||n<=Number.MIN_SAFE_INTEGER)&&(e=Math.abs(.05*a)),s(a+e),t||o(n-e)}this.min=n,this.max=a}getTickLimit(){const t=this.options.ticks;let e,{maxTicksLimit:i,stepSize:n}=t;return n?(e=Math.ceil(this.max/n)-Math.floor(this.min/n)+1,e>1e3&&(console.warn(`scales.${this.id}.ticks.stepSize: ${n} would result generating up to ${e} ticks. Limiting to 1000.`),e=1e3)):(e=this.computeTickLimit(),i=i||11),i&&(e=Math.min(i,e)),e}computeTickLimit(){return Number.POSITIVE_INFINITY}buildTicks(){const t=this.options,e=t.ticks;let i=this.getTickLimit();i=Math.max(2,i);const n=function(t,e){const i=[],{bounds:n,step:a,min:o,max:s,precision:r,count:l,maxTicks:c,maxDigits:d,includeBounds:u}=t,h=a||1,f=c-1,{min:b,max:g}=e,m=!p(o),v=!p(s),x=!p(l),y=(g-b)/(d+1);let k,_,w,M,S=U((g-b)/f/h)*h;if(S<1e-14&&!m&&!v)return[{value:b},{value:g}];M=Math.ceil(g/S)-Math.floor(b/S),M>f&&(S=U(M*S/f/h)*h),p(r)||(k=Math.pow(10,r),S=Math.ceil(S*k)/k),"ticks"===n?(_=Math.floor(b/S)*S,w=Math.ceil(g/S)*S):(_=b,w=g),m&&v&&a&&function(t,e){const i=Math.round(t);return i-e<=t&&i+e>=t}((s-o)/a,S/1e3)?(M=Math.round(Math.min((s-o)/S,c)),S=(s-o)/M,_=o,w=s):x?(_=m?o:_,w=v?s:w,M=l-1,S=(w-_)/M):(M=(w-_)/S,M=X(M,Math.round(M),S/1e3)?Math.round(M):Math.ceil(M));const T=Math.max(J(S),J(_));k=Math.pow(10,p(r)?T:r),_=Math.round(_*k)/k,w=Math.round(w*k)/k;let A=0;for(m&&(u&&_!==o?(i.push({value:o}),_<o&&A++,X(Math.round((_+A*S)*k)/k,o,Ao(o,y,t))&&A++):_<o&&A++);A<M;++A)i.push({value:Math.round((_+A*S)*k)/k});return v&&u&&w!==s?i.length&&X(i[i.length-1].value,s,Ao(s,y,t))?i[i.length-1].value=s:i.push({value:s}):v&&w!==s||i.push({value:w}),i}({maxTicks:i,bounds:t.bounds,min:t.min,max:t.max,precision:e.precision,step:e.stepSize,count:e.count,maxDigits:this._maxDigits(),horizontal:this.isHorizontal(),minRotation:e.minRotation||0,includeBounds:!1!==e.includeBounds},this._range||this);return"ticks"===t.bounds&&Q(n,this,"value"),t.reverse?(n.reverse(),this.start=this.max,this.end=this.min):(this.start=this.min,this.end=this.max),n}configure(){const t=this.ticks;let e=this.min,i=this.max;if(super.configure(),this.options.offset&&t.length){const n=(i-e)/Math.max(t.length-1,1)/2;e-=n,i+=n}this._startValue=e,this._endValue=i,this._valueRange=i-e}getLabelForValue(t){return ii(t,this.chart.options.locale,this.options.ticks.format)}}class Eo extends jo{determineDataLimits(){const{min:t,max:e}=this.getMinMax(!0);this.min=m(t)?t:0,this.max=m(e)?e:1,this.handleTickRangeOptions()}computeTickLimit(){const t=this.isHorizontal(),e=t?this.width:this.height,i=G(this.options.ticks.minRotation),n=(t?Math.sin(i):Math.cos(i))||.001,a=this._resolveTickFontOptions(0);return Math.ceil(e/Math.min(40,a.lineHeight/n))}getPixelForValue(t){return null===t?NaN:this.getPixelForDecimal((t-this._startValue)/this._valueRange)}getValueForPixel(t){return this._startValue+this.getDecimalForPixel(t)*this._valueRange}}function Do(t){return 1==t/Math.pow(10,Math.floor(W(t)))}Eo.id="linear",Eo.defaults={ticks:{callback:Bn.formatters.numeric}};class Po extends Kn{constructor(t){super(t),this.start=void 0,this.end=void 0,this._startValue=void 0,this._valueRange=0}parse(t,e){const i=jo.prototype.parse.apply(this,[t,e]);if(0!==i)return m(i)&&i>0?i:null;this._zero=!0}determineDataLimits(){const{min:t,max:e}=this.getMinMax(!0);this.min=m(t)?Math.max(0,t):null,this.max=m(e)?Math.max(0,e):null,this.options.beginAtZero&&(this._zero=!0),this.handleTickRangeOptions()}handleTickRangeOptions(){const{minDefined:t,maxDefined:e}=this.getUserBounds();let i=this.min,n=this.max;const a=e=>i=t?i:e,o=t=>n=e?n:t,s=(t,e)=>Math.pow(10,Math.floor(W(t))+e);i===n&&(i<=0?(a(1),o(10)):(a(s(i,-1)),o(s(n,1)))),i<=0&&a(s(n,-1)),n<=0&&o(s(i,1)),this._zero&&this.min!==this._suggestedMin&&i===s(this.min,0)&&a(s(i,-1)),this.min=i,this.max=n}buildTicks(){const t=this.options,e=function(t,e){const i=Math.floor(W(e.max)),n=Math.ceil(e.max/Math.pow(10,i)),a=[];let o=v(t.min,Math.pow(10,Math.floor(W(e.min)))),s=Math.floor(W(o)),r=Math.floor(o/Math.pow(10,s)),l=s<0?Math.pow(10,Math.abs(s)):1;do{a.push({value:o,major:Do(o)}),++r,10===r&&(r=1,++s,l=s>=0?1:l),o=Math.round(r*Math.pow(10,s)*l)/l}while(s<i||s===i&&r<n);const c=v(t.max,o);return a.push({value:c,major:Do(o)}),a}({min:this._userMin,max:this._userMax},this);return"ticks"===t.bounds&&Q(e,this,"value"),t.reverse?(e.reverse(),this.start=this.max,this.end=this.min):(this.start=this.min,this.end=this.max),e}getLabelForValue(t){return void 0===t?"0":ii(t,this.chart.options.locale,this.options.ticks.format)}configure(){const t=this.min;super.configure(),this._startValue=W(t),this._valueRange=W(this.max)-W(t)}getPixelForValue(t){return void 0!==t&&0!==t||(t=this.min),null===t||isNaN(t)?NaN:this.getPixelForDecimal(t===this.min?0:(W(t)-this._startValue)/this._valueRange)}getValueForPixel(t){const e=this.getDecimalForPixel(t);return Math.pow(10,this._startValue+e*this._valueRange)}}function Co(t){const e=t.ticks;if(e.display&&t.display){const t=he(e.backdropPadding);return x(e.font&&e.font.size,Ut.font.size)+t.height}return 0}function Oo(t,e,i,n,a){return t===n||t===a?{start:e-i/2,end:e+i/2}:t<n||t>a?{start:e-i,end:e}:{start:e,end:e+i}}function Ro(t,e,i,n,a){const o=Math.abs(Math.sin(i)),s=Math.abs(Math.cos(i));let r=0,l=0;n.start<e.l?(r=(e.l-n.start)/o,t.l=Math.min(t.l,e.l-r)):n.end>e.r&&(r=(n.end-e.r)/o,t.r=Math.max(t.r,e.r+r)),a.start<e.t?(l=(e.t-a.start)/s,t.t=Math.min(t.t,e.t-l)):a.end>e.b&&(l=(a.end-e.b)/s,t.b=Math.max(t.b,e.b+l))}function Bo(t){return 0===t||180===t?"center":t<180?"left":"right"}function Io(t,e,i){return 90===i||270===i?t-=e/2:(i>270||i<90)&&(t-=e),t}function Lo(t,e,i,n){const{ctx:a}=t;if(i)a.arc(t.xCenter,t.yCenter,e,0,L);else{let i=t.getPointPosition(0,e);a.moveTo(i.x,i.y);for(let o=1;o<n;o++)i=t.getPointPosition(o,e),a.lineTo(i.x,i.y)}}Po.id="logarithmic",Po.defaults={ticks:{callback:Bn.formatters.logarithmic,major:{enabled:!0}}};class Fo extends jo{constructor(t){super(t),this.xCenter=void 0,this.yCenter=void 0,this.drawingArea=void 0,this._pointLabels=[],this._pointLabelItems=[]}setDimensions(){const t=this._padding=he(Co(this.options)/2),e=this.width=this.maxWidth-t.width,i=this.height=this.maxHeight-t.height;this.xCenter=Math.floor(this.left+e/2+t.left),this.yCenter=Math.floor(this.top+i/2+t.top),this.drawingArea=Math.floor(Math.min(e,i)/2)}determineDataLimits(){const{min:t,max:e}=this.getMinMax(!1);this.min=m(t)&&!isNaN(t)?t:0,this.max=m(e)&&!isNaN(e)?e:0,this.handleTickRangeOptions()}computeTickLimit(){return Math.ceil(this.drawingArea/Co(this.options))}generateTickLabels(t){jo.prototype.generateTickLabels.call(this,t),this._pointLabels=this.getLabels().map(((t,e)=>{const i=k(this.options.pointLabels.callback,[t,e],this);return i||0===i?i:""})).filter(((t,e)=>this.chart.getDataVisibility(e)))}fit(){const t=this.options;t.display&&t.pointLabels.display?function(t){const e={l:t.left+t._padding.left,r:t.right-t._padding.right,t:t.top+t._padding.top,b:t.bottom-t._padding.bottom},i=Object.assign({},e),n=[],a=[],o=t._pointLabels.length,s=t.options.pointLabels,r=s.centerPointLabels?I/o:0;for(let u=0;u<o;u++){const o=s.setContext(t.getPointLabelContext(u));a[u]=o.padding;const h=t.getPointPosition(u,t.drawingArea+a[u],r),f=fe(o.font),p=(l=t.ctx,c=f,d=b(d=t._pointLabels[u])?d:[d],{w:Xt(l,c.string,d),h:d.length*c.lineHeight});n[u]=p;const g=it(t.getIndexAngle(u)+r),m=Math.round(q(g));Ro(i,e,g,Oo(m,h.x,p.w,0,180),Oo(m,h.y,p.h,90,270))}var l,c,d;t.setCenterPoint(e.l-i.l,i.r-e.r,e.t-i.t,i.b-e.b),t._pointLabelItems=function(t,e,i){const n=[],a=t._pointLabels.length,o=t.options,s=Co(o)/2,r=t.drawingArea,l=o.pointLabels.centerPointLabels?I/a:0;for(let o=0;o<a;o++){const a=t.getPointPosition(o,r+s+i[o],l),h=Math.round(q(it(a.angle+H))),f=e[o],p=Io(a.y,f.h,h),b=Bo(h),g=(c=a.x,d=f.w,"right"===(u=b)?c-=d:"center"===u&&(c-=d/2),c);n.push({x:a.x,y:p,textAlign:b,left:g,top:p,right:g+f.w,bottom:p+f.h})}var c,d,u;return n}(t,n,a)}(this):this.setCenterPoint(0,0,0,0)}setCenterPoint(t,e,i,n){this.xCenter+=Math.floor((t-e)/2),this.yCenter+=Math.floor((i-n)/2),this.drawingArea-=Math.min(this.drawingArea/2,Math.max(t,e,i,n))}getIndexAngle(t){return it(t*(L/(this._pointLabels.length||1))+G(this.options.startAngle||0))}getDistanceFromCenterForValue(t){if(p(t))return NaN;const e=this.drawingArea/(this.max-this.min);return this.options.reverse?(this.max-t)*e:(t-this.min)*e}getValueForDistanceFromCenter(t){if(p(t))return NaN;const e=t/(this.drawingArea/(this.max-this.min));return this.options.reverse?this.max-e:this.min+e}getPointLabelContext(t){const e=this._pointLabels||[];if(t>=0&&t<e.length){const i=e[t];return function(t,e,i){return be(t,{label:i,index:e,type:"pointLabel"})}(this.getContext(),t,i)}}getPointPosition(t,e,i=0){const n=this.getIndexAngle(t)-H+i;return{x:Math.cos(n)*e+this.xCenter,y:Math.sin(n)*e+this.yCenter,angle:n}}getPointPositionForValue(t,e){return this.getPointPosition(t,this.getDistanceFromCenterForValue(e))}getBasePosition(t){return this.getPointPositionForValue(t||0,this.getBaseValue())}getPointLabelPosition(t){const{left:e,top:i,right:n,bottom:a}=this._pointLabelItems[t];return{left:e,top:i,right:n,bottom:a}}drawBackground(){const{backgroundColor:t,grid:{circular:e}}=this.options;if(t){const i=this.ctx;i.save(),i.beginPath(),Lo(this,this.getDistanceFromCenterForValue(this._endValue),e,this._pointLabels.length),i.closePath(),i.fillStyle=t,i.fill(),i.restore()}}drawGrid(){const t=this.ctx,e=this.options,{angleLines:i,grid:n}=e,a=this._pointLabels.length;let o,s,r;if(e.pointLabels.display&&function(t,e){const{ctx:i,options:{pointLabels:n}}=t;for(let a=e-1;a>=0;a--){const e=n.setContext(t.getPointLabelContext(a)),o=fe(e.font),{x:s,y:r,textAlign:l,left:c,top:d,right:u,bottom:h}=t._pointLabelItems[a],{backdropColor:f}=e;if(!p(f)){const t=he(e.backdropPadding);i.fillStyle=f,i.fillRect(c-t.left,d-t.top,u-c+t.width,h-d+t.height)}ne(i,t._pointLabels[a],s,r+o.lineHeight/2,o,{color:e.color,textAlign:l,textBaseline:"middle"})}}(this,a),n.display&&this.ticks.forEach(((t,e)=>{0!==e&&(s=this.getDistanceFromCenterForValue(t.value),function(t,e,i,n){const a=t.ctx,o=e.circular,{color:s,lineWidth:r}=e;!o&&!n||!s||!r||i<0||(a.save(),a.strokeStyle=s,a.lineWidth=r,a.setLineDash(e.borderDash),a.lineDashOffset=e.borderDashOffset,a.beginPath(),Lo(t,i,o,n),a.closePath(),a.stroke(),a.restore())}(this,n.setContext(this.getContext(e-1)),s,a))})),i.display){for(t.save(),o=a-1;o>=0;o--){const n=i.setContext(this.getPointLabelContext(o)),{color:a,lineWidth:l}=n;l&&a&&(t.lineWidth=l,t.strokeStyle=a,t.setLineDash(n.borderDash),t.lineDashOffset=n.borderDashOffset,s=this.getDistanceFromCenterForValue(e.ticks.reverse?this.min:this.max),r=this.getPointPosition(o,s),t.beginPath(),t.moveTo(this.xCenter,this.yCenter),t.lineTo(r.x,r.y),t.stroke())}t.restore()}}drawBorder(){}drawLabels(){const t=this.ctx,e=this.options,i=e.ticks;if(!i.display)return;const n=this.getIndexAngle(0);let a,o;t.save(),t.translate(this.xCenter,this.yCenter),t.rotate(n),t.textAlign="center",t.textBaseline="middle",this.ticks.forEach(((n,s)=>{if(0===s&&!e.reverse)return;const r=i.setContext(this.getContext(s)),l=fe(r.font);if(a=this.getDistanceFromCenterForValue(this.ticks[s].value),r.showLabelBackdrop){t.font=l.string,o=t.measureText(n.label).width,t.fillStyle=r.backdropColor;const e=he(r.backdropPadding);t.fillRect(-o/2-e.left,-a-l.size/2-e.top,o+e.width,l.size+e.height)}ne(t,n.label,0,-a,l,{color:r.color})})),t.restore()}drawTitle(){}}Fo.id="radialLinear",Fo.defaults={display:!0,animate:!0,position:"chartArea",angleLines:{display:!0,lineWidth:1,borderDash:[],borderDashOffset:0},grid:{circular:!1},startAngle:0,ticks:{showLabelBackdrop:!0,callback:Bn.formatters.numeric},pointLabels:{backdropColor:void 0,backdropPadding:2,display:!0,font:{size:10},callback:t=>t,padding:5,centerPointLabels:!1}},Fo.defaultRoutes={"angleLines.color":"borderColor","pointLabels.color":"color","ticks.color":"color"},Fo.descriptors={angleLines:{_fallback:"grid"}};const No={millisecond:{common:!0,size:1,steps:1e3},second:{common:!0,size:1e3,steps:60},minute:{common:!0,size:6e4,steps:60},hour:{common:!0,size:36e5,steps:24},day:{common:!0,size:864e5,steps:30},week:{common:!1,size:6048e5,steps:4},month:{common:!0,size:2628e6,steps:12},quarter:{common:!1,size:7884e6,steps:4},year:{common:!0,size:3154e7}},zo=Object.keys(No);function Ho(t,e){return t-e}function Vo(t,e){if(p(e))return null;const i=t._adapter,{parser:n,round:a,isoWeekday:o}=t._parseOpts;let s=e;return"function"==typeof n&&(s=n(s)),m(s)||(s="string"==typeof n?i.parse(s,n):i.parse(s)),null===s?null:(a&&(s="week"!==a||!Y(o)&&!0!==o?i.startOf(s,a):i.startOf(s,"isoWeek",o)),+s)}function Ko(t,e,i,n){const a=zo.length;for(let o=zo.indexOf(t);o<a-1;++o){const t=No[zo[o]],a=t.steps?t.steps:Number.MAX_SAFE_INTEGER;if(t.common&&Math.ceil((i-e)/(a*t.size))<=n)return zo[o]}return zo[a-1]}function Wo(t,e,i){if(i){if(i.length){const{lo:n,hi:a}=ge(i,e);t[i[n]>=e?i[n]:i[a]]=!0}}else t[e]=!0}function $o(t,e,i){const n=[],a={},o=e.length;let s,r;for(s=0;s<o;++s)r=e[s],a[r]=s,n.push({value:r,major:!1});return 0!==o&&i?function(t,e,i,n){const a=t._adapter,o=+a.startOf(e[0].value,n),s=e[e.length-1].value;let r,l;for(r=o;r<=s;r=+a.add(r,1,n))l=i[r],l>=0&&(e[l].major=!0);return e}(t,n,a,i):n}class Uo extends Kn{constructor(t){super(t),this._cache={data:[],labels:[],all:[]},this._unit="day",this._majorUnit=void 0,this._offsets={},this._normalized=!1,this._parseOpts=void 0}init(t,e){const i=t.time||(t.time={}),n=this._adapter=new Qi._date(t.adapters.date);j(i.displayFormats,n.formats()),this._parseOpts={parser:i.parser,round:i.round,isoWeekday:i.isoWeekday},super.init(t),this._normalized=e.normalized}parse(t,e){return void 0===t?null:Vo(this,t)}beforeLayout(){super.beforeLayout(),this._cache={data:[],labels:[],all:[]}}determineDataLimits(){const t=this.options,e=this._adapter,i=t.time.unit||"day";let{min:n,max:a,minDefined:o,maxDefined:s}=this.getUserBounds();function r(t){o||isNaN(t.min)||(n=Math.min(n,t.min)),s||isNaN(t.max)||(a=Math.max(a,t.max))}o&&s||(r(this._getLabelBounds()),"ticks"===t.bounds&&"labels"===t.ticks.source||r(this.getMinMax(!1))),n=m(n)&&!isNaN(n)?n:+e.startOf(Date.now(),i),a=m(a)&&!isNaN(a)?a:+e.endOf(Date.now(),i)+1,this.min=Math.min(n,a-1),this.max=Math.max(n+1,a)}_getLabelBounds(){const t=this.getLabelTimestamps();let e=Number.POSITIVE_INFINITY,i=Number.NEGATIVE_INFINITY;return t.length&&(e=t[0],i=t[t.length-1]),{min:e,max:i}}buildTicks(){const t=this.options,e=t.time,i=t.ticks,n="labels"===i.source?this.getLabelTimestamps():this._generate();"ticks"===t.bounds&&n.length&&(this.min=this._userMin||n[0],this.max=this._userMax||n[n.length-1]);const a=this.min,o=function(t,e,i){let n=0,a=t.length;for(;n<a&&t[n]<e;)n++;for(;a>n&&t[a-1]>i;)a--;return n>0||a<t.length?t.slice(n,a):t}(n,a,this.max);return this._unit=e.unit||(i.autoSkip?Ko(e.minUnit,this.min,this.max,this._getLabelCapacity(a)):function(t,e,i,n,a){for(let o=zo.length-1;o>=zo.indexOf(i);o--){const i=zo[o];if(No[i].common&&t._adapter.diff(a,n,i)>=e-1)return i}return zo[i?zo.indexOf(i):0]}(this,o.length,e.minUnit,this.min,this.max)),this._majorUnit=i.major.enabled&&"year"!==this._unit?function(t){for(let e=zo.indexOf(t)+1,i=zo.length;e<i;++e)if(No[zo[e]].common)return zo[e]}(this._unit):void 0,this.initOffsets(n),t.reverse&&o.reverse(),$o(this,o,this._majorUnit)}initOffsets(t){let e,i,n=0,a=0;this.options.offset&&t.length&&(e=this.getDecimalForValue(t[0]),n=1===t.length?1-e:(this.getDecimalForValue(t[1])-e)/2,i=this.getDecimalForValue(t[t.length-1]),a=1===t.length?i:(i-this.getDecimalForValue(t[t.length-2]))/2);const o=t.length<3?.5:.25;n=at(n,0,o),a=at(a,0,o),this._offsets={start:n,end:a,factor:1/(n+1+a)}}_generate(){const t=this._adapter,e=this.min,i=this.max,n=this.options,a=n.time,o=a.unit||Ko(a.minUnit,e,i,this._getLabelCapacity(e)),s=x(a.stepSize,1),r="week"===o&&a.isoWeekday,l=Y(r)||!0===r,c={};let d,u,h=e;if(l&&(h=+t.startOf(h,"isoWeek",r)),h=+t.startOf(h,l?"day":o),t.diff(i,e,o)>1e5*s)throw new Error(e+" and "+i+" are too far apart with stepSize of "+s+" "+o);const f="data"===n.ticks.source&&this.getDataTimestamps();for(d=h,u=0;d<i;d=+t.add(d,s,o),u++)Wo(c,d,f);return d!==i&&"ticks"!==n.bounds&&1!==u||Wo(c,d,f),Object.keys(c).sort(((t,e)=>t-e)).map((t=>+t))}getLabelForValue(t){const e=this._adapter,i=this.options.time;return i.tooltipFormat?e.format(t,i.tooltipFormat):e.format(t,i.displayFormats.datetime)}_tickFormatFunction(t,e,i,n){const a=this.options,o=a.time.displayFormats,s=this._unit,r=this._majorUnit,l=s&&o[s],c=r&&o[r],d=i[e],u=r&&c&&d&&d.major,h=this._adapter.format(t,n||(u?c:l)),f=a.ticks.callback;return f?k(f,[h,e,i],this):h}generateTickLabels(t){let e,i,n;for(e=0,i=t.length;e<i;++e)n=t[e],n.label=this._tickFormatFunction(n.value,e,t)}getDecimalForValue(t){return null===t?NaN:(t-this.min)/(this.max-this.min)}getPixelForValue(t){const e=this._offsets,i=this.getDecimalForValue(t);return this.getPixelForDecimal((e.start+i)*e.factor)}getValueForPixel(t){const e=this._offsets,i=this.getDecimalForPixel(t)/e.factor-e.end;return this.min+i*(this.max-this.min)}_getLabelSize(t){const e=this.options.ticks,i=this.ctx.measureText(t).width,n=G(this.isHorizontal()?e.maxRotation:e.minRotation),a=Math.cos(n),o=Math.sin(n),s=this._resolveTickFontOptions(0).size;return{w:i*a+s*o,h:i*o+s*a}}_getLabelCapacity(t){const e=this.options.time,i=e.displayFormats,n=i[e.unit]||i.millisecond,a=this._tickFormatFunction(t,0,$o(this,[t],this._majorUnit),n),o=this._getLabelSize(a),s=Math.floor(this.isHorizontal()?this.width/o.w:this.height/o.h)-1;return s>0?s:1}getDataTimestamps(){let t,e,i=this._cache.data||[];if(i.length)return i;const n=this.getMatchingVisibleMetas();if(this._normalized&&n.length)return this._cache.data=n[0].controller.getAllParsedValues(this);for(t=0,e=n.length;t<e;++t)i=i.concat(n[t].controller.getAllParsedValues(this));return this._cache.data=this.normalize(i)}getLabelTimestamps(){const t=this._cache.labels||[];let e,i;if(t.length)return t;const n=this.getLabels();for(e=0,i=n.length;e<i;++e)t.push(Vo(this,n[e]));return this._cache.labels=this._normalized?t:this.normalize(t)}normalize(t){return ke(t.sort(Ho))}}function Yo(t,e,i){let n,a,o,s,r=0,l=t.length-1;i?(e>=t[r].pos&&e<=t[l].pos&&({lo:r,hi:l}=me(t,"pos",e)),({pos:n,time:o}=t[r]),({pos:a,time:s}=t[l])):(e>=t[r].time&&e<=t[l].time&&({lo:r,hi:l}=me(t,"time",e)),({time:n,pos:o}=t[r]),({time:a,pos:s}=t[l]));const c=a-n;return c?o+(s-o)*(e-n)/c:o}Uo.id="time",Uo.defaults={bounds:"data",adapters:{},time:{parser:!1,unit:!1,round:!1,isoWeekday:!1,minUnit:"millisecond",displayFormats:{}},ticks:{source:"auto",major:{enabled:!1}}};class Xo extends Uo{constructor(t){super(t),this._table=[],this._minPos=void 0,this._tableRange=void 0}initOffsets(){const t=this._getTimestampsForTable(),e=this._table=this.buildLookupTable(t);this._minPos=Yo(e,this.min),this._tableRange=Yo(e,this.max)-this._minPos,super.initOffsets(t)}buildLookupTable(t){const{min:e,max:i}=this,n=[],a=[];let o,s,r,l,c;for(o=0,s=t.length;o<s;++o)l=t[o],l>=e&&l<=i&&n.push(l);if(n.length<2)return[{time:e,pos:0},{time:i,pos:1}];for(o=0,s=n.length;o<s;
1++o)c=n[o+1],r=n[o-1],l=n[o],Math.round((c+r)/2)!==l&&a.push({time:l,pos:o/(s-1)});return a}_getTimestampsForTable(){let t=this._cache.all||[];if(t.length)return t;const e=this.getDataTimestamps(),i=this.getLabelTimestamps();return t=e.length&&i.length?this.normalize(e.concat(i)):e.length?e:i,t=this._cache.all=t,t}getDecimalForValue(t){return(Yo(this._table,t)-this._minPos)/this._tableRange}getValueForPixel(t){const e=this._offsets,i=this.getDecimalForPixel(t)/e.factor-e.end;return Yo(this._table,i*this._tableRange+this._minPos,!0)}}Xo.id="timeseries",Xo.defaults=Uo.defaults;const Qo=[Ui,Fa,So,Object.freeze({__proto__:null,CategoryScale:To,LinearScale:Eo,LogarithmicScale:Po,RadialLinearScale:Fo,TimeScale:Uo,TimeSeriesScale:Xo})];var Go=i(5161),qo=i.n(Go),Jo=i(3311),Zo=i.n(Jo),ts=i(3105),es=i.n(ts),is=i(4238),ns=i.n(is),as=i(4908),os=i.n(as),ss=i(9995),rs=i.n(ss),ls=i(4721),cs=i.n(ls),ds=i(4293),us=i.n(ds),hs=i(2297),fs=i.n(hs),ps=i(2628),bs=i.n(ps),gs=i(4654),ms=i.n(gs),vs=i(4061),xs=i.n(vs),ys=i(2571),ks=i.n(ys),_s=i(5564),ws=i.n(_s),Ms=i(7557),Ss=i.n(Ms);const Ts={teacher:{et:"õpetaja",ru:"учитель"},principal:{et:"juhtkond",ru:"pуководство"}},As=(t,e)=>{const i=(t=>ms()(t,"questions"))(e),n=((t,e)=>es()(t,(t=>e.includes(t.id))))(i,t);var a;return a=n,ms()(a,"answers")};var js=(t,e)=>{const i=qo()(t,(t=>t.surveytype)),n=rs()(i,(t=>t)),a=t?t[0].id:"",o=e=>{const i=qo()((e=>es()(t,(function(t){return t.surveytype===e})))(e),(t=>t.survey));return i},s=(t,e)=>qo()(o(t),(t=>t[e])),r=(t,e,i)=>qo()(s(t,e),(t=>t[i])),l=(t,e,i)=>{const n=ws()(r(t,e,i)),a=os()(n);return xs()(a,(function(t,e){return{...t,[e]:ns()(es()(n,(t=>t===e)))}}),{})},c=(t,e,i)=>xs()(i,(function(i,n){return{...i,...l(t,e,n)}}),{}),d=(t,i,a)=>{const o=c(t,i,a),s=As(a,e[t]);return xs()(s,(function(e,i){return{...e,[i.id]:((o[i.id]||0)/n[t]*100).toFixed()}}),{})};return{respondentsCountBySurveyType:n,schoolName:a,getSurveyAnswersByQuestion:r,getRespondentsBlocksBySurveyType:o,getRespondentsCountByAnswer:(t,e,i,n)=>r(t,e,i).filter((t=>t===n)).length,getRespondentsCountInAnswer:(t,e,i,n)=>{const a=rs()(((t,e,i,n)=>r(t,e,i).filter((t=>t===n)))(t,e,i,n),(t=>t));return a[n]},getRespondentsCountInOneAnswer:l,getSurveyAnswersQuestion:(t,e,i)=>qo()(s(t,e),(t=>t[i])),getUniqueAnswersCount:(t,e)=>{let i=0;for(const n in e)""!==e[n]&&e[n].includes(t)&&i++;return i},getRespondentsCountInQuestions:c,getQuestionsAnswersAverage:(t,i,n)=>{return(a=c(t,i,n),o=((t,e)=>{var i;return(t=>xs()(t,(function(t,e){return{...t,[e.id]:e.weight}}),{}))((i=As(t,e),es()(i,(t=>!us()(t.weight)))))})(n,e[t]),xs()(o,(function(t,e,i){return t+(a[i]||0)*e}),0)/fs()(bs()(c(t,i,n)))).toFixed(1);var a,o},getQuestionsAnswersNullAverage:(t,i,a)=>{const o=c(t,i,a),s=((t,e)=>{const i=(n=As(t,e),es()(n,(t=>null===t.weight)));var n;return qo()(i,"id")})(a,e[t]),r=es()(o,((t,e)=>cs()(s,e)));return(fs()(r)/(a.length*n[t])*100).toFixed()},getQuestionsAnswersCDEAverage:(t,i,a)=>{const o=c(t,i,a),s=((t,e)=>{const i=As(t,e),n=ks()(i,2,5);return qo()(n,"id")})(a,e[t]),r=es()(o,((t,e)=>cs()(s,e)));return(fs()(r)/n[t]*100).toFixed()},getQuestionAnswersPercent:d,getQuestionsIdsByBlockId:t=>xs()(e[t],(function(t,e){return{...t,[e.id]:qo()(e.questions,"id")}}),{}),getFollowUpQuestionFirstAnswerAverage:(t,i,n,a,o)=>{const s=Zo()(e[t],(function(t){return t.id===i}))||{},r=Zo()(s.questions,(function(t){return t.id===n})),l=null==r?void 0:r.followUpQuestion.answers[a].id,d=Ss()(c(t,i,o),[""]),u=fs()(bs()(d));return(d[l]/u*100).toFixed()},getAnswerLabelByQuestion:(t,i,n,a)=>{const o=As([i],e[t]),s=Zo()(o,{id:n});return null==s?void 0:s.answer[a]},getData:(t,i,n)=>{var a,o;const{type:s,blockId:r,questionId:l}=t,{type:c,blockId:u,questionId:h}=i,f=As([l],e[s]),p=As([h],e[c]),b=d(s,r,[l]),g=d(c,u,[h]),m={label:null===(a=Ts[s])||void 0===a?void 0:a[n],data:qo()(f,(t=>b[t.id])),backgroundColor:"rgba(255, 167, 45, 0.8)",maxBarThickness:24},v={label:null===(o=Ts[c])||void 0===o?void 0:o[n],data:qo()(p,(t=>g[t.id])),backgroundColor:"rgba(241, 93, 80, 0.8)",maxBarThickness:24};return{labels:qo()(f,(t=>{var e;return null===(e=t.answer)||void 0===e?void 0:e[n]})),datasets:[m,v]}}}},Es=e=>{let{heading:i,description:n,schoolRespondentsCountBySurveyType:a=0}=e;return(0,t.createElement)(t.Fragment,null,(0,t.createElement)("h4",{className:"level"},i),(0,t.createElement)("h5",{className:"level"},n,a))},Ds=e=>{let{headline:i,description:n,getRespondentsCountByFirstGrade:a=0,getRespondentsCountBySecondGrade:o=0,getRespondentsCountByThirdGrade:s=0}=e;const r=a+o+s;return(0,t.createElement)(t.Fragment,null,(0,t.createElement)("h4",{className:"level"},i),(0,t.createElement)("h5",{className:"level"},n," ",r))},Ps=e=>{var i,n,a,o,s,l,c,d,u,h;let{schoolAdminReportData:f,templatesByType:p,report:b,languageType:g,translations:m}=e;const{respondentsCountBySurveyType:v,getRespondentsCountByAnswer:x}=js(f,p);return(0,t.createElement)(t.Fragment,null,r(null===(i=b.descriptionParagraphHtml)||void 0===i?void 0:i[g]),r(null===(n=b.firstBlockParagraphHtml)||void 0===n?void 0:n[g]),(0,t.createElement)("h3",null,null===(a=m.firstBlockTableTitle)||void 0===a?void 0:a[g]),(0,t.createElement)("table",{className:"tableContainer"},(0,t.createElement)("tbody",null,(0,t.createElement)("tr",null,(0,t.createElement)("td",{scope:"row",className:"blockName"},null===(o=m.firstBlockStudents)||void 0===o?void 0:o[g]),(0,t.createElement)("td",null,(0,t.createElement)(Es,{heading:"",description:"",schoolRespondentsCountBySurveyType:v.student})),(0,t.createElement)("td",{className:"studentColor"})),(0,t.createElement)("tr",null,(0,t.createElement)("td",{scope:"row",className:"blockName"},null===(s=m.firstBlockFirstSchoolLevel)||void 0===s?void 0:s[g]),(0,t.createElement)("td",null,(0,t.createElement)(Ds,{headline:"",description:"",getRespondentsCountByFirstGrade:x("student","29b73fec-39bd-454d-b842-78b597305345","b3b4571e-f467-4276-b42f-606d57df6507","cc4070ed-cf94-452c-8a64-36e415e28328"),getRespondentsCountBySecondGrade:x("student","29b73fec-39bd-454d-b842-78b597305345","b3b4571e-f467-4276-b42f-606d57df6507","c3ca4408-cbde-4b36-8e98-1cf4895d4919"),getRespondentsCountByThirdGrade:x("student","29b73fec-39bd-454d-b842-78b597305345","b3b4571e-f467-4276-b42f-606d57df6507","5c3633a5-76ff-4e66-b5e2-8790073ab4d3")})),(0,t.createElement)("td",null)),(0,t.createElement)("tr",null,(0,t.createElement)("td",{scope:"row",className:"blockName"},null===(l=m.firstBlockSecondSchoolLevel)||void 0===l?void 0:l[g]),(0,t.createElement)("td",null,(0,t.createElement)(Ds,{headline:"",description:"",getRespondentsCountByFirstGrade:x("student","29b73fec-39bd-454d-b842-78b597305345","b3b4571e-f467-4276-b42f-606d57df6507","743e93d6-d996-413d-b28a-68b6d2befab5"),getRespondentsCountBySecondGrade:x("student","29b73fec-39bd-454d-b842-78b597305345","b3b4571e-f467-4276-b42f-606d57df6507","62cf6d0c-5d1b-4880-9e4e-88fb933ad307"),getRespondentsCountByThirdGrade:x("student","29b73fec-39bd-454d-b842-78b597305345","b3b4571e-f467-4276-b42f-606d57df6507","516d1354-a021-4ffb-ad94-3ab11beb0d63")})),(0,t.createElement)("td",null)),(0,t.createElement)("tr",null,(0,t.createElement)("td",{scope:"row",className:"blockName"}
1,null===(c=m.firstBlockThirdSchoolLevel)||void 0===c?void 0:c[g]),(0,t.createElement)("td",null,(0,t.createElement)(Ds,{headline:"",description:"",getRespondentsCountByFirstGrade:x("student","29b73fec-39bd-454d-b842-78b597305345","b3b4571e-f467-4276-b42f-606d57df6507","3c284629-3ecf-4380-80cf-3fa48a6d7c00"),getRespondentsCountBySecondGrade:x("student","29b73fec-39bd-454d-b842-78b597305345","b3b4571e-f467-4276-b42f-606d57df6507","10f443c7-25d2-4bd8-ab15-8fbf23f06b6b"),getRespondentsCountByThirdGrade:x("student","29b73fec-39bd-454d-b842-78b597305345","b3b4571e-f467-4276-b42f-606d57df6507","5fb02f7a-7d3d-4a27-a629-6200b7df259a")})),(0,t.createElement)("td",null)),(0,t.createElement)("tr",null,(0,t.createElement)("td",{scope:"row",className:"blockName"},null===(d=m.firstBlockParents)||void 0===d?void 0:d[g]),(0,t.createElement)("td",null,(0,t.createElement)(Es,{heading:"",description:"",schoolRespondentsCountBySurveyType:v.parent})),(0,t.createElement)("td",{className:"parentColor"})),(0,t.createElement)("tr",null,(0,t.createElement)("td",{scope:"row",className:"blockName"},null===(u=m.firstBlockTeachers)||void 0===u?void 0:u[g]),(0,t.createElement)("td",null,(0,t.createElement)(Es,{heading:"",description:" ",schoolRespondentsCountBySurveyType:v.teacher})),(0,t.createElement)("td",{className:"teacherColor"})),(0,t.createElement)("tr",null,(0,t.createElement)("td",{scope:"row",className:"blockName"},null===(h=m.firstBlockPrincipals)||void 0===h?void 0:h[g]),(0,t.createElement)("td",null,(0,t.createElement)(Es,{heading:"",description:"",schoolRespondentsCountBySurveyType:v.principal})),(0,t.createElement)("td",{className:"principalColor"})))))};const Cs="label";function Os(t,e){"function"==typeof t?t(e):t&&(t.current=e)}function Rs(t,e){t.labels=e}function Bs(t,e){let i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:Cs;const n=[];t.datasets=e.map((e=>{const a=t.datasets.find((t=>t[i]===e[i]));return a&&e.data&&!n.includes(a)?(n.push(a),Object.assign(a,e),a):{...e}}))}function Is(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Cs;const i={labels:[],datasets:[]};return Rs(i,t.labels),Bs(i,t.datasets,e),i}function Ls(t,i){let{height:a=150,width:o=300,redraw:s=!1,datasetIdKey:r,type:l,data:c,options:d,plugins:u=[],fallbackContent:h,...f}=t;const p=(0,e.useRef)(null),b=(0,e.useRef)(),g=()=>{p.current&&(b.current=new ba(p.current,{type:l,data:Is(c,r),options:d,plugins:u}),Os(i,b.current))},m=()=>{Os(i,null),b.current&&(b.current.destroy(),b.current=null)};return(0,e.useEffect)((()=>{var t,e;!s&&b.current&&d&&(t=b.current,e=d,t.options={...e})}),[s,d]),(0,e.useEffect)((()=>{!s&&b.current&&Rs(b.current.config.data,c.labels)}),[s,c.labels]),(0,e.useEffect)((()=>{!s&&b.current&&c.datasets&&Bs(b.current.config.data,c.datasets,r)}),[s,c.datasets]),(0,e.useEffect)((()=>{b.current&&(s?(m(),setTimeout(g)):b.current.update())}),[s,d,c.labels,c.datasets]),(0,e.useEffect)((()=>(g(),()=>m())),[]),n().createElement("canvas",Object.assign({ref:p,role:"img",height:a,width:o},f),h)}const Fs=(0,e.forwardRef)(Ls);function Ns(t,i){return ba.register(i),(0,e.forwardRef)(((e,i)=>n().createElement(Fs,Object.assign({},e,{ref:i,type:t}))))}const zs=Ns("bar",Fi);var Hs=e=>{var i,n,a,o,s,r;let{schoolAdminReportData:l,templatesByType:c,languageType:d,translations:u}=e;const{getQuestionsIdsByBlockId:h,getQuestionsAnswersAverage:f}=js(l,c),p=f("student","113dc87f-a8e0-4491-aa37-82fcb6094714",ks()(h("student")["113dc87f-a8e0-4491-aa37-82fcb6094714"],0,4)).toString(),b=f("student","113dc87f-a8e0-4491-aa37-82fcb6094714",ks()(h("student")["113dc87f-a8e0-4491-aa37-82fcb6094714"],4,7)).toString(),g=f("parent","3f992cbd-32af-4841-b7e6-8a17dccbf676",ks()(h("parent")["3f992cbd-32af-4841-b7e6-8a17dccbf676"],0,4)).toString(),m=f("parent","3f992cbd-32af-4841-b7e6-8a17dccbf676",ks()(h("parent")["3f992cbd-32af-4841-b7e6-8a17dccbf676"],4,7)).toString(),v=f("teacher","07c3e992-ac43-4a6c-9145-1bd118d096b3",ks()(h("teacher")["07c3e992-ac43-4a6c-9145-1bd118d096b3"],0,4)).toString(),x=f("teacher","07c3e992-ac43-4a6c-9145-1bd118d096b3",ks()(h("teacher")["07c3e992-ac43-4a6c-9145-1bd118d096b3"],4,7)).toString(),y=f("principal","094f9709-e654-41ab-baf0-51ccdf42b9cb",ks()(h("principal")["094f9709-e654-41ab-baf0-51ccdf42b9cb"],0,4)).toString(),k=f("principal","094f9709-e654-41ab-baf0-51ccdf42b9cb",ks()(h("principal")["094f9709-e654-41ab-baf0-51ccdf42b9cb"],4,7)).toString(),_={indexAxis:"y",elements:{bar:{borderWidth:2}},maintainAspectRatio:!1,scales:{x:{max:1}
1},plugins:{legend:{position:"right"},title:{display:!0,text:null===(i=u.secondBlockDiagramTitle)||void 0===i?void 0:i[d]}}},w={labels:null===(n=u.secondBlockDiagramLabels)||void 0===n?void 0:n[d],datasets:[{label:null===(a=u.student)||void 0===a?void 0:a[d],data:[p,b],backgroundColor:"rgba(107, 176, 213, 0.8)",maxBarThickness:24},{label:null===(o=u.parent)||void 0===o?void 0:o[d],data:[g,m],backgroundColor:"rgba(154, 185, 66, 0.8)",maxBarThickness:24},{label:null===(s=u.teacher)||void 0===s?void 0:s[d],data:[v,x],backgroundColor:"rgba(255, 167, 45, 0.8)",maxBarThickness:24},{label:null===(r=u.principal)||void 0===r?void 0:r[d],data:[y,k],backgroundColor:"rgba(241, 93, 80, 0.8)",maxBarThickness:24}]};return(0,t.createElement)("div",{className:"second-block-first-diagram"},(0,t.createElement)(zs,{options:_,data:w}))},Vs=e=>{var i;let{schoolAdminReportData:n,templatesByType:a,report:o,languageType:s,translations:l}=e;return(0,t.createElement)(t.Fragment,null,r(null===(i=o.secondBlockParagraphHtml)||void 0===i?void 0:i[s]),(0,t.createElement)(Hs,{schoolAdminReportData:n,templatesByType:a,languageType:s,translations:l}))},Ks=e=>{var i,n,a,o,s,l;let{schoolAdminReportData:c,templatesByType:d,report:u,languageType:h,translations:f}=e;const{getQuestionsAnswersAverage:p,getQuestionsIdsByBlockId:b}=js(c,d),g=p("student","995ad62d-0253-43bd-ab43-278385d61492",ks()(b("student")["995ad62d-0253-43bd-ab43-278385d61492"],0,1)),m=p("parent","09d83aba-580c-4fe5-b8fb-16f345ec28dc",ks()(b("parent")["09d83aba-580c-4fe5-b8fb-16f345ec28dc"],0,1)),v=p("teacher","41c69390-0190-45fa-889c-20717eb67c64",ks()(b("teacher")["41c69390-0190-45fa-889c-20717eb67c64"],0,1)),x=p("principal","f42e0ef0-d149-4c50-8e25-9e0d80a026a6",ks()(b("principal")["f42e0ef0-d149-4c50-8e25-9e0d80a026a6"],0,1)),y=parseFloat(g)+1,k=parseFloat(m)+1,_=parseFloat(v)+1,w=parseFloat(x)+1,M={indexAxis:"y",elements:{bar:{borderWidth:2}},maintainAspectRatio:!1,scales:{x:{min:0,max:5}},plugins:{legend:{position:"right"},title:{display:!0,text:null===(i=f.thirdBlockFirstDiagramTitle)||void 0===i?void 0:i[h]}}},S={labels:[""],datasets:[{label:null===(n=f.student)||void 0===n?void 0:n[h],data:[y],backgroundColor:"rgba(107, 176, 213, 0.8)",maxBarThickness:24},{label:null===(a=f.parent)||void 0===a?void 0:a[h],data:[k],backgroundColor:"rgba(154, 185, 66, 0.8)",maxBarThickness:24},{label:null===(o=f.teacher)||void 0===o?void 0:o[h],data:[_],backgroundColor:"rgba(255, 167, 45, 0.8)",maxBarThickness:24},{label:null===(s=f.principal)||void 0===s?void 0:s[h],data:[w],backgroundColor:"rgba(241, 93, 80, 0.8)",maxBarThickness:24}]};return(0,t.createElement)(t.Fragment,null,r(null===(l=u.thirdBlockFirstParagraphHtml)||void 0===l?void 0:l[h]),(0,t.createElement)("div",{className:"third-block-first-diagram"},(0,t.createElement)(zs,{options:M,data:S})))},Ws=e=>{var i,n,a,o,s,r;let{schoolAdminReportData:l,templatesByType:c,languageType:d,translations:u}=e;const{getQuestionsAnswersAverage:h,getQuestionsIdsByBlockId:f}=js(l,c),p=h("student","995ad62d-0253-43bd-ab43-278385d61492",ks()(f("student")["995ad62d-0253-43bd-ab43-278385d61492"],1,2)),b=h("parent","09d83aba-580c-4fe5-b8fb-16f345ec28dc",ks()(f("parent")["09d83aba-580c-4fe5-b8fb-16f345ec28dc"],1,2)),g=h("teacher","41c69390-0190-45fa-889c-20717eb67c64",ks()(f("teacher")["41c69390-0190-45fa-889c-20717eb67c64"],2,3)),m=h("principal","f42e0ef0-d149-4c50-8e25-9e0d80a026a6",ks()(f("principal")["f42e0ef0-d149-4c50-8e25-9e0d80a026a6"],2,3)),v=h("student","995ad62d-0253-43bd-ab43-278385d61492",ks()(f("student")["995ad62d-0253-43bd-ab43-278385d61492"],2,3)),x=h("parent","09d83aba-580c-4fe5-b8fb-16f345ec28dc",ks()(f("parent")["09d83aba-580c-4fe5-b8fb-16f345ec28dc"],2,3)),y=h("teacher","41c69390-0190-45fa-889c-20717eb67c64",ks()(f("teacher")["41c69390-0190-45fa-889c-20717eb67c64"],3,4)),k=h("principal","f42e0ef0-d149-4c50-8e25-9e0d80a026a6",ks()(f("principal")["f42e0ef0-d149-4c50-8e25-9e0d80a026a6"],3,4)),_=parseFloat(p)+1,w=parseFloat(b)+1,M=parseFloat(g)+1,S=parseFloat(m)+1,T=parseFloat(v)+1,A=parseFloat(x)+1,j=parseFloat(y)+1,E=parseFloat(k)+1,D={indexAxis:"y",elements:{bar:{borderWidth:2}},maintainAspectRatio:!1,scales:{x:{min:0,max:5}},plugins:{legend:{position:"right"},title:{display:!0,text:null===(i=u.thirdBlockSecondDiagramTitle)||void 0===i?void 0:i[d]}}},P={labels:null===(n=u.thirdBlockSecondDiagramLabels)||void 0===n?void 0:n[d],datasets:[{label:null===(a=u.student)||void 0===a?void 0:a[d],data:[_,T],backgroundColor:"rgba(107, 176, 213, 0.8)",maxBarThickness:24},{label:null===(o=u.parent)||void 0===o?void 0:o[d],data:[w,A],backgroundColor:"rgba(154, 185, 66, 0.8)",maxBarThickness:24},{label:null===(s=u.teacher)||void 0===s?void 0:s[d],data:[M,j],backgroundColor:"rgba(255, 167, 45, 0.8)",maxBarThickness:24},{label:null===(r=u.principal)||void 0===r?void 0:r[d],data:[S,E],backgroundColor:"rgba(241, 93, 80, 0.8)",maxBarThickness:24}]};return(0,t.createElement)("div",{className:"third-block-second-diagram"},(0,t.createElement)(zs,{options:D,data:P}))},$s=e=>{var i,n,a,o,s;let{schoolAdminReportData:l,templatesByType:c,report:d,languageType:u,translations:h}=e;const{getQuestionsAnswersCDEAverage:f,getFollowUpQuestionFirstAnswerAverage:p}=js(l,c),b=f("student","995ad62d-0253-43bd-ab43-278385d61492",["a8d8da6e-b264-42a4-8ed7-9422793baa6d"]),g=f("student","995ad62d-0253-43bd-ab43-278385d61492",["0d07f7f6-95c2-49b2-a550-a4675e009e33"]),m=f("student","995ad62d-0253-43bd-ab43-278385d61492",["89ee49ea-a2a9-468f-ac1e-4b53dd79ccf8"]),v=p("student","995ad62d-0253-43bd-ab43-278385d61492","a8d8da6e-b264-42a4-8ed7-9422793baa6d",0,["200aac46-6096-4c41-9a19-0b94b7c380c5-followUpAnswer"]),x={indexAxis:"y",elements:{bar:{borderWidth:2}},maintainAspectRatio:!1,scales:{x:{max:100}}
1,plugins:{legend:{display:!1},title:{display:!0,text:null===(i=h.thirdBlockThirdDiagramTitle)||void 0===i?void 0:i[u]}}},y={labels:null===(n=h.thirdBlockThirdDiagramLabels)||void 0===n?void 0:n[u],datasets:[{label:"",data:[b,g,m],backgroundColor:"rgba(107, 176, 213, 0.8)",maxBarThickness:24}]};return(0,t.createElement)(t.Fragment,null,r(null===(a=d.thirdBlockSecondParagraphHtml)||void 0===a?void 0:a[u]),(0,t.createElement)("div",{className:"descriptionContainer"},(0,t.createElement)("div",{className:"description"},r(null===(o=d.thirdBlockSecondParagraphFirstDescriptionHtml)||void 0===o?void 0:o[u])),(0,t.createElement)("div",{className:"description"},v,"%"),(0,t.createElement)("div",{className:"description"},r(null===(s=d.thirdBlockSecondParagraphSecondDescriptionHtml)||void 0===s?void 0:s[u]))),(0,t.createElement)("div",{className:"third-block-third-diagram"},(0,t.createElement)(zs,{options:x,data:y})))},Us=e=>{var i,n,a;let{schoolAdminReportData:o,templatesByType:s,report:l,languageType:c,translations:d}=e;const{getQuestionAnswersPercent:u,getAnswerLabelByQuestion:h}=js(o,s),f=u("parent","09d83aba-580c-4fe5-b8fb-16f345ec28dc",["e9ce67ca-d743-4859-a728-7f33781a89d8"]),p=[{label:"",data:qo()(f,((t,e)=>t)),backgroundColor:"rgba(154, 185, 66, 0.8)",maxBarThickness:24}],b={indexAxis:"y",elements:{bar:{borderWidth:2}},maintainAspectRatio:!1,scales:{x:{max:100}},plugins:{legend:{display:!1},title:{display:!0,text:null===(i=d.thirdBlockFourthDiagramTitle)||void 0===i?void 0:i[c]}}},g={labels:null===(n=d.thirdBlockFourthDiagramLabels)||void 0===n?void 0:n[c],datasets:p};return(0,t.createElement)(t.Fragment,null,r(null===(a=l.thirdBlockThirdParagraphHtml)||void 0===a?void 0:a[c]),(0,t.createElement)("div",{className:"third-block-fourth-diagram"},(0,t.createElement)(zs,{options:b,data:g})))},Ys=e=>{var i;let{schoolAdminReportData:n,templatesByType:a,languageType:o,translations:s}=e;const{getData:r}=js(n,a),l=r({type:"teacher",blockId:"41c69390-0190-45fa-889c-20717eb67c64",questionId:"e756c7b6-b2d8-4372-b243-1cea3961f7d3"},{type:"principal",blockId:"f42e0ef0-d149-4c50-8e25-9e0d80a026a6",questionId:"a37699f5-9759-4250-9e86-b48c47f1dfd7"},o),c={indexAxis:"y",elements:{bar:{borderWidth:2}},maintainAspectRatio:!1,scales:{x:{max:100}},plugins:{legend:{position:"right"},title:{display:!0,text:null===(i=s.thirdBlockFifthDiagramTitle)||void 0===i?void 0:i[o]}}};return(0,t.createElement)("div",{className:"third-block-fifth-diagram"},(0,t.createElement)(zs,{options:c,data:l}))},Xs=e=>{var i,n,a;let{schoolAdminReportData:o,templatesByType:s,report:l,languageType:c,translations:d}=e;const{getQuestionAnswersPercent:u,getAnswerLabelByQuestion:h}=js(o,s),f=u("student","995ad62d-0253-43bd-ab43-278385d61492",["1845d0d1-c8f0-4c9b-bc77-4cdbac699019"]),p=[{label:"",data:qo()(f,((t,e)=>t)),backgroundColor:"rgba(107, 176, 213, 0.8)",maxBarThickness:24}],b={indexAxis:"y",elements:{bar:{borderWidth:2}},maintainAspectRatio:!1,scales:{x:{max:100}},plugins:{legend:{display:!1},title:{display:!0,text:null===(i=d.thirdBlockSixthDiagramTitle)||void 0===i?void 0:i[c]}}},g={labels:null===(n=d.thirdBlockSixthDiagramLabels)||void 0===n?void 0:n[c],datasets:p};return(0,t.createElement)(t.Fragment,null,r(null===(a=l.thirdBlockFourthParagraphHtml)||void 0===a?void 0:a[c]),(0,t.createElement)("div",{className:"third-block-sixth-diagram"},(0,t.createElement)(zs,{options:b,data:g})))},Qs=e=>{var i,n;let{schoolAdminReportData:a,templatesByType:o,languageType:s,translations:r}=e;const{getQuestionAnswersPercent:l,getAnswerLabelByQuestion:c}=js(a,o),d=l("student","995ad62d-0253-43bd-ab43-278385d61492",["805bec84-8008-4168-85dd-9ee86d816dca"]),u=[{label:"",data:qo()(d,((t,e)=>t)),backgroundColor:"rgba(107, 176, 213, 0.8)",maxBarThickness:24}],h={indexAxis:"y",elements:{bar:{borderWidth:2}},maintainAspectRatio:!1,scales:{x:{max:100}},plugins:{legend:{display:!1},title:{display:!0,text:null===(i=r.thirdBlockSeventhDiagramTitle)||void 0===i?void 0:i[s]}}},f={labels:null===(n=r.thirdBlockSeventhDiagramLabels)||void 0===n?void 0:n[s],datasets:u};return(0,t.createElement)("div",{className:"third-block-seventh-diagram"},(0,t.createElement)(zs,{options:h,data:f}))},Gs=e=>{var i,n,a,o,s;let{schoolAdminReportData:l,templatesByType:c,report:d,languageType:u,translations:h}=e;const{getQuestionsAnswersCDEAverage:f,getFollowUpQuestionFirstAnswerAverage:p}=js(l,c),b=f("teacher","41c69390-0190-45fa-889c-20717eb67c64",["7d39de3e-4218-427c-abee-68d21bd09e2a"]),g=p("teacher","41c69390-0190-45fa-889c-20717eb67c64","7d39de3e-4218-427c-abee-68d21bd09e2a",0,["bf4191bb-80f8-44bb-aa2b-843fd805e647-followUpAnswer"]),m=p("teacher","41c69390-0190-45fa-889c-20717eb67c64","7d39de3e-4218-427c-abee-68d21bd09e2a",1,["bf4191bb-80f8-44bb-aa2b-843fd805e647-followUpAnswer"]),v=p("teacher","41c69390-0190-45fa-889c-20717eb67c64","7d39de3e-4218-427c-abee-68d21bd09e2a",2,["bf4191bb-80f8-44bb-aa2b-843fd805e647-followUpAnswer"]),x=p("teacher","41c69390-0190-45fa-889c-20717eb67c64","7d39de3e-4218-427c-abee-68d21bd09e2a",3,["bf4191bb-80f8-44bb-aa2b-843fd805e647-followUpAnswer"]),y=p("teacher","41c69390-0190-45fa-889c-20717eb67c64","7d39de3e-4218-427c-abee-68d21bd09e2a",4,["bf4191bb-80f8-44bb-aa2b-843fd805e647-followUpAnswer"]),k={indexAxis:"y",elements:{bar:{borderWidth:2}},maintainAspectRatio:!1,scales:{x:{max:100}}
1,plugins:{legend:{display:!1},title:{display:!0,text:null===(i=h.thirdBlockEighthDiagramTitle)||void 0===i?void 0:i[u]}}},_={labels:null===(n=h.thirdBlockEighthDiagramLabels)||void 0===n?void 0:n[u],datasets:[{label:null===(a=h.thirdBlockEighthDiagramFirstLabel)||void 0===a?void 0:a[u],data:[g,m,v,x,y],backgroundColor:"rgba(255, 167, 45, 0.8)",maxBarThickness:24}]};return(0,t.createElement)(t.Fragment,null,r(null===(o=d.thirdBlockFifthParagraphHtml)||void 0===o?void 0:o[u]),(0,t.createElement)("div",{className:"descriptionContainer"},(0,t.createElement)("div",{className:"description"},r(null===(s=d.thirdBlockFifthParagraphDescriptionHtml)||void 0===s?void 0:s[u])),(0,t.createElement)("div",{className:"description"},b,"%.")),(0,t.createElement)("div",{className:"third-block-eighth-diagram"},(0,t.createElement)(zs,{options:k,data:_})))},qs=e=>{let{schoolAdminReportData:i,templatesByType:n,report:a,languageType:o,translations:s}=e;return(0,t.createElement)(t.Fragment,null,(0,t.createElement)(Ks,{schoolAdminReportData:i,templatesByType:n,report:a,languageType:o,translations:s}),(0,t.createElement)(Ws,{schoolAdminReportData:i,templatesByType:n,languageType:o,translations:s}),(0,t.createElement)($s,{schoolAdminReportData:i,templatesByType:n,report:a,languageType:o,translations:s}),(0,t.createElement)(Us,{schoolAdminReportData:i,templatesByType:n,report:a,languageType:o,translations:s}),(0,t.createElement)(Ys,{schoolAdminReportData:i,templatesByType:n,languageType:o,translations:s}),(0,t.createElement)(Xs,{schoolAdminReportData:i,templatesByType:n,report:a,languageType:o,translations:s}),(0,t.createElement)(Qs,{schoolAdminReportData:i,templatesByType:n,languageType:o,translations:s}),(0,t.createElement)(Gs,{schoolAdminReportData:i,templatesByType:n,report:a,languageType:o,translations:s}))},Js=function(){if("undefined"!=typeof window){if(window.devicePixelRatio)return window.devicePixelRatio;var t=window.screen;if(t)return(t.deviceXDPI||1)/(t.logicalXDPI||1)}return 1}(),Zs=function(t,e,i){var n,a=[].concat(e),o=a.length,s=t.font,r=0;for(t.font=i.string,n=0;n<o;++n)r=Math.max(t.measureText(a[n]).width,r);return t.font=s,{height:o*i.lineHeight,width:r}};function tr(t,e){var i=e.x,n=e.y;if(null===i)return{x:0,y:-1};if(null===n)return{x:1,y:0};var a=t.x-i,o=t.y-n,s=Math.sqrt(a*a+o*o);return{x:s?a/s:0,y:s?o/s:-1}}function er(t,e,i){var n=0;return t<i.left?n|=1:t>i.right&&(n|=2),e<i.top?n|=8:e>i.bottom&&(n|=4),n}function ir(t,e){var i,n,a=e.anchor,o=t;return e.clamp&&(o=function(t,e){for(var i,n,a,o=t.x0,s=t.y0,r=t.x1,l=t.y1,c=er(o,s,e),d=er(r,l,e);c|d&&!(c&d);)8&(i=c||d)?(n=o+(r-o)*(e.top-s)/(l-s),a=e.top):4&i?(n=o+(r-o)*(e.bottom-s)/(l-s),a=e.bottom):2&i?(a=s+(l-s)*(e.right-o)/(r-o),n=e.right):1&i&&(a=s+(l-s)*(e.left-o)/(r-o),n=e.left),i===c?c=er(o=n,s=a,e):d=er(r=n,l=a,e);return{x0:o,x1:r,y0:s,y1:l}}(o,e.area)),"start"===a?(i=o.x0,n=o.y0):"end"===a?(i=o.x1,n=o.y1):(i=(o.x0+o.x1)/2,n=(o.y0+o.y1)/2),function(t,e,i,n,a){switch(a){case"center":i=n=0;break;case"bottom":i=0,n=1;break;case"right":i=1,n=0;break;case"left":i=-1,n=0;break;case"top":i=0,n=-1;break;case"start":i=-i,n=-n;break;case"end":break;default:a*=Math.PI/180,i=Math.cos(a),n=Math.sin(a)}return{x:t,y:e,vx:i,vy:n}}(i,n,t.vx,t.vy,e.align)}var nr=function(t,e){var i=(t.startAngle+t.endAngle)/2,n=Math.cos(i),a=Math.sin(i),o=t.innerRadius,s=t.outerRadius;return ir({x0:t.x+n*o,y0:t.y+a*o,x1:t.x+n*s,y1:t.y+a*s,vx:n,vy:a},e)},ar=function(t,e){var i=tr(t,e.origin),n=i.x*t.options.radius,a=i.y*t.options.radius;return ir({x0:t.x-n,y0:t.y-a,x1:t.x+n,y1:t.y+a,vx:i.x,vy:i.y},e)},or=function(t,e){var i=tr(t,e.origin),n=t.x,a=t.y,o=0,s=0;return t.horizontal?(n=Math.min(t.x,t.base),o=Math.abs(t.base-t.x)):(a=Math.min(t.y,t.base),s=Math.abs(t.base-t.y)),ir({x0:n,y0:a+s,x1:n+o,y1:a,vx:i.x,vy:i.y},e)},sr=function(t,e){var i=tr(t,e.origin);return ir({x0:t.x,y0:t.y,x1:t.x,y1:t.y,vx:i.x,vy:i.y},e)},rr=function(t){return Math.round(t*Js)/Js};function lr(t,e){var i=e.chart.getDatasetMeta(e.datasetIndex).vScale;if(!i)return null;if(void 0!==i.xCenter&&void 0!==i.yCenter)return{x:i.xCenter,y:i.yCenter};var n=i.getBasePixel();return t.horizontal?{x:n,y:null}:{x:null,y:n}}function cr(t,e,i){var n=t.shadowBlur,a=i.stroked,o=rr(i.x),s=rr(i.y),r=rr(i.w);a&&t.strokeText(e,o,s,r),i.filled&&(n&&a&&(t.shadowBlur=0),t.fillText(e,o,s,r),n&&a&&(t.shadowBlur=n))}
vendor: 8,734 bytes, line 1
1var dr=function(t,e,i,n){var a=this;a._config=t,a._index=n,a._model=null,a._rects=null,a._ctx=e,a._el=i};A(dr.prototype,{_modelize:function(t,e,i,n){var a,o=this,s=o._index,r=fe(pe([i.font,{}],n,s)),l=pe([i.color,Ut.color],n,s);return{align:pe([i.align,"center"],n,s),anchor:pe([i.anchor,"center"],n,s),area:n.chart.chartArea,backgroundColor:pe([i.backgroundColor,null],n,s),borderColor:pe([i.borderColor,null],n,s),borderRadius:pe([i.borderRadius,0],n,s),borderWidth:pe([i.borderWidth,0],n,s),clamp:pe([i.clamp,!1],n,s),clip:pe([i.clip,!1],n,s),color:l,display:t,font:r,lines:e,offset:pe([i.offset,0],n,s),opacity:pe([i.opacity,1],n,s),origin:lr(o._el,n),padding:he(pe([i.padding,0],n,s)),positioner:(a=o._el,a instanceof ka?nr:a instanceof Pa?ar:a instanceof La?or:sr),rotation:pe([i.rotation,0],n,s)*(Math.PI/180),size:Zs(o._ctx,e,r),textAlign:pe([i.textAlign,"start"],n,s),textShadowBlur:pe([i.textShadowBlur,0],n,s),textShadowColor:pe([i.textShadowColor,l],n,s),textStrokeColor:pe([i.textStrokeColor,l],n,s),textStrokeWidth:pe([i.textStrokeWidth,0],n,s)}},update:function(t){var e,i,n,a=this,o=null,s=null,r=a._index,l=a._config,c=pe([l.display,!0],t,r);c&&(e=t.dataset.data[r],(n=p(i=x(k(l.formatter,[e,t]),e))?[]:function(t){var e,i=[];for(t=[].concat(t);t.length;)"string"==typeof(e=t.pop())?i.unshift.apply(i,e.split("\n")):Array.isArray(e)?t.push.apply(t,e):p(t)||i.unshift(""+e);return i}(i)).length&&(s=function(t){var e=t.borderWidth||0,i=t.padding,n=t.size.height,a=t.size.width,o=-a/2,s=-n/2;return{frame:{x:o-i.left-e,y:s-i.top-e,w:a+i.width+2*e,h:n+i.height+2*e},text:{x:o,y:s,w:a,h:n}}}(o=a._modelize(c,n,l,t)))),a._model=o,a._rects=s},geometry:function(){return this._rects?this._rects.frame:{}},rotation:function(){return this._model?this._model.rotation:0},visible:function(){return this._model&&this._model.opacity},model:function(){return this._model},draw:function(t,e){var i,n,a,o,s=t.ctx,r=this._model,l=this._rects;this.visible()&&(s.save(),r.clip&&(i=r.area,s.beginPath(),s.rect(i.left,i.top,i.right-i.left,i.bottom-i.top),s.clip()),s.globalAlpha=(n=0,a=r.opacity,o=1,Math.max(n,Math.min(a,o))),s.translate(rr(e.x),rr(e.y)),s.rotate(r.rotation),function(t,e,i){var n=i.backgroundColor,a=i.borderColor,o=i.borderWidth;(n||a&&o)&&(t.beginPath(),function(t,e,i,n,a,o){var s=Math.PI/2;if(o){var r=Math.min(o,a/2,n/2),l=e+r,c=i+r,d=e+n-r,u=i+a-r;t.moveTo(e,c),l<d&&c<u?(t.arc(l,c,r,-Math.PI,-s),t.arc(d,c,r,-s,0),t.arc(d,u,r,0,s),t.arc(l,u,r,s,Math.PI)):l<d?(t.moveTo(l,i),t.arc(d,c,r,-s,s),t.arc(l,c,r,s,Math.PI+s)):c<u?(t.arc(l,c,r,-Math.PI,0),t.arc(l,u,r,0,Math.PI)):t.arc(l,c,r,-Math.PI,Math.PI),t.closePath(),t.moveTo(e,i)}else t.rect(e,i,n,a)}(t,rr(e.x)+o/2,rr(e.y)+o/2,rr(e.w)-o,rr(e.h)-o,i.borderRadius),t.closePath(),n&&(t.fillStyle=n,t.fill()),a&&o&&(t.strokeStyle=a,t.lineWidth=o,t.lineJoin="miter",t.stroke()))}(s,l.frame,r),function(t,e,i,n){var a,o=n.textAlign,s=n.color,r=!!s,l=n.font,c=e.length,d=n.textStrokeColor,u=n.textStrokeWidth,h=d&&u;if(c&&(r||h))for(i=function(t,e,i){var n=i.lineHeight,a=t.w,o=t.x;return"center"===e?o+=a/2:"end"!==e&&"right"!==e||(o+=a),{h:n,w:a,x:o,y:t.y+n/2}}(i,o,l),t.font=l.string,t.textAlign=o,t.textBaseline="middle",t.shadowBlur=n.textShadowBlur,t.shadowColor=n.textShadowColor,r&&(t.fillStyle=s),h&&(t.lineJoin="round",t.lineWidth=u,t.strokeStyle=d),a=0,c=e.length;a<c;++a)cr(t,e[a],{stroked:h,filled:r,w:i.w,x:i.x,y:i.y+i.h*a})}(s,r.lines,l.text,r),s.restore())}});var ur=Number.MIN_SAFE_INTEGER||-9007199254740991,hr=Number.MAX_SAFE_INTEGER||9007199254740991;function fr(t,e,i){var n=Math.cos(i),a=Math.sin(i),o=e.x,s=e.y;return{x:o+n*(t.x-o)-a*(t.y-s),y:s+a*(t.x-o)+n*(t.y-s)}}function pr(t,e){var i,n,a,o,s,r=hr,l=ur,c=e.origin;for(i=0;i<t.length;++i)a=(n=t[i]).x-c.x,o=n.y-c.y,s=e.vx*a+e.vy*o,r=Math.min(r,s),l=Math.max(l,s);return{min:r,max:l}}function br(t,e){var i=e.x-t.x,n=e.y-t.y,a=Math.sqrt(i*i+n*n);return{vx:(e.x-t.x)/a,vy:(e.y-t.y)/a,origin:t,ln:a}}var gr=function(){this._rotation=0,this._rect={x:0,y:0,w:0,h:0}};function mr(t,e,i){var n=e.positioner(t,e),a=n.vx,o=n.vy;if(!a&&!o)return{x:n.x,y:n.y};var s=i.w,r=i.h,l=e.rotation,c=Math.abs(s/2*Math.cos(l))+Math.abs(r/2*Math.sin(l)),d=Math.abs(s/2*Math.sin(l))+Math.abs(r/2*Math.cos(l)),u=1/Math.max(Math.abs(a),Math.abs(o));return c*=a*u,d*=o*u,c+=e.offset*a,d+=e.offset*o,{x:n.x+c,y:n.y+d}}A(gr.prototype,{center:function(){var t=this._rect;return{x:t.x+t.w/2,y:t.y+t.h/2}},update:function(t,e,i){this._rotation=i,this._rect={x:e.x+t.x,y:e.y+t.y,w:e.w,h:e.h}},contains:function(t){var e=this,i=e._rect;return!((t=fr(t,e.center(),-e._rotation)).x<i.x-1||t.y<i.y-1||t.x>i.x+i.w+2||t.y>i.y+i.h+2)},intersects:function(t){var e,i,n,a=this._points(),o=t._points(),s=[br(a[0],a[1]),br(a[0],a[3])];for(this._rotation!==t._rotation&&s.push(br(o[0],o[1]),br(o[0],o[3])),e=0;e<s.length;++e)if(i=pr(a,s[e]),n=pr(o,s[e]),i.max<n.min||n.max<i.min)return!1;return!0},_points:function(){var t=this,e=t._rect,i=t._rotation,n=t.center();return[fr({x:e.x,y:e.y},n,i),fr({x:e.x+e.w,y:e.y},n,i),fr({x:e.x+e.w,y:e.y+e.h},n,i),fr({x:e.x,y:e.y+e.h},n,i)]}});var vr={prepare:function(t){var e,i,n,a,o,s=[];for(e=0,n=t.length;e<n;++e)for(i=0,a=t[e].length;i<a;++i)o=t[e][i],s.push(o),o.$layout={_box:new gr,_hidable:!1,_visible:!0,_set:e,_idx:i};return s.sort((function(t,e){var i=t.$layout,n=e.$layout;return i._idx===n._idx?n._set-i._set:n._idx-i._idx})),this.update(s),s},update:function(t){var e,i,n,a,o,s=!1;for(e=0,i=t.length;e<i;++e)a=(n=t[e]).model(),(o=n.$layout)._hidable=a&&"auto"===a.display,o._visible=n.visible(),s|=o._hidable;s&&function(t){var e,i,n,a,o,s,r;for(e=0,i=t.length;e<i;++e)(a=(n=t[e]).$layout)._visible&&(r=new Proxy(n._el,{get:(t,e)=>t.getProps([e],!0)[e]}),o=n.geometry(),s=mr(r,n.model(),o),a._box.update(s,o,n.rotation()));!function(t,e){var i,n,a,o;for(i=t.length-1;i>=0;--i)for(a=t[i].$layout,n=i-1;n>=0&&a._visible;--n)(o=t[n].$layout)._visible&&a._box.intersects(o._box)&&e(a,o)}(t,(function(t,e){var i=t._hidable,n=e._hidable;i&&n||n?e._visible=!1:i&&(t._visible=!1)}))}(t)},lookup:function(t,e){var i,n;for(i=t.length-1;i>=0;--i)if((n=t[i].$layout)&&n._visible&&n._box.contains(e))return t[i];return null},draw:function(t,e){var i,n,a,o,s,r;for(i=0,n=e.length;i<n;++i)(o=(a=e[i]).$layout)._visible&&(s=a.geometry(),r=mr(a._el,a.model(),s),o._box.update(r,s,a.rotation()),a.draw(t,r))}},xr="$default";function yr(t,e,i){if(e){var n,a=i.$context,o=i.$groups;e[o._set]&&(n=e[o._set][o._key])&&!0===k(n,[a])&&(t.$datalabels._dirty=!0,i.update(a))}}var kr={id:"datalabels",defaults:{align:"center",anchor:"center",backgroundColor:null,borderColor:null,borderRadius:0,borderWidth:0,clamp:!1,clip:!1,color:void 0,display:!0,font:{family:void 0,lineHeight:1.2,size:void 0,style:void 0,weight:null},formatter:function(t){if(p(t))return null;var e,i,n,a=t;if(g(t))if(p(t.label))if(p(t.r))for(a="",n=0,i=(e=Object.keys(t)).length;n<i;++n)a+=(0!==n?", ":"")+e[n]+": "+t[e[n]];else a=t.r;else a=t.label;return""+a},labels:void 0,listeners:{},offset:4,opacity:1,padding:{top:4,right:4,bottom:4,left:4},rotation:0,textAlign:"start",textStrokeColor:void 0,textStrokeWidth:0,textShadowBlur:0,textShadowColor:void 0},beforeInit:function(t){t.$datalabels={_actives:[]}},beforeUpdate:function(t){var e=t.$datalabels;e._listened=!1,e._listeners={},e._datasets=[],e._labels=[]},afterDatasetUpdate:function(t,e,i){var n,a,o,s,r,l,c,d,u=e.index,h=t.$datalabels,f=h._datasets[u]=[],p=t.isDatasetVisible(u),b=t.data.datasets[u],g=function(t,e){var i,n,a,o=t.datalabels,s=[];return!1===o?null:(!0===o&&(o={}),e=A({},[e,o]),n=e.labels||{},a=Object.keys(n),delete e.labels,a.length?a.forEach((function(t){n[t]&&s.push(A({},[e,n[t],{_key:t}]))})):s.push(e),i=s.reduce((function(t,e){return _(e.listeners||{},(function(i,n){t[n]=t[n]||{},t[n][e._key||xr]=i})),delete e.listeners,t}),{}),{labels:s,listeners:i})}(b,i),m=e.meta.data||[],v=t.ctx;for(v.save(),n=0,o=m.length;n<o;++n)if((c=m[n]).$datalabels=[],p&&c&&t.getDataVisibility(n)&&!c.skip)for(a=0,s=g.labels.length;a<s;++a)l=(r=g.labels[a])._key,(d=new dr(r,v,c,n)).$groups={_set:u,_key:l||xr},d.$context={active:!1,chart:t,dataIndex:n,dataset:b,datasetIndex:u},d.update(d.$context),c.$datalabels.push(d),f.push(d);v.restore(),A(h._listeners,g.listeners,{merger:function(t,i,n){i[t]=i[t]||{},i[t][e.index]=n[t],h._listened=!0}})},afterUpdate:function(t,e){t.$datalabels._labels=vr.prepare(t.$datalabels._datasets,e)},afterDatasetsDraw:function(t){vr.draw(t,t.$datalabels._labels)},beforeEvent:function(t,e){if(t.$datalabels._listened){var i=e.event;switch(i.type){case"mousemove":case"mouseout":!function(t,e){var i,n,a=t.$datalabels,o=a._listeners;if(o.enter||o.leave){if("mousemove"===e.type)n=vr.lookup(a._labels,e);else if("mouseout"!==e.type)return;
1i=a._hovered,a._hovered=n,function(t,e,i,n){var a,o;(i||n)&&(i?n?i!==n&&(o=a=!0):o=!0:a=!0,o&&yr(t,e.leave,i),a&&yr(t,e.enter,n))}(t,o,i,n)}}(t,i);break;case"click":!function(t,e){var i=t.$datalabels,n=i._listeners.click,a=n&&vr.lookup(i._labels,e);a&&yr(t,n,a)}(t,i)}}},afterEvent:function(t){var e,i,n,a,o,s,r,l=t.$datalabels,c=function(t,e){var i,n,a,o,s=t.slice(),r=[];for(i=0,a=e.length;i<a;++i)o=e[i],-1===(n=s.indexOf(o))?r.push([o,1]):s.splice(n,1);for(i=0,a=s.length;i<a;++i)r.push([s[i],-1]);return r}(l._actives,l._actives=t.getActiveElements());for(e=0,i=c.length;e<i;++e)if((o=c[e])[1])for(n=0,a=(r=o[0].element.$datalabels||[]).length;n<a;++n)(s=r[n]).$context.active=1===o[1],s.update(s.$context);(l._dirty||c.length)&&(vr.update(l._labels),t.render()),delete l._dirty}},_r=e=>{var i,n,a,o,s,r,l,c,d,u,h,f,p,b;let{schoolAdminReportData:g,templatesByType:m,languageType:v,translations:x}=e;const{getQuestionsAnswersAverage:y,getQuestionsAnswersNullAverage:k,getQuestionsIdsByBlockId:_}=js(g,m),w=y("student","b5b820a2-4ca0-4177-89e7-58412bfd24d8",ks()(_("student")["b5b820a2-4ca0-4177-89e7-58412bfd24d8"],0,6)),M=k("student","b5b820a2-4ca0-4177-89e7-58412bfd24d8",ks()(_("student")["b5b820a2-4ca0-4177-89e7-58412bfd24d8"],0,6)),S=y("student","2a6a8e14-ed11-4e4f-b336-699dd06e32ab",ks()(_("student")["2a6a8e14-ed11-4e4f-b336-699dd06e32ab"],0,2)),T=k("student","2a6a8e14-ed11-4e4f-b336-699dd06e32ab",ks()(_("student")["2a6a8e14-ed11-4e4f-b336-699dd06e32ab"],0,2)),A=y("parent","6ab0aeba-b00a-40bc-abeb-aee4189cbdbf",ks()(_("parent")["6ab0aeba-b00a-40bc-abeb-aee4189cbdbf"],0,10)),j=k("parent","6ab0aeba-b00a-40bc-abeb-aee4189cbdbf",ks()(_("parent")["6ab0aeba-b00a-40bc-abeb-aee4189cbdbf"],0,10)),E=y("parent","1663b38d-0e21-433a-88bb-b94c665ddc34",ks()(_("parent")["1663b38d-0e21-433a-88bb-b94c665ddc34"],0,2)),D=k("parent","1663b38d-0e21-433a-88bb-b94c665ddc34",ks()(_("parent")["1663b38d-0e21-433a-88bb-b94c665ddc34"],0,2)),P=y("teacher","e585d227-788e-4e52-9597-5b536794cb48",ks()(_("teacher")["e585d227-788e-4e52-9597-5b536794cb48"],0,11)),C=k("teacher","e585d227-788e-4e52-9597-5b536794cb48",ks()(_("teacher")["e585d227-788e-4e52-9597-5b536794cb48"],0,11)),O=y("teacher","914854f1-ac0f-498b-b220-5b2788e6611b",ks()(_("teacher")["914854f1-ac0f-498b-b220-5b2788e6611b"],0,2)),R=k("teacher","914854f1-ac0f-498b-b220-5b2788e6611b",ks()(_("teacher")["914854f1-ac0f-498b-b220-5b2788e6611b"],0,2)),B=y("principal","28815024-c908-4969-b401-ee9b1d0470dd",ks()(_("principal")["28815024-c908-4969-b401-ee9b1d0470dd"],0,11)),I=k("principal","28815024-c908-4969-b401-ee9b1d0470dd",ks()(_("principal")["28815024-c908-4969-b401-ee9b1d0470dd"],0,11)),L=y("principal","bce496eb-990b-4419-b6e0-8144e4f4ac1d",ks()(_("principal")["bce496eb-990b-4419-b6e0-8144e4f4ac1d"],0,2)),F=k("principal","bce496eb-990b-4419-b6e0-8144e4f4ac1d",ks()(_("principal")["bce496eb-990b-4419-b6e0-8144e4f4ac1d"],0,2)),N=[(null===(i=x.dontKnow)||void 0===i?void 0:i[v])+M+"%",(null===(n=x.dontKnow)||void 0===n?void 0:n[v])+T+"%"],z=[(null===(a=x.dontKnow)||void 0===a?void 0:a[v])+j+"%",(null===(o=x.dontKnow)||void 0===o?void 0:o[v])+D+"%"],H=[(null===(s=x.dontKnow)||void 0===s?void 0:s[v])+C+"%",(null===(r=x.dontKnow)||void 0===r?void 0:r[v])+R+"%"],V=[(null===(l=x.dontKnow)||void 0===l?void 0:l[v])+I+"%",(null===(c=x.dontKnow)||void 0===c?void 0:c[v])+F+"%"],K={indexAxis:"y",elements:{bar:{borderWidth:2}},maintainAspectRatio:!1,scales:{x:{max:1}},plugins:{legend:{position:"right"},title:{display:!0,text:null===(d=x.fourthBlockDiagramTitle)||void 0===d?void 0:d[v]}}},W={labels:null===(u=x.fourthBlockDiagramLabels)||void 0===u?void 0:u[v],datasets:[{label:null===(h=x.student)||void 0===h?void 0:h[v],datalabels:{color:"black",align:"end",anchor:"start",font:{weight:"bold"},formatter:(t,e)=>N[e.dataIndex]},data:[w,S],backgroundColor:"rgba(107, 176, 213, 0.8)",maxBarThickness:24},{label:null===(f=x.parent)||void 0===f?void 0:f[v],datalabels:{color:"black",align:"end",anchor:"start",font:{weight:"bold"},formatter:(t,e)=>z[e.dataIndex]},data:[A,E],backgroundColor:"rgba(154, 185, 66, 0.8)",maxBarThickness:24},{label:null===(p=x.teacher)||void 0===p?void 0:p[v],datalabels:{color:"black",align:"end",anchor:"start",font:{weight:"bold"},formatter:(t,e)=>H[e.dataIndex]},data:[P,O],backgroundColor:"rgba(255, 167, 45, 0.8)",maxBarThickness:24},{label:null===(b=x.principal)||void 0===b?void 0:b[v],datalabels:{color:"black",align:"end",anchor:"start",font:{weight:"bold"},formatter:(t,e)=>V[e.dataIndex]},data:[B,L],backgroundColor:"rgba(241, 93, 80, 0.8)",maxBarThickness:24}]};return(0,t.createElement)("div",{className:"fourth-block-first-diagram"},(0,t.createElement)(zs,{options:K,plugins:[kr],data:W}))},wr=e=>{var i;let{schoolAdminReportData:n,templatesByType:a,report:o,languageType:s,translations:l}=e;return(0,t.createElement)(t.Fragment,null,r(null===(i=o.fourthParagraphHtml)||void 0===i?void 0:i[s]),(0,t.createElement)(_r,{schoolAdminReportData:n,templatesByType:a,languageType:s,translations:l}))},Mr=e=>{var i,n,a,o,s,r,l,c,d,u,h,f,p,b,g,m,v,x;let{schoolAdminReportData:y,templatesByType:k,languageType:_,translations:w}=e;const{getQuestionsIdsByBlockId:M,getQuestionsAnswersAverage:S,getQuestionsAnswersNullAverage:T}=js(y,k),A=S("student","44faf050-3ef8-48f4-a2dd-4b9ae8f6c5a9",ks()(M("student")["44faf050-3ef8-48f4-a2dd-4b9ae8f6c5a9"],
10,1)),j=T("student","b5b820a2-4ca0-4177-89e7-58412bfd24d8",ks()(M("student")["b5b820a2-4ca0-4177-89e7-58412bfd24d8"],0,1)),E=S("student","44faf050-3ef8-48f4-a2dd-4b9ae8f6c5a9",ks()(M("student")["44faf050-3ef8-48f4-a2dd-4b9ae8f6c5a9"],1,2)),D=T("student","b5b820a2-4ca0-4177-89e7-58412bfd24d8",ks()(M("student")["b5b820a2-4ca0-4177-89e7-58412bfd24d8"],1,2)),P=S("student","44faf050-3ef8-48f4-a2dd-4b9ae8f6c5a9",ks()(M("student")["44faf050-3ef8-48f4-a2dd-4b9ae8f6c5a9"],2,3)),C=T("student","b5b820a2-4ca0-4177-89e7-58412bfd24d8",ks()(M("student")["b5b820a2-4ca0-4177-89e7-58412bfd24d8"],2,3)),O=S("parent","56233572-e852-4a07-8160-2d043df0edd2",ks()(M("parent")["56233572-e852-4a07-8160-2d043df0edd2"],0,2)),R=T("parent","56233572-e852-4a07-8160-2d043df0edd2",ks()(M("parent")["56233572-e852-4a07-8160-2d043df0edd2"],0,2)),B=S("parent","56233572-e852-4a07-8160-2d043df0edd2",ks()(M("parent")["56233572-e852-4a07-8160-2d043df0edd2"],2,4)),I=T("parent","56233572-e852-4a07-8160-2d043df0edd2",ks()(M("parent")["56233572-e852-4a07-8160-2d043df0edd2"],2,4)),L=S("parent","56233572-e852-4a07-8160-2d043df0edd2",ks()(M("parent")["56233572-e852-4a07-8160-2d043df0edd2"],4,6)),F=T("parent","56233572-e852-4a07-8160-2d043df0edd2",ks()(M("parent")["56233572-e852-4a07-8160-2d043df0edd2"],4,6)),N=S("teacher","2f550038-f97a-4594-9b42-4463969739d1",ks()(M("teacher")["2f550038-f97a-4594-9b42-4463969739d1"],0,3)),z=T("teacher","2f550038-f97a-4594-9b42-4463969739d1",ks()(M("teacher")["2f550038-f97a-4594-9b42-4463969739d1"],0,3)),H=S("teacher","2f550038-f97a-4594-9b42-4463969739d1",ks()(M("teacher")["2f550038-f97a-4594-9b42-4463969739d1"],3,6)),V=T("teacher","2f550038-f97a-4594-9b42-4463969739d1",ks()(M("teacher")["2f550038-f97a-4594-9b42-4463969739d1"],3,6)),K=S("teacher","2f550038-f97a-4594-9b42-4463969739d1",ks()(M("teacher")["2f550038-f97a-4594-9b42-4463969739d1"],6,8)),W=T("teacher","2f550038-f97a-4594-9b42-4463969739d1",ks()(M("teacher")["2f550038-f97a-4594-9b42-4463969739d1"],6,8)),$=S("principal","0a6e63a3-ebf7-4811-b1d8-eab3a01bfe15",ks()(M("principal")["0a6e63a3-ebf7-4811-b1d8-eab3a01bfe15"],0,3)),U=T("principal","0a6e63a3-ebf7-4811-b1d8-eab3a01bfe15",ks()(M("principal")["0a6e63a3-ebf7-4811-b1d8-eab3a01bfe15"],0,3)),Y=S("principal","0a6e63a3-ebf7-4811-b1d8-eab3a01bfe15",ks()(M("principal")["0a6e63a3-ebf7-4811-b1d8-eab3a01bfe15"],3,6)),X=T("principal","0a6e63a3-ebf7-4811-b1d8-eab3a01bfe15",ks()(M("principal")["0a6e63a3-ebf7-4811-b1d8-eab3a01bfe15"],3,6)),Q=S("principal","0a6e63a3-ebf7-4811-b1d8-eab3a01bfe15",ks()(M("principal")["0a6e63a3-ebf7-4811-b1d8-eab3a01bfe15"],6,8)),G=T("principal","0a6e63a3-ebf7-4811-b1d8-eab3a01bfe15",ks()(M("principal")["0a6e63a3-ebf7-4811-b1d8-eab3a01bfe15"],6,8)),q=[(null===(i=w.dontKnow)||void 0===i?void 0:i[_])+j+"%",(null===(n=w.dontKnow)||void 0===n?void 0:n[_])+D+"%",(null===(a=w.dontKnow)||void 0===a?void 0:a[_])+C+"%"],J=[(null===(o=w.dontKnow)||void 0===o?void 0:o[_])+R+"%",(null===(s=w.dontKnow)||void 0===s?void 0:s[_])+I+"%",(null===(r=w.dontKnow)||void 0===r?void 0:r[_])+F+"%"],Z=[(null===(l=w.dontKnow)||void 0===l?void 0:l[_])+z+"%",(null===(c=w.dontKnow)||void 0===c?void 0:c[_])+V+"%",(null===(d=w.dontKnow)||void 0===d?void 0:d[_])+W+"%"],tt=[(null===(u=w.dontKnow)||void 0===u?void 0:u[_])+U+"%",(null===(h=w.dontKnow)||void 0===h?void 0:h[_])+X+"%",(null===(f=w.dontKnow)||void 0===f?void 0:f[_])+G+"%"],et={indexAxis:"y",elements:{bar:{borderWidth:2}},maintainAspectRatio:!1,scales:{x:{max:1}},plugins:{legend:{position:"right"},title:{display:!0,text:null===(p=w.fifthBlockDiagramTitle)||void 0===p?void 0:p[_]}}},it={labels:null===(b=w.fifthBlockDiagramLabels)||void 0===b?void 0:b[_],datasets:[{label:null===(g=w.student)||void 0===g?void 0:g[_],datalabels:{color:"black",align:"end",anchor:"start",font:{weight:"bold"},formatter:(t,e)=>q[e.dataIndex]},data:[A,E,P],backgroundColor:"rgba(107, 176, 213, 0.8)",maxBarThickness:24},{label:null===(m=w.parent)||void 0===m?void 0:m[_],datalabels:{color:"black",align:"end",anchor:"start",font:{weight:"bold"},formatter:(t,e)=>J[e.dataIndex]},data:[O,B,L],backgroundColor:"rgba(154, 185, 66, 0.8)",maxBarThickness:24},{label:null===(v=w.teacher)||void 0===v?void 0:v[_],datalabels:{color:"black",align:"end",anchor:"start",font:{weight:"bold"},formatter:(t,e)=>Z[e.dataIndex]},data:[N,H,K],backgroundColor:"rgba(255, 167, 45, 0.8)",maxBarThickness:24},{label:null===(x=w.principal)||void 0===x?void 0:x[_],datalabels:{color:"black",align:"end",anchor:"start",font:{weight:"bold"},formatter:(t,e)=>tt[e.dataIndex]},data:[$,Y,Q],backgroundColor:"rgba(241, 93, 80, 0.8)",maxBarThickness:24}]};return(0,t.createElement)("div",{className:"fifth-block-first-diagram"},(0,t.createElement)(zs,{options:et,plugins:[kr],data:it}))},Sr=e=>{var i;let{schoolAdminReportData:n,templatesByType:a,report:o,languageType:s,translations:l}=e;return(0,t.createElement)(t.Fragment,null,r(null===(i=o.fifthParagraphHtml)||void 0===i?void 0:i[s]),(0,t.createElement)(Mr,{schoolAdminReportData:n,templatesByType:a,languageType:s,translations:l}))},Tr=e=>{var i,n,a,o,s,l,c,d,u,h,f,p,b,g,m,v,x,y,k,_,w,M,S,T,A,j,E,D,P,C,O,R,B,I,L,F,N,z,H,V,K,W,$,U,Y,X,Q;let{schoolAdminReportData:G,templatesByType:q,report:J,languageType:Z,translations:tt}=e;const{getQuestionsIdsByBlockId:et,getQuestionsAnswersAverage:it,getQuestionsAnswersNullAverage:nt}
1=js(G,q),at=it("student","2a6a8e14-ed11-4e4f-b336-699dd06e32ab",ks()(et("student")["2a6a8e14-ed11-4e4f-b336-699dd06e32ab"],2,8)),ot=nt("student","2a6a8e14-ed11-4e4f-b336-699dd06e32ab",ks()(et("student")["2a6a8e14-ed11-4e4f-b336-699dd06e32ab"],2,8)),st=it("student","2a6a8e14-ed11-4e4f-b336-699dd06e32ab",ks()(et("student")["2a6a8e14-ed11-4e4f-b336-699dd06e32ab"],8,15)),rt=nt("student","2a6a8e14-ed11-4e4f-b336-699dd06e32ab",ks()(et("student")["2a6a8e14-ed11-4e4f-b336-699dd06e32ab"],8,15)),lt=it("student","2a6a8e14-ed11-4e4f-b336-699dd06e32ab",ks()(et("student")["2a6a8e14-ed11-4e4f-b336-699dd06e32ab"],15,18)),ct=nt("student","2a6a8e14-ed11-4e4f-b336-699dd06e32ab",ks()(et("student")["2a6a8e14-ed11-4e4f-b336-699dd06e32ab"],15,18)),dt=it("student","2a6a8e14-ed11-4e4f-b336-699dd06e32ab",ks()(et("student")["2a6a8e14-ed11-4e4f-b336-699dd06e32ab"],18,21)),ut=nt("student","2a6a8e14-ed11-4e4f-b336-699dd06e32ab",ks()(et("student")["2a6a8e14-ed11-4e4f-b336-699dd06e32ab"],18,21)),ht=it("student","2a6a8e14-ed11-4e4f-b336-699dd06e32ab",ks()(et("student")["2a6a8e14-ed11-4e4f-b336-699dd06e32ab"],21,24)),ft=nt("student","2a6a8e14-ed11-4e4f-b336-699dd06e32ab",ks()(et("student")["2a6a8e14-ed11-4e4f-b336-699dd06e32ab"],21,24)),pt=it("student","2a6a8e14-ed11-4e4f-b336-699dd06e32ab",ks()(et("student")["2a6a8e14-ed11-4e4f-b336-699dd06e32ab"],24,25)),bt=nt("student","2a6a8e14-ed11-4e4f-b336-699dd06e32ab",ks()(et("student")["2a6a8e14-ed11-4e4f-b336-699dd06e32ab"],24,25)),gt=it("student","2a6a8e14-ed11-4e4f-b336-699dd06e32ab",ks()(et("student")["2a6a8e14-ed11-4e4f-b336-699dd06e32ab"],25,28)),mt=nt("student","2a6a8e14-ed11-4e4f-b336-699dd06e32ab",ks()(et("student")["2a6a8e14-ed11-4e4f-b336-699dd06e32ab"],25,28)),vt=it("student","2a6a8e14-ed11-4e4f-b336-699dd06e32ab",ks()(et("student")["2a6a8e14-ed11-4e4f-b336-699dd06e32ab"],28,29)),xt=nt("student","2a6a8e14-ed11-4e4f-b336-699dd06e32ab",ks()(et("student")["2a6a8e14-ed11-4e4f-b336-699dd06e32ab"],28,29)),yt=it("student","2a6a8e14-ed11-4e4f-b336-699dd06e32ab",ks()(et("student")["2a6a8e14-ed11-4e4f-b336-699dd06e32ab"],29,33)),kt=nt("student","2a6a8e14-ed11-4e4f-b336-699dd06e32ab",ks()(et("student")["2a6a8e14-ed11-4e4f-b336-699dd06e32ab"],29,33)),_t=it("student","2a6a8e14-ed11-4e4f-b336-699dd06e32ab",ks()(et("student")["2a6a8e14-ed11-4e4f-b336-699dd06e32ab"],33,35)),wt=nt("student","2a6a8e14-ed11-4e4f-b336-699dd06e32ab",ks()(et("student")["2a6a8e14-ed11-4e4f-b336-699dd06e32ab"],33,35)),Mt=it("parent","1663b38d-0e21-433a-88bb-b94c665ddc34",ks()(et("parent")["1663b38d-0e21-433a-88bb-b94c665ddc34"],2,8)),St=nt("parent","1663b38d-0e21-433a-88bb-b94c665ddc34",ks()(et("parent")["1663b38d-0e21-433a-88bb-b94c665ddc34"],2,8)),Tt=it("parent","1663b38d-0e21-433a-88bb-b94c665ddc34",ks()(et("parent")["1663b38d-0e21-433a-88bb-b94c665ddc34"],8,15)),At=nt("parent","1663b38d-0e21-433a-88bb-b94c665ddc34",ks()(et("parent")["1663b38d-0e21-433a-88bb-b94c665ddc34"],8,15)),jt=it("parent","1663b38d-0e21-433a-88bb-b94c665ddc34",ks()(et("parent")["1663b38d-0e21-433a-88bb-b94c665ddc34"],15,18)),Et=nt("parent","1663b38d-0e21-433a-88bb-b94c665ddc34",ks()(et("parent")["1663b38d-0e21-433a-88bb-b94c665ddc34"],15,18)),Dt=it("parent","1663b38d-0e21-433a-88bb-b94c665ddc34",ks()(et("parent")["1663b38d-0e21-433a-88bb-b94c665ddc34"],18,21)),Pt=nt("parent","1663b38d-0e21-433a-88bb-b94c665ddc34",ks()(et("parent")["1663b38d-0e21-433a-88bb-b94c665ddc34"],18,21)),Ct=it("parent","1663b38d-0e21-433a-88bb-b94c665ddc34",ks()(et("parent")["1663b38d-0e21-433a-88bb-b94c665ddc34"],21,24)),Ot=nt("parent","1663b38d-0e21-433a-88bb-b94c665ddc34",ks()(et("parent")["1663b38d-0e21-433a-88bb-b94c665ddc34"],21,24)),Rt=it("parent","1663b38d-0e21-433a-88bb-b94c665ddc34",ks()(et("parent")["1663b38d-0e21-433a-88bb-b94c665ddc34"],24,26)),Bt=nt("parent","1663b38d-0e21-433a-88bb-b94c665ddc34",ks()(et("parent")["1663b38d-0e21-433a-88bb-b94c665ddc34"],24,26)),It=it("parent","1663b38d-0e21-433a-88bb-b94c665ddc34",ks()(et("parent")["1663b38d-0e21-433a-88bb-b94c665ddc34"],26,29)),Lt=nt("parent","1663b38d-0e21-433a-88bb-b94c665ddc34",ks()(et("parent")["1663b38d-0e21-433a-88bb-b94c665ddc34"],26,29)),Ft=it("parent","1663b38d-0e21-433a-88bb-b94c665ddc34",ks()(et("parent")["1663b38d-0e21-433a-88bb-b94c665ddc34"],29,30)),Nt=nt("parent","1663b38d-0e21-433a-88bb-b94c665ddc34",ks()(et("parent")["1663b38d-0e21-433a-88bb-b94c665ddc34"],29,30)),zt=it("parent","1663b38d-0e21-433a-88bb-b94c665ddc34",ks()(et("parent")["1663b38d-0e21-433a-88bb-b94c665ddc34"],30,34)),Ht=nt("parent","1663b38d-0e21-433a-88bb-b94c665ddc34",ks()(et("parent")["1663b38d-0e21-433a-88bb-b94c665ddc34"],30,34)),Vt=it("parent","1663b38d-0e21-433a-88bb-b94c665ddc34",ks()(et("parent")["1663b38d-0e21-433a-88bb-b94c665ddc34"],34,36)),Kt=nt("parent","1663b38d-0e21-433a-88bb-b94c665ddc34",ks()(et("parent")["1663b38d-0e21-433a-88bb-b94c665ddc34"],34,36)),Wt=it("teacher","914854f1-ac0f-498b-b220-5b2788e6611b",ks()(et("teacher")["914854f1-ac0f-498b-b220-5b2788e6611b"],2,8)),$t=nt("teacher","914854f1-ac0f-498b-b220-5b2788e6611b",ks()(et("teacher")["914854f1-ac0f-498b-b220-5b2788e6611b"],2,8)),Ut=it("teacher","914854f1-ac0f-498b-b220-5b2788e6611b",ks()(et("teacher")["914854f1-ac0f-498b-b220-5b2788e6611b"],8,15)),Yt=nt("teacher","914854f1-ac0f-498b-b220-5b2788e6611b",ks()(et("teacher")["914854f1-ac0f-498b-b220-5b2788e6611b"],8,15)),Xt=it("teacher","914854f1-ac0f-498b-b220-5b2788e6611b",ks()(et("teacher")["914854f1-ac0f-498b-b220-5b2788e6611b"],15,18)),Qt=nt("teacher","914854f1-ac0f-498b-b220-5b2788e6611b",ks()(et("teacher")["914854f1-ac0f-498b-b220-5b2788e6611b"],15,18)),Gt=it("teacher","914854f1-ac0f-498b-b220-5b2788e6611b",ks()(et("teacher")["914854f1-ac0f-498b-b220-5b2788e6611b"],18,21)),qt=nt("teacher","914854f1-ac0f-498b-b220-5b2788e6611b",ks()(et("teacher")["914854f1-ac0f-498b-b220-5b2788e6611b"],18,21)),Jt=it("teacher","914854f1-ac0f-498b-b220-5b2788e6611b",ks()(et("teacher")["914854f1-ac0f-498b-b220-5b2788e6611b"],21,24)),Zt=nt("teacher","914854f1-ac0f-498b-b220-5b2788e6611b",ks()(et("teacher")["914854f1-ac0f-498b-b220-5b2788e6611b"],21,24)),te=it("teacher","914854f1-ac0f-498b-b220-5b2788e6611b",ks()(et("teacher")["914854f1-ac0f-498b-b220-5b2788e6611b"],24,26)),ee=nt("teacher","914854f1-ac0f-498b-b220-5b2788e6611b",ks()(et("teacher")["914854f1-ac0f-498b-b220-5b2788e6611b"],24,26)),ie=it("teacher","914854f1-ac0f-498b-b220-5b2788e6611b",ks()(et("teacher")["914854f1-ac0f-498b-b220-5b2788e6611b"],26,30)),ne=nt("teacher","914854f1-ac0f-498b-b220-5b2788e6611b",ks()(et("teacher")["914854f1-ac0f-498b-b220-5b2788e6611b"],26,30)),ae=it("teacher","914854f1-ac0f-498b-b220-5b2788e6611b",ks()(et("teacher")["914854f1-ac0f-498b-b220-5b2788e6611b"],30,32)),oe=nt("teacher","914854f1-ac0f-498b-b220-5b2788e6611b",ks()(et("teacher")["914854f1-ac0f-498b-b220-5b2788e6611b"],30,32)),se=it("teacher","914854f1-ac0f-498b-b220-5b2788e6611b",ks()(et("teacher")["914854f1-ac0f-498b-b220-5b2788e6611b"],32,37)),re=nt("teacher","914854f1-ac0f-498b-b220-5b2788e6611b",ks()(et("teacher")["914854f1-ac0f-498b-b220-5b2788e6611b"],32,37)),le=it("teacher","914854f1-ac0f-498b-b220-5b2788e6611b",ks()(et("teacher")["914854f1-ac0f-498b-b220-5b2788e6611b"],37,39)),ce=nt("teacher","914854f1-ac0f-498b-b220-5b2788e6611b",ks()(et("teacher")["914854f1-ac0f-498b-b220-5b2788e6611b"],37,39)),de=it("principal","bce496eb-990b-4419-b6e0-8144e4f4ac1d",ks()(et("principal")["bce496eb-990b-4419-b6e0-8144e4f4ac1d"],2,8)),ue=nt("principal","bce496eb-990b-4419-b6e0-8144e4f4ac1d",ks()(et("principal")["bce496eb-990b-4419-b6e0-8144e4f4ac1d"],2,8)),he
1=it("principal","bce496eb-990b-4419-b6e0-8144e4f4ac1d",ks()(et("principal")["bce496eb-990b-4419-b6e0-8144e4f4ac1d"],8,15)),fe=nt("principal","bce496eb-990b-4419-b6e0-8144e4f4ac1d",ks()(et("principal")["bce496eb-990b-4419-b6e0-8144e4f4ac1d"],8,15)),pe=it("principal","bce496eb-990b-4419-b6e0-8144e4f4ac1d",ks()(et("principal")["bce496eb-990b-4419-b6e0-8144e4f4ac1d"],15,18)),be=nt("principal","bce496eb-990b-4419-b6e0-8144e4f4ac1d",ks()(et("principal")["bce496eb-990b-4419-b6e0-8144e4f4ac1d"],15,18)),ge=it("principal","bce496eb-990b-4419-b6e0-8144e4f4ac1d",ks()(et("principal")["bce496eb-990b-4419-b6e0-8144e4f4ac1d"],18,21)),me=nt("principal","bce496eb-990b-4419-b6e0-8144e4f4ac1d",ks()(et("principal")["bce496eb-990b-4419-b6e0-8144e4f4ac1d"],18,21)),ve=it("principal","bce496eb-990b-4419-b6e0-8144e4f4ac1d",ks()(et("principal")["bce496eb-990b-4419-b6e0-8144e4f4ac1d"],21,24)),xe=nt("principal","bce496eb-990b-4419-b6e0-8144e4f4ac1d",ks()(et("principal")["bce496eb-990b-4419-b6e0-8144e4f4ac1d"],21,24)),ye=it("principal","bce496eb-990b-4419-b6e0-8144e4f4ac1d",ks()(et("principal")["bce496eb-990b-4419-b6e0-8144e4f4ac1d"],24,26)),ke=nt("principal","bce496eb-990b-4419-b6e0-8144e4f4ac1d",ks()(et("principal")["bce496eb-990b-4419-b6e0-8144e4f4ac1d"],24,26)),_e=it("principal","bce496eb-990b-4419-b6e0-8144e4f4ac1d",ks()(et("principal")["bce496eb-990b-4419-b6e0-8144e4f4ac1d"],26,30)),we=nt("principal","bce496eb-990b-4419-b6e0-8144e4f4ac1d",ks()(et("principal")["bce496eb-990b-4419-b6e0-8144e4f4ac1d"],26,30)),Me=it("principal","bce496eb-990b-4419-b6e0-8144e4f4ac1d",ks()(et("principal")["bce496eb-990b-4419-b6e0-8144e4f4ac1d"],30,32)),Se=nt("principal","bce496eb-990b-4419-b6e0-8144e4f4ac1d",ks()(et("principal")["bce496eb-990b-4419-b6e0-8144e4f4ac1d"],30,32)),Te=it("principal","bce496eb-990b-4419-b6e0-8144e4f4ac1d",ks()(et("principal")["bce496eb-990b-4419-b6e0-8144e4f4ac1d"],32,37)),Ae=nt("principal","bce496eb-990b-4419-b6e0-8144e4f4ac1d",ks()(et("principal")["bce496eb-990b-4419-b6e0-8144e4f4ac1d"],32,37)),je=it("principal","bce496eb-990b-4419-b6e0-8144e4f4ac1d",ks()(et("principal")["bce496eb-990b-4419-b6e0-8144e4f4ac1d"],37,39)),Ee=nt("principal","bce496eb-990b-4419-b6e0-8144e4f4ac1d",ks()(et("principal")["bce496eb-990b-4419-b6e0-8144e4f4ac1d"],37,39)),De=[(null===(i=tt.dontKnow)||void 0===i?void 0:i[Z])+ot+"%",(null===(n=tt.dontKnow)||void 0===n?void 0:n[Z])+rt+"%",(null===(a=tt.dontKnow)||void 0===a?void 0:a[Z])+ct+"%",(null===(o=tt.dontKnow)||void 0===o?void 0:o[Z])+ut+"%",(null===(s=tt.dontKnow)||void 0===s?void 0:s[Z])+ft+"%",(null===(l=tt.dontKnow)||void 0===l?void 0:l[Z])+bt+"%",(null===(c=tt.dontKnow)||void 0===c?void 0:c[Z])+mt+"%",(null===(d=tt.dontKnow)||void 0===d?void 0:d[Z])+xt+"%",(null===(u=tt.dontKnow)||void 0===u?void 0:u[Z])+kt+"%",(null===(h=tt.dontKnow)||void 0===h?void 0:h[Z])+wt+"%"],Pe=[(null===(f=tt.dontKnow)||void 0===f?void 0:f[Z])+St+"%",(null===(p=tt.dontKnow)||void 0===p?void 0:p[Z])+At+"%",(null===(b=tt.dontKnow)||void 0===b?void 0:b[Z])+Et+"%",(null===(g=tt.dontKnow)||void 0===g?void 0:g[Z])+Pt+"%",(null===(m=tt.dontKnow)||void 0===m?void 0:m[Z])+Ot+"%",(null===(v=tt.dontKnow)||void 0===v?void 0:v[Z])+Bt+"%",(null===(x=tt.dontKnow)||void 0===x?void 0:x[Z])+Lt+"%",(null===(y=tt.dontKnow)||void 0===y?void 0:y[Z])+Nt+"%",(null===(k=tt.dontKnow)||void 0===k?void 0:k[Z])+Ht+"%",(null===(_=tt.dontKnow)||void 0===_?void 0:_[Z])+Kt+"%"],Ce=[(null===(w=tt.dontKnow)||void 0===w?void 0:w[Z])+$t+"%",(null===(M=tt.dontKnow)||void 0===M?void 0:M[Z])+Yt+"%",(null===(S=tt.dontKnow)||void 0===S?void 0:S[Z])+Qt+"%",(null===(T=tt.dontKnow)||void 0===T?void 0:T[Z])+qt+"%",(null===(A=tt.dontKnow)||void 0===A?void 0:A[Z])+Zt+"%",(null===(j=tt.dontKnow)||void 0===j?void 0:j[Z])+ee+"%",(null===(E=tt.dontKnow)||void 0===E?void 0:E[Z])+ne+"%",(null===(D=tt.dontKnow)||void 0===D?void 0:D[Z])+oe+"%",(null===(P=tt.dontKnow)||void 0===P?void 0:P[Z])+re+"%",(null===(C=tt.dontKnow)||void 0===C?void 0:C[Z])+ce+"%"],Oe=[(null===(O=tt.dontKnow)||void 0===O?void 0:O[Z])+ue+"%",(null===(R=tt.dontKnow)||void 0===R?void 0:R[Z])+fe+"%",(null===(B=tt.dontKnow)||void 0===B?void 0:B[Z])+be+"%",(null===(I=tt.dontKnow)||void 0===I?void 0:I[Z])+me+"%",(null===(L=tt.dontKnow)||void 0===L?void 0:L[Z])+xe+"%",(null===(F=tt.dontKnow)||void 0===F?void 0:F[Z])+ke+"%",(null===(N=tt.dontKnow)||void 0===N?void 0:N[Z])+we+"%",(null===(z=tt.dontKnow)||void 0===z?void 0:z[Z])+Se+"%",(null===(H=tt.dontKnow)||void 0===H?void 0:H[Z])+Ae+"%",(null===(V=tt.dontKnow)||void 0===V?void 0:V[Z])+Ee+"%"],Re={indexAxis:"y",elements:{bar:{borderWidth:2}},maintainAspectRatio:!1,scales:{x:{max:1}
1},plugins:{legend:{position:"right"},title:{display:!0,text:null===(K=tt.sixthBlockFirstDiagramTitle)||void 0===K?void 0:K[Z]}}},Be={labels:null===(W=tt.sixthBlockFirstDiagramLabels)||void 0===W?void 0:W[Z],datasets:[{label:null===($=tt.student)||void 0===$?void 0:$[Z],datalabels:{color:"black",align:"end",anchor:"start",font:{weight:"bold"},formatter:(t,e)=>De[e.dataIndex]},data:[at,st,lt,dt,ht,pt,gt,vt,yt,_t],backgroundColor:"rgba(107, 176, 213, 0.8)",maxBarThickness:24},{label:null===(U=tt.parent)||void 0===U?void 0:U[Z],datalabels:{color:"black",align:"end",anchor:"start",font:{weight:"bold"},formatter:(t,e)=>Pe[e.dataIndex]},data:[Mt,Tt,jt,Dt,Ct,Rt,It,Ft,zt,Vt],backgroundColor:"rgba(154, 185, 66, 0.8)",maxBarThickness:24},{label:null===(Y=tt.teacher)||void 0===Y?void 0:Y[Z],datalabels:{color:"black",align:"end",anchor:"start",font:{weight:"bold"},formatter:(t,e)=>Ce[e.dataIndex]},data:[Wt,Ut,Xt,Gt,Jt,te,ie,ae,se,le],backgroundColor:"rgba(255, 167, 45, 0.8)",maxBarThickness:24},{label:null===(X=tt.principal)||void 0===X?void 0:X[Z],datalabels:{color:"black",align:"end",anchor:"start",font:{weight:"bold"},formatter:(t,e)=>Oe[e.dataIndex]},data:[de,he,pe,ge,ve,ye,_e,Me,Te,je],backgroundColor:"rgba(241, 93, 80, 0.8)",maxBarThickness:24}]};return(0,t.createElement)(t.Fragment,null,r(null===(Q=J.sixthFirstParagraphHtml)||void 0===Q?void 0:Q[Z]),(0,t.createElement)("div",{className:"sixth-block-first-diagram"},(0,t.createElement)(zs,{options:Re,plugins:[kr],data:Be})))},Ar=e=>{var i,n,a,o,s,l,c,d,u,h,f,p,b,g,m,v,x,y,k,_,w,M,S,T,A,j,E,D,P,C,O,R,B,I,L;let{schoolAdminReportData:F,templatesByType:N,report:z,languageType:H,translations:V}=e;const{getQuestionsIdsByBlockId:K,getQuestionsAnswersAverage:W,getQuestionsAnswersNullAverage:$}=js(F,N),U=W("student","2a6a8e14-ed11-4e4f-b336-699dd06e32ab",ks()(K("student")["2a6a8e14-ed11-4e4f-b336-699dd06e32ab"],35,36)),Y=$("student","2a6a8e14-ed11-4e4f-b336-699dd06e32ab",ks()(K("student")["2a6a8e14-ed11-4e4f-b336-699dd06e32ab"],35,36)),X=W("student","2a6a8e14-ed11-4e4f-b336-699dd06e32ab",ks()(K("student")["2a6a8e14-ed11-4e4f-b336-699dd06e32ab"],36,37)),Q=$("student","2a6a8e14-ed11-4e4f-b336-699dd06e32ab",ks()(K("student")["2a6a8e14-ed11-4e4f-b336-699dd06e32ab"],36,37)),G=W("student","2a6a8e14-ed11-4e4f-b336-699dd06e32ab",ks()(K("student")["2a6a8e14-ed11-4e4f-b336-699dd06e32ab"],37,38)),q=$("student","2a6a8e14-ed11-4e4f-b336-699dd06e32ab",ks()(K("student")["2a6a8e14-ed11-4e4f-b336-699dd06e32ab"],37,38)),J=W("student","2a6a8e14-ed11-4e4f-b336-699dd06e32ab",ks()(K("student")["2a6a8e14-ed11-4e4f-b336-699dd06e32ab"],38,39)),Z=$("student","2a6a8e14-ed11-4e4f-b336-699dd06e32ab",ks()(K("student")["2a6a8e14-ed11-4e4f-b336-699dd06e32ab"],38,39)),tt=W("student","2a6a8e14-ed11-4e4f-b336-699dd06e32ab",ks()(K("student")["2a6a8e14-ed11-4e4f-b336-699dd06e32ab"],39,40)),et=$("student","2a6a8e14-ed11-4e4f-b336-699dd06e32ab",ks()(K("student")["2a6a8e14-ed11-4e4f-b336-699dd06e32ab"],39,40)),it=W("student","2a6a8e14-ed11-4e4f-b336-699dd06e32ab",ks()(K("student")["2a6a8e14-ed11-4e4f-b336-699dd06e32ab"],40,41)),nt=$("student","2a6a8e14-ed11-4e4f-b336-699dd06e32ab",ks()(K("student")["2a6a8e14-ed11-4e4f-b336-699dd06e32ab"],40,41)),at=W("student","2a6a8e14-ed11-4e4f-b336-699dd06e32ab",ks()(K("student")["2a6a8e14-ed11-4e4f-b336-699dd06e32ab"],41,42)),ot=$("student","2a6a8e14-ed11-4e4f-b336-699dd06e32ab",ks()(K("student")["2a6a8e14-ed11-4e4f-b336-699dd06e32ab"],41,42)),st=W("parent","1663b38d-0e21-433a-88bb-b94c665ddc34",ks()(K("parent")["1663b38d-0e21-433a-88bb-b94c665ddc34"],36,37)),rt=$("parent","1663b38d-0e21-433a-88bb-b94c665ddc34",ks()(K("parent")["1663b38d-0e21-433a-88bb-b94c665ddc34"],36,37)),lt=W("parent","1663b38d-0e21-433a-88bb-b94c665ddc34",ks()(K("parent")["1663b38d-0e21-433a-88bb-b94c665ddc34"],37,38)),ct=$("parent","1663b38d-0e21-433a-88bb-b94c665ddc34",ks()(K("parent")["1663b38d-0e21-433a-88bb-b94c665ddc34"],37,38)),dt=W("parent","1663b38d-0e21-433a-88bb-b94c665ddc34",ks()(K("parent")["1663b38d-0e21-433a-88bb-b94c665ddc34"],38,39)),ut=$("parent","1663b38d-0e21-433a-88bb-b94c665ddc34",ks()(K("parent")["1663b38d-0e21-433a-88bb-b94c665ddc34"],38,39)),ht=W("parent","1663b38d-0e21-433a-88bb-b94c665ddc34",ks()(K("parent")["1663b38d-0e21-433a-88bb-b94c665ddc34"],39,40)),ft=$("parent","1663b38d-0e21-433a-88bb-b94c665ddc34",ks()(K("parent")["1663b38d-0e21-433a-88bb-b94c665ddc34"],39,40)),pt=W("parent","1663b38d-0e21-433a-88bb-b94c665ddc34",ks()(K("parent")["1663b38d-0e21-433a-88bb-b94c665ddc34"],40,41)),bt=$("parent","1663b38d-0e21-433a-88bb-b94c665ddc34",ks()(K("parent")["1663b38d-0e21-433a-88bb-b94c665ddc34"],40,41)),gt=W("parent","1663b38d-0e21-433a-88bb-b94c665ddc34",ks()(K("parent")["1663b38d-0e21-433a-88bb-b94c665ddc34"],41,42)),mt=$("parent","1663b38d-0e21-433a-88bb-b94c665ddc34",ks()(K("parent")["1663b38d-0e21-433a-88bb-b94c665ddc34"],41,42)),vt=W("parent","1663b38d-0e21-433a-88bb-b94c665ddc34",ks()(K("parent")["1663b38d-0e21-433a-88bb-b94c665ddc34"],42,43)),xt=$("parent","1663b38d-0e21-433a-88bb-b94c665ddc34",ks()(K("parent")["1663b38d-0e21-433a-88bb-b94c665ddc34"],42,43)),yt=W("teacher","914854f1-ac0f-498b-b220-5b2788e6611b",ks()(K("teacher")["914854f1-ac0f-498b-b220-5b2788e6611b"],39,40)),kt=$("teacher","914854f1-ac0f-498b-b220-5b2788e6611b",ks()(K("teacher")["914854f1-ac0f-498b-b220-5b2788e6611b"],39,40)),_t=W("teacher","914854f1-ac0f-498b-b220-5b2788e6611b",ks()(K("teacher")["914854f1-ac0f-498b-b220-5b2788e6611b"],40,41)),wt=$("teacher","914854f1-ac0f-498b-b220-5b2788e6611b",ks()(K("teacher")["914854f1-ac0f-498b-b220-5b2788e6611b"],40,41)),Mt=W("teacher","914854f1-ac0f-498b-b220-5b2788e6611b",ks()(K("teacher")["914854f1-ac0f-498b-b220-5b2788e6611b"],41,42)),St=$("teacher","914854f1-ac0f-498b-b220-5b2788e6611b",ks()(K("teacher")["914854f1-ac0f-498b-b220-5b2788e6611b"],41,42)),Tt=W("teacher","914854f1-ac0f-498b-b220-5b2788e6611b",ks()(K("teacher")["914854f1-ac0f-498b-b220-5b2788e6611b"],42,43)),At=$("teacher","914854f1-ac0f-498b-b220-5b2788e6611b",ks()(K("teacher")["914854f1-ac0f-498b-b220-5b2788e6611b"],42,43)),jt=W("teacher","914854f1-ac0f-498b-b220-5b2788e6611b",ks()(K("teacher")["914854f1-ac0f-498b-b220-5b2788e6611b"],43,44)),Et=$("teacher","914854f1-ac0f-498b-b220-5b2788e6611b",ks()(K("teacher")["914854f1-ac0f-498b-b220-5b2788e6611b"],43,44)),Dt=W("teacher","914854f1-ac0f-498b-b220-5b2788e6611b",ks()(K("teacher")["914854f1-ac0f-498b-b220-5b2788e6611b"],44,45)),Pt=$("teacher","914854f1-ac0f-498b-b220-5b2788e6611b",ks()(K("teacher")["914854f1-ac0f-498b-b220-5b2788e6611b"],44,45)),Ct=W("teacher","914854f1-ac0f-498b-b220-5b2788e6611b",ks()(K("teacher")["914854f1-ac0f-498b-b220-5b2788e6611b"],45,46)
1),Ot=$("teacher","914854f1-ac0f-498b-b220-5b2788e6611b",ks()(K("teacher")["914854f1-ac0f-498b-b220-5b2788e6611b"],45,46)),Rt=W("principal","bce496eb-990b-4419-b6e0-8144e4f4ac1d",ks()(K("principal")["bce496eb-990b-4419-b6e0-8144e4f4ac1d"],39,40)),Bt=$("principal","bce496eb-990b-4419-b6e0-8144e4f4ac1d",ks()(K("principal")["bce496eb-990b-4419-b6e0-8144e4f4ac1d"],39,40)),It=W("principal","bce496eb-990b-4419-b6e0-8144e4f4ac1d",ks()(K("principal")["bce496eb-990b-4419-b6e0-8144e4f4ac1d"],40,41)),Lt=$("principal","bce496eb-990b-4419-b6e0-8144e4f4ac1d",ks()(K("principal")["bce496eb-990b-4419-b6e0-8144e4f4ac1d"],40,41)),Ft=W("principal","bce496eb-990b-4419-b6e0-8144e4f4ac1d",ks()(K("principal")["bce496eb-990b-4419-b6e0-8144e4f4ac1d"],41,42)),Nt=$("principal","bce496eb-990b-4419-b6e0-8144e4f4ac1d",ks()(K("principal")["bce496eb-990b-4419-b6e0-8144e4f4ac1d"],41,42)),zt=W("principal","bce496eb-990b-4419-b6e0-8144e4f4ac1d",ks()(K("principal")["bce496eb-990b-4419-b6e0-8144e4f4ac1d"],42,43)),Ht=$("principal","bce496eb-990b-4419-b6e0-8144e4f4ac1d",ks()(K("principal")["bce496eb-990b-4419-b6e0-8144e4f4ac1d"],42,43)),Vt=W("principal","bce496eb-990b-4419-b6e0-8144e4f4ac1d",ks()(K("principal")["bce496eb-990b-4419-b6e0-8144e4f4ac1d"],43,44)),Kt=$("principal","bce496eb-990b-4419-b6e0-8144e4f4ac1d",ks()(K("principal")["bce496eb-990b-4419-b6e0-8144e4f4ac1d"],43,44)),Wt=W("principal","bce496eb-990b-4419-b6e0-8144e4f4ac1d",ks()(K("principal")["bce496eb-990b-4419-b6e0-8144e4f4ac1d"],44,45)),$t=$("principal","bce496eb-990b-4419-b6e0-8144e4f4ac1d",ks()(K("principal")["bce496eb-990b-4419-b6e0-8144e4f4ac1d"],44,45)),Ut=W("principal","bce496eb-990b-4419-b6e0-8144e4f4ac1d",ks()(K("principal")["bce496eb-990b-4419-b6e0-8144e4f4ac1d"],45,46)),Yt=$("principal","bce496eb-990b-4419-b6e0-8144e4f4ac1d",ks()(K("principal")["bce496eb-990b-4419-b6e0-8144e4f4ac1d"],45,46)),Xt=[(null===(i=V.dontKnow)||void 0===i?void 0:i[H])+Y+"%",(null===(n=V.dontKnow)||void 0===n?void 0:n[H])+Q+"%",(null===(a=V.dontKnow)||void 0===a?void 0:a[H])+q+"%",(null===(o=V.dontKnow)||void 0===o?void 0:o[H])+Z+"%",(null===(s=V.dontKnow)||void 0===s?void 0:s[H])+et+"%",(null===(l=V.dontKnow)||void 0===l?void 0:l[H])+nt+"%",(null===(c=V.dontKnow)||void 0===c?void 0:c[H])+ot+"%"],Qt=[(null===(d=V.dontKnow)||void 0===d?void 0:d[H])+rt+"%",(null===(u=V.dontKnow)||void 0===u?void 0:u[H])+ct+"%",(null===(h=V.dontKnow)||void 0===h?void 0:h[H])+ut+"%",(null===(f=V.dontKnow)||void 0===f?void 0:f[H])+ft+"%",(null===(p=V.dontKnow)||void 0===p?void 0:p[H])+bt+"%",(null===(b=V.dontKnow)||void 0===b?void 0:b[H])+mt+"%",(null===(g=V.dontKnow)||void 0===g?void 0:g[H])+xt+"%"],Gt=[(null===(m=V.dontKnow)||void 0===m?void 0:m[H])+kt+"%",(null===(v=V.dontKnow)||void 0===v?void 0:v[H])+wt+"%",(null===(x=V.dontKnow)||void 0===x?void 0:x[H])+St+"%",(null===(y=V.dontKnow)||void 0===y?void 0:y[H])+At+"%",(null===(k=V.dontKnow)||void 0===k?void 0:k[H])+Et+"%",(null===(_=V.dontKnow)||void 0===_?void 0:_[H])+Pt+"%",(null===(w=V.dontKnow)||void 0===w?void 0:w[H])+Ot+"%"],qt=[(null===(M=V.dontKnow)||void 0===M?void 0:M[H])+Bt+"%",(null===(S=V.dontKnow)||void 0===S?void 0:S[H])+Lt+"%",(null===(T=V.dontKnow)||void 0===T?void 0:T[H])+Nt+"%",(null===(A=V.dontKnow)||void 0===A?void 0:A[H])+Ht+"%",(null===(j=V.dontKnow)||void 0===j?void 0:j[H])+Kt+"%",(null===(E=V.dontKnow)||void 0===E?void 0:E[H])+$t+"%",(null===(D=V.dontKnow)||void 0===D?void 0:D[H])+Yt+"%"],Jt={indexAxis:"y",elements:{bar:{borderWidth:2}},maintainAspectRatio:!1,scales:{x:{max:1}},plugins:{legend:{position:"right"},title:{display:!0,text:null===(P=V.sixthBlockSecondDiagramTitle)||void 0===P?void 0:P[H]}}},Zt={labels:null===(C=V.sixthBlockSecondDiagramLabels)||void 0===C?void 0:C[H],datasets:[{label:null===(O=V.student)||void 0===O?void 0:O[H],datalabels:{color:"black",align:"end",anchor:"start",font:{weight:"bold"},formatter:(t,e)=>Xt[e.dataIndex]},data:[U,X,G,J,tt,it,at],backgroundColor:"rgba(107, 176, 213, 0.8)",maxBarThickness:24},{label:null===(R=V.parent)||void 0===R?void 0:R[H],datalabels:{color:"black",align:"end",anchor:"start",font:{weight:"bold"},formatter:(t,e)=>Qt[e.dataIndex]},data:[st,lt,dt,ht,pt,gt,vt],backgroundColor:"rgba(154, 185, 66, 0.8)",maxBarThickness:24},{label:null===(B=V.teacher)||void 0===B?void 0:B[H],datalabels:{color:"black",align:"end",anchor:"start",font:{weight:"bold"},formatter:(t,e)=>Gt[e.dataIndex]},data:[yt,_t,Mt,Tt,jt,Dt,Ct],backgroundColor:"rgba(255, 167, 45, 0.8)",maxBarThickness:24},{label:null===(I=V.principal)||void 0===I?void 0:I[H],datalabels:{color:"black",align:"end",anchor:"start",font:{weight:"bold"},formatter:(t,e)=>qt[e.dataIndex]},data:[Rt,It,Ft,zt,Vt,Wt,Ut],backgroundColor:"rgba(241, 93, 80, 0.8)",maxBarThickness:24}]};return(0,t.createElement)(t.Fragment,null,r(null===(L=z.sixthSecondParagraphHtml)||void 0===L?void 0:L[H]),(0,t.createElement)("div",{className:"sixth-block-second-diagram"},(0,t.createElement)(zs,{options:Jt,plugins:[kr],data:Zt})))},jr=e=>{let{schoolAdminReportData:i,templatesByType:n,report:a,languageType:o,translations:s}=e;return(0,t.createElement)(t.Fragment,null,(0,t.createElement)(Tr,{schoolAdminReportData:i,templatesByType:n,report:a,languageType:o,translations:s}),(0,t.createElement)(Ar,{schoolAdminReportData:i,templatesByType:n,report:a,languageType:o,translations:s}))},Er=e=>{var i,n,a,o,s,l,c,d,u,h,f,p,b,g,m,v,x,y,k,_,w,M,S,T,A,j,E;let{schoolAdminReportData:D,templatesByType:P,report:C,languageType:O,translations:R}=e;const{getQuestionsIdsByBlockId:B,getQuestionsAnswersAverage:I,getQuestionsAnswersNullAverage:L}=js(D,P),F=I("student","ebf69a4e-ebba-4f1f-bae7-3f08d82e9fb3",ks()(B("student")["ebf69a4e-ebba-4f1f-bae7-3f08d82e9fb3"],0,5)),N=L("student","ebf69a4e-ebba-4f1f-bae7-3f08d82e9fb3",ks()(B("student")["ebf69a4e-ebba-4f1f-bae7-3f08d82e9fb3"],0,5)),z=I("student","ebf69a4e-ebba-4f1f-bae7-3f08d82e9fb3",ks()(B("student")["ebf69a4e-ebba-4f1f-bae7-3f08d82e9fb3"],5,16)),H=L("student","ebf69a4e-ebba-4f1f-bae7-3f08d82e9fb3",ks()(B("student")["ebf69a4e-ebba-4f1f-bae7-3f08d82e9fb3"],5,16)),V=I("student","ebf69a4e-ebba-4f1f-bae7-3f08d82e9fb3",ks()(B("student")["ebf69a4e-ebba-4f1f-bae7-3f08d82e9fb3"],22,23)),K=L("student","ebf69a4e-ebba-4f1f-bae7-3f08d82e9fb3",ks()(B("student")["ebf69a4e-ebba-4f1f-bae7-3f08d82e9fb3"],22,23)),W=I("student","ebf69a4e-ebba-4f1f-bae7-3f08d82e9fb3",ks()(B("student")["ebf69a4e-ebba-4f1f-bae7-3f08d82e9fb3"],23,24)),$=L("student","ebf69a4e-ebba-4f1f-bae7-3f08d82e9fb3",ks()(B("student")["ebf69a4e-ebba-4f1f-bae7-3f08d82e9fb3"],23,24)),U=I("student","ebf69a4e-ebba-4f1f-bae7-3f08d82e9fb3",ks()(B("student")["ebf69a4e-ebba-4f1f-bae7-3f08d82e9fb3"],24,26)),Y=L("student","ebf69a4e-ebba-4f1f-bae7-3f08d82e9fb3",ks()(B("student")["ebf69a4e-ebba-4f1f-bae7-3f08d82e9fb3"],24,26)),X=I("parent","19d03d20-e784-4a2f-9425-51212edc4aca",ks()(B("parent")["19d03d20-e784-4a2f-9425-51212edc4aca"],0,8)),Q=L("parent","19d03d20-e784-4a2f-9425-51212edc4aca",ks()(B("parent")["19d03d20-e784-4a2f-9425-51212edc4aca"],0,8)),G=I("parent","19d03d20-e784-4a2f-9425-51212edc4aca",ks()(B("parent")["19d03d20-e784-4a2f-9425-51212edc4aca"],8,19)),q=L("parent","19d03d20-e784-4a2f-9425-51212edc4aca",ks()(B("parent")["19d03d20-e784-4a2f-9425-51212edc4aca"],8,19)),J=I("parent","19d03d20-e784-4a2f-9425-51212edc4aca",ks()(B("parent")["19d03d20-e784-4a2f-9425-51212edc4aca"],25,30)),Z=L("parent","19d03d20-e784-4a2f-9425-51212edc4aca",ks()(B("parent")["19d03d20-e784-4a2f-9425-51212edc4aca"],25,30)),tt=I("parent","19d03d20-e784-4a2f-9425-51212edc4aca",ks()(B("parent")["19d03d20-e784-4a2f-9425-51212edc4aca"],30,31)),et=L("parent","19d03d20-e784-4a2f-9425-51212edc4aca",ks()(B("parent")["19d03d20-e784-4a2f-9425-51212edc4aca"],30,31)),it=I("parent","19d03d20-e784-4a2f-9425-51212edc4aca",ks()(B("parent")["19d03d20-e784-4a2f-9425-51212edc4aca"],31,33)),nt=L("parent","19d03d20-e784-4a2f-9425-51212edc4aca",ks()(B("parent")["19d03d20-e784-4a2f-9425-51212edc4aca"],31,33)),at=I("teacher","9a5f84e6-b085-4643-9679-f16fb41b0b07",ks()(B("teacher")["9a5f84e6-b085-4643-9679-f16fb41b0b07"],0,8)),ot=L("teacher","9a5f84e6-b085-4643-9679-f16fb41b0b07",ks()(B("teacher")["9a5f84e6-b085-4643-9679-f16fb41b0b07"],0,8)),st=I("teacher","9a5f84e6-b085-4643-9679-f16fb41b0b07",ks()(B("teacher")["9a5f84e6-b085-4643-9679-f16fb41b0b07"],8,19)),rt=L("teacher","9a5f84e6-b085-4643-9679-f16fb41b0b07",ks()(B("teacher")["9a5f84e6-b085-4643-9679-f16fb41b0b07"],8,19)),lt=I("teacher","9a5f84e6-b085-4643-9679-f16fb41b0b07",ks()(B("teacher")["9a5f84e6-b085-4643-9679-f16fb41b0b07"],25,30)),ct=L("teacher","9a5f84e6-b085-4643-9679-f16fb41b0b07",ks()(B("teacher")["9a5f84e6-b085-4643-9679-f16fb41b0b07"],25,30)),dt=I("teacher","9a5f84e6-b085-4643-9679-f16fb41b0b07",ks()(B("teacher")["9a5f84e6-b085-4643-9679-f16fb41b0b07"],30,32)),ut=L("teacher","9a5f84e6-b085-4643-9679-f16fb41b0b07",ks()(B("teacher")["9a5f84e6-b085-4643-9679-f16fb41b0b07"],30,32)),ht=I("teacher","9a5f84e6-b085-4643-9679-f16fb41b0b07",ks()(B("teacher")["9a5f84e6-b085-4643-9679-f16fb41b0b07"],32,38)),ft=L("teacher","9a5f84e6-b085-4643-9679-f16fb41b0b07",ks()(B("teacher")["9a5f84e6-b085-4643-9679-f16fb41b0b07"],32,38)),pt=I("principal","5d4ba3ab-b18b-47c7-972c-a23e0eb0bff9",ks()(B("principal")["5d4ba3ab-b18b-47c7-972c-a23e0eb0bff9"],0,8)),bt=L("principal","5d4ba3ab-b18b-47c7-972c-a23e0eb0bff9",ks()(B("principal")["5d4ba3ab-b18b-47c7-972c-a23e0eb0bff9"],0,8)),gt=I("principal","5d4ba3ab-b18b-47c7-972c-a23e0eb0bff9",ks()(B("principal")["5d4ba3ab-b18b-47c7-972c-a23e0eb0bff9"],8,19)),mt=L("principal","5d4ba3ab-b18b-47c7-972c-a23e0eb0bff9",ks()(B("principal")["5d4ba3ab-b18b-47c7-972c-a23e0eb0bff9"],8,19)),vt=I("principal","5d4ba3ab-b18b-47c7-972c-a23e0eb0bff9",ks()(B("principal")["5d4ba3ab-b18b-47c7-972c-a23e0eb0bff9"],25,30)),xt=L("principal","5d4ba3ab-b18b-47c7-972c-a23e0eb0bff9",ks()(B("principal")["5d4ba3ab-b18b-47c7-972c-a23e0eb0bff9"],25,30)),yt=I("principal","5d4ba3ab-b18b-47c7-972c-a23e0eb0bff9",ks()(B("principal")["5d4ba3ab-b18b-47c7-972c-a23e0eb0bff9"],30,32)),kt=L("principal","5d4ba3ab-b18b-47c7-972c-a23e0eb0bff9",ks()(B("principal")["5d4ba3ab-b18b-47c7-972c-a23e0eb0bff9"],30,32)),_t=I("principal","5d4ba3ab-b18b-47c7-972c-a23e0eb0bff9",ks()(B("principal")["5d4ba3ab-b18b-47c7-972c-a23e0eb0bff9"],32,38)),wt=L("principal","5d4ba3ab-b18b-47c7-972c-a23e0eb0bff9",ks()(B("principal")["5d4ba3ab-b18b-47c7-972c-a23e0eb0bff9"],32,38)),Mt=[(null===(i=R.dontKnow)||void 0===i?void 0:i[O])+N+"%",(null===(n=R.dontKnow)||void 0===n?void 0:n[O])+H+"%",(null===(a=R.dontKnow)||void 0===a?void 0:a[O])+K+"%",(null===(o=R.dontKnow)||void 0===o?void 0:o[O])+$+"%",(null===(s=R.dontKnow)||void 0===s?void 0:s[O])+Y+"%"],St=[(null===(l=R.dontKnow)||void 0===l?void 0:l[O])+Q+"%",(null===(c=R.dontKnow)||void 0===c?void 0:c[O])+q+"%",(null===(d=R.dontKnow)||void 0===d?void 0:d[O])+Z+"%",(null===(u=R.dontKnow)||void 0===u?void 0:u[O])+et+"%",(null===(h=R.dontKnow)||void 0===h?void 0:h[O])+nt+"%"],Tt=[(null===(f=R.dontKnow)||void 0===f?void 0:f[O])+ot+"%",(null===(p=R.dontKnow)||void 0===p?void 0:p[O])+rt+"%",(null===(b=R.dontKnow)||void 0===b?void 0:b[O])+ct+"%",(null===(g=R.dontKnow)||void 0===g?void 0:g[O])+ut+"%",(null===(m=R.dontKnow)||void 0===m?void 0:m[O])+ft+"%"],At=[(null===(v=R.dontKnow)||void 0===v?void 0:v[O])+bt+"%",(null===(x=R.dontKnow)||void 0===x?void 0:x[O])+mt+"%",(null===(y=R.dontKnow)||void 0===y?void 0:y[O])+xt+"%",(null===(k=R.dontKnow)||void 0===k?void 0:k[O])+kt+"%",(null===(_=R.dontKnow)||void 0===_?void 0:_[O])+wt+"%"],jt={indexAxis:"y",elements:{bar:{borderWidth:2}},maintainAspectRatio:!1,scales:{x:{max:1}
1},plugins:{legend:{position:"right"},title:{display:!0,text:null===(w=R.seventhBlockFirstDiagramTitle)||void 0===w?void 0:w[O]}}},Et={labels:null===(M=R.seventhBlockFirstDiagramLabels)||void 0===M?void 0:M[O],datasets:[{label:null===(S=R.student)||void 0===S?void 0:S[O],datalabels:{color:"black",align:"end",anchor:"start",font:{weight:"bold"},formatter:(t,e)=>Mt[e.dataIndex]},data:[F,z,V,W,U,,],backgroundColor:"rgba(107, 176, 213, 0.8)",maxBarThickness:24},{label:null===(T=R.parent)||void 0===T?void 0:T[O],datalabels:{color:"black",align:"end",anchor:"start",font:{weight:"bold"},formatter:(t,e)=>St[e.dataIndex]},data:[X,G,J,tt,it],backgroundColor:"rgba(154, 185, 66, 0.8)",maxBarThickness:24},{label:null===(A=R.teacher)||void 0===A?void 0:A[O],datalabels:{color:"black",align:"end",anchor:"start",font:{weight:"bold"},formatter:(t,e)=>Tt[e.dataIndex]},data:[at,st,lt,dt,ht],backgroundColor:"rgba(255, 167, 45, 0.8)",maxBarThickness:24},{label:null===(j=R.principal)||void 0===j?void 0:j[O],datalabels:{color:"black",align:"end",anchor:"start",font:{weight:"bold"},formatter:(t,e)=>At[e.dataIndex]},data:[pt,gt,vt,yt,_t],backgroundColor:"rgba(241, 93, 80, 0.8)",maxBarThickness:24}]};return(0,t.createElement)(t.Fragment,null,r(null===(E=C.seventhFirstParagraphHtml)||void 0===E?void 0:E[O]),(0,t.createElement)("div",{className:"seventh-block-first-diagram"},(0,t.createElement)(zs,{options:jt,plugins:[kr],data:Et})))},Dr=e=>{var i,n,a,o,s,l,c,d,u,h;let{schoolAdminReportData:f,templatesByType:p,report:b,languageType:g,translations:m}=e;const{getQuestionsIdsByBlockId:v,getQuestionsAnswersAverage:x,getQuestionsAnswersNullAverage:y}=js(f,p),k=x("student","ebf69a4e-ebba-4f1f-bae7-3f08d82e9fb3",ks()(v("student")["ebf69a4e-ebba-4f1f-bae7-3f08d82e9fb3"],16,22)),_=y("student","ebf69a4e-ebba-4f1f-bae7-3f08d82e9fb3",ks()(v("student")["ebf69a4e-ebba-4f1f-bae7-3f08d82e9fb3"],16,22)),w=x("parent","19d03d20-e784-4a2f-9425-51212edc4aca",ks()(v("parent")["19d03d20-e784-4a2f-9425-51212edc4aca"],19,25)),M=y("parent","19d03d20-e784-4a2f-9425-51212edc4aca",ks()(v("parent")["19d03d20-e784-4a2f-9425-51212edc4aca"],19,25)),S=x("teacher","9a5f84e6-b085-4643-9679-f16fb41b0b07",ks()(v("teacher")["9a5f84e6-b085-4643-9679-f16fb41b0b07"],19,25)),T=y("teacher","9a5f84e6-b085-4643-9679-f16fb41b0b07",ks()(v("teacher")["9a5f84e6-b085-4643-9679-f16fb41b0b07"],19,25)),A=x("principal","5d4ba3ab-b18b-47c7-972c-a23e0eb0bff9",ks()(v("principal")["5d4ba3ab-b18b-47c7-972c-a23e0eb0bff9"],19,25)),j=y("principal","5d4ba3ab-b18b-47c7-972c-a23e0eb0bff9",ks()(v("principal")["5d4ba3ab-b18b-47c7-972c-a23e0eb0bff9"],19,25)),E=[(null===(i=m.dontKnow)||void 0===i?void 0:i[g])+_+"%"],D=[(null===(n=m.dontKnow)||void 0===n?void 0:n[g])+M+"%"],P=[(null===(a=m.dontKnow)||void 0===a?void 0:a[g])+T+"%"],C=[(null===(o=m.dontKnow)||void 0===o?void 0:o[g])+j+"%"],O={indexAxis:"y",elements:{bar:{borderWidth:2}},maintainAspectRatio:!1,scales:{x:{max:1}},plugins:{legend:{position:"right"},title:{display:!0,text:null===(s=m.seventhBlockSecondDiagramTitle)||void 0===s?void 0:s[g]}}},R={labels:[""],datasets:[{label:null===(l=m.student)||void 0===l?void 0:l[g],datalabels:{color:"black",align:"end",anchor:"start",font:{weight:"bold"},formatter:(t,e)=>E[e.dataIndex]},data:[k],backgroundColor:"rgba(107, 176, 213, 0.8)",maxBarThickness:24},{label:null===(c=m.parent)||void 0===c?void 0:c[g],datalabels:{color:"black",align:"end",anchor:"start",font:{weight:"bold"},formatter:(t,e)=>D[e.dataIndex]},data:[w],backgroundColor:"rgba(154, 185, 66, 0.8)",maxBarThickness:24},{label:null===(d=m.teacher)||void 0===d?void 0:d[g],datalabels:{color:"black",align:"end",anchor:"start",font:{weight:"bold"},formatter:(t,e)=>P[e.dataIndex]},data:[S],backgroundColor:"rgba(255, 167, 45, 0.8)",maxBarThickness:24},{label:null===(u=m.principal)||void 0===u?void 0:u[g],datalabels:{color:"black",align:"end",anchor:"start",font:{weight:"bold"},formatter:(t,e)=>C[e.dataIndex]},data:[A],backgroundColor:"rgba(241, 93, 80, 0.8)",maxBarThickness:24}]};return(0,t.createElement)(t.Fragment,null,r(null===(h=b.seventhSecondParagraphHtml)||void 0===h?void 0:h[g]),(0,t.createElement)("div",{className:"seventh-block-second-diagram"},(0,t.createElement)(zs,{options:O,plugins:[kr],data:R})))},Pr=e=>{let{schoolAdminReportData:i,templatesByType:n,report:a,languageType:o,translations:s}=e;return(0,t.createElement)(t.Fragment,null,(0,t.createElement)(Er,{schoolAdminReportData:i,templatesByType:n,report:a,languageType:o,translations:s}),(0,t.createElement)(Dr,{schoolAdminReportData:i,templatesByType:n,report:a,languageType:o,translations:s}))},Cr=JSON.parse('{"headlineHtml":{"et":"<h1>Kiusamisvaba kooli teejuht - kokkuvõttev raport</h1></br></br>","ru":"<h1>ПУТЕВОДИТЕЛЬ ШКОЛЫ БЕЗ ТРАВЛИ - ОБОБЩАЮЩИЙ ОТЧЕТ</h1></br></br>"},"schoolHtml":{"et":"<h3>KOOL: </h3>","ru":"<h3>ШКОЛА: </h3>"},"descriptionParagraphHtml":{"et":"<p></br>Koolidele on pandud ülesanne igati toetada õpilaste tervet arengut (RÕK) ning kohustus tagada koolipere turvalisus (PGS). Kiusamine on üks suuremaid õpilaste toimetuleku ning akadeemilise edasijõudmise kahjustajaid. Kiusamise ennetamine on oluline terviseedenduse valdkond aidates säästa ennekõike laste vaimset tervist. Samuti panustab tõhus kiusamise ennetamine ka vägivallaennetusse (VEKO 2021-2024). Igas koolis peaks olema läbimõeldud ja kasutusele võetud tõhusad kiu
1samise ennetamise ning juhtumite lahendamise praktikad.</p><p>Kiusamisvaba kooli teejuht on mõeldud kooliperedele abivahendiks oma koolis kiusamist vähendavate tegevuse kaardistamisel, anaüüsimisel ning tõhusamate tegevuste kavandamisel. Teejuhi sisu on koostatud toetudes teadusuuringutes leitule. Tulemused kirjeldavad, mida koolis kiusamise ennetamiseks ja peatamiseks tehakse, kui teadlikud erinevad koolipere liikmed tehtavast on ja kui tõhus senine tegevus on olnud.</p><h4>Raport annab ülevaate õpilaste, lapsevanemate, personali ja juhtkonna hinnangutest</h4><li>õpilaste heaolule ja kiusamisega seotud kogemustele;</li><li>õpetajate kogemustele kiusamisega;</li><li>kiusamisprobleemi tõsisusele ja rahulolule juba tehtavaga;</li><h4>ning koolis kiusamise vähendamiseks tehtavale järgmistes valdkondades:</h4><li>kiusamise vähendamise juhtimine koolis;</li><li>kiusamisega seonduva hindamine ja analüüs koolis;</li><li>ennetustegevused</li><li>kiusamisjuhtumite käsitlemine (sh problemaatiliste sekkumistegevuste kasutamine).</li>","ru":"<p></br>Школам поручено прилагать все усилия для поддержки здорового развития учащихся (RÕK) и нести ответственность за обеспечение безопасности школьной семьи (PGS). Травля является одним из самых больших рисков для здоровья и безопасности и наносит ущерб академической успеваемости. Профилактика травли является важным направлением укрепления здоровья, помогая сохранить прежде всего  психическое здоровье детей. Эффективная профилактика травли также способствует предупреждению насилия (VEKO 2021-2024). В каждой школе должны быть разработаны и внедрены эффективные методы предотвращения издевательств и разрешения случаев травли. ЦУ Kiusamisvaba kool  является стратегическим партнером Министерства образования и науки в области предотвращения и сокращения травли и эффективной поддержки психического здоровья в образовательных учреждениях в 2022-2024 годах.</p><p>Путеводитель школы без травли предназначен для школьных семей в качестве вспомогательного инструмента для картирования, анализа и планирования более эффективных мероприятий по уменьшению травли в их школе. Содержание путеводителя составлено на основе результатов научных исследований. Результаты описывают, что делается для предотвращения и прекращения травли в школе, насколько осведомлены различные члены школьной семьи о сделанном и насколько эффективной была деятельность до этого.</p><h4>В отчете представлен обзор оценок учащихся, родителей, персонала и руководства:</h4><li>о самочувствие учащихся и об их опыте травли;</li><li>об опыт травли учителей;</li><li>о серьезности проблемы травли и удовлетворенности тем, что уже сделано;</li><h4>и действия по уменьшению травли в школе в следующих областях:</h4>
1<li>управление снижением травли в школе;</li><li>оценка и анализ травли в школе;</li><li>профилактические мероприятия</li><li>работа со случаями травли (включая использование проблемных вмешательств).</li>"},"firstBlockParagraphHtml":{"et":"<h3></br>TÕHUS KIUSAMISE VÄHENDAMINE KOOLIDES</h3><p>Koolides õnnestub kiusamist tõhusalt vähendada, kui ennetustöö ja ettetulevate juhtumite lahendamine on strateegiliselt juhitud, järjepidev, tõenduspõhine ja süstemaatiline, sisaldades nii ennetustegevusi kui juhtumite lahendamise tegevusi ning kogu koolipere, sh lapsevanemaid kaasav.</p>","ru":"<h3></br>ЭФФЕКТИВНОЕ УМЕНЬШЕНИЕ ТРАВЛИ В ШКОЛАХ</h3><p>Школы могут быть эффективными в снижении травли, если профилактика и разрешение случаев травли носят стратегический, последовательный, основанный на фактических данных и систематический характер, включая как профилактику, так и разрешение случаев травли и вовлечение всей школьной семьи, в том числе и родителей.</p>"},"secondBlockParagraphHtml":{"et":"<h3></br></br>2. TURVALISUS, HEAOLU JA SALLIVUS ÕPILASTE HULGAS</h3><p>Õpilastel paluti hinnata kui turvaliselt ja hästi nad end oma koolis ja klassis tunnevad (4 väidet) ja kui salliva ja aktsepteerivana nad koolikaaslasi tajuvad (3 väidet). Sarnaselt paluti anda hinnangud õpilaste turvatundele ja heaolule ning tajutud sallivusele lapsevanematel, õpetajatel ja ka juhtkonnal. Hinnangud anti skaalal 0-ei, 0,5-mingil määral, 1-jah; esitatakse keskmised hinnangud. Oli võimalus vastata ka \'ei tea\', siin neid vastuseid eraldi ei skoorita. Mida lähemal on hinnang 1-le, seda parem tulemus on. Tasub jälgida erinevate hindajate arvamuste sarnasusi ja/või erinevusi. Mida sarnasemad täiskasvanute hinnangud õpilaste hinnangutele on, seda paremini ilmselt nad õpilaste olukorda tajuvad.</p>","ru":"<h3></br></br>2. БЕЗОПАСНОСТЬ, БЛАГОПОЛУЧИЕ И ТОЛЕРАНТНОСТЬ СРЕДИ УЧЕНИКОВ</h3><p>Учащихся попросили оценить, насколько безопасно и хорошо они себя чувствуют в школе и классе (4 утверждения), а также насколько они терпимы и принимают своих одноклассников (3 утверждения). Точно так же родителей, учителей и руководство просили оценить чувство безопасности и благополучия учащихся, а также воспринимаемую терпимость. Оценки давались по шкале 0 – нет, 0,5 – в некоторой степени, 1 – да; даны средние оценки. Можно было ответить «не знаю», здесь эти ответы отдельно не засчитываются. Чем ближе оценка к 1, тем лучше результат. Стоит обратить внимание на сходство и/или различие мнений разных оценщиков. Чем более похожи оценки взрослых на оценки учащихся, тем лучше они, вероятно, понимают положение дел среди учеников.</p>"},"thirdBlockFirstParagraphHtml":{"et":"<h3></br></br>3a. HINNANGUD KIUSAMISE VÄHENDAMISEGA SEOTUD OLUKORRALE KOOLIS</h3><p>Kõigil vastajatel paluti hinnata kui suureks probleemiks peavad nad kiusamist oma koolis (skaalal 1 = üldse  mitte kuni 5 = väga suur probleem). Lisaks paluti hinnata, kui rahul ollakse praegu kiusamise ennetamiseks ja juhtumite lahendamiseks tehtavaga (hinnangud skaalal 1 = üldse mitte rahul kuni 5 = väga rahul). Mida lähemal on tulemused 5-le, seda rohkem ollakse juba tehtavaga rahul. Tulemuste puhul tasub jälgida erinevate vastajate hinnangute kooskõla.</p>","ru":"<h3></br></br>3a. ОЦЕНКА СИТУАЦИИ, СВЯЗАННОЙ С УМЕНЬШЕНИЕМ ТРАВЛИ В ШКОЛЕ</h3><p>Всем респондентам было предложено оценить проблему травли в их школе (по шкале от 1 = \'совсем нет\' до 5 = \'очень высокая\'). Кроме того, их попросили оценить, насколько они удовлетворены тем, что в настоящее время делается для предотвращения и решения проблемы издевательств (от 1 балла = \'совсем не\' до 5 = \'очень довольны\'). Все аспекты оценивались на основе одного утверждения. Чем ближе результаты к 5, тем больше удовлетворены тем, что уже сделано. В случае результатов стоит следить за согласованностью оценок разных респондентов.</p>"},"thirdBlockSecondParagraphHtml":{"et":"<h3></br></br>3b. KOGEMUSED KIUSAMISEGA</h3><p>Viimaste aastate erinevate suuremate uuringute põhjal on hinnanguliselt 20% Eesti põhikooliõpilastest viimase paari kuu või aasta jooksul kannatanud kiusamise all. Õpilastele esitati kiusamise seletus ja paluti hinnata kui s
1ageli nad viimase paari kuu jooksul on kiusamise ja täpsustavalt küberkiusamise all kannatanud ning kui sageli ise teisi kiusanud. Joonisel 3.3 on esitatud õpilaste protsendid, kes vastasid, et on kogenud kiusamist või ise kiusanud viimasel paaril kuul 2-3 korda või rohkem. Kiusamist kogenud õpilastel paluti vastata, kas nad on endaga toimuvast kellelegi rääkinud, tulemustes on esitatud kannatanud õpilaste protsent, kes ei ole sellest kellelegi rääkinud.</p>","ru":"<h3></br></br>3b. ОПЫТ С ТРАВЛЕЙ</h3><p>Согласно различным крупным опросам, проведенным в последние годы, примерно 20% эстонских учащихся основной школы подвергались издевательствам за последние несколько месяцев или год. Ученикам дали объяснение понятия травли и попросили оценить, как часто они подвергались травле и, в частности, кибертравле за последние несколько месяцев, и как часто они сами издевались над другими. На рис. 3.3 показан процент учащихся, ответивших, что они подвергались издевательствам или сами издевались 2-3 раза и более за последние несколько месяцев. Учеников, подвергшихся издевательствам, спросили, рассказывали ли они кому-нибудь о том, что с ними происходит, и в результатах показан процент учащихся, которые никому об этом не рассказали.</p>"},"thirdBlockSecondParagraphFirstDescriptionHtml":{"et":"<div>Kiusamise all kannatanud õpilastest &nbsp;</div>","ru":"<div></div>"},"thirdBlockSecondParagraphSecondDescriptionHtml":{"et":"<div>&nbsp; ei ole sellest kellelegi rääkinud.</div>","ru":"<div>&nbsp; yчеников, пострадавших от травли, никому об этом не рассказывали.</div>"},"thirdBlockThirdParagraphHtml":{"et":"<p>Ka lapsevanematelt paluti tagasisidet, kas ja millises rollis on tema laps(ed)  olnud kiusamisega seotud. Lapsevanem võis märkida mitu vastusevarianti, joonisel 3.4 on näidatud vastusevariante märkinud vanemate protsent. Samuti paluti õpetajatelt ja juhtkonnalt hinnata kui suur osa õpilastest on viimase paari kuu jooksul kiusamise all kannatanud. Protsendivahemikke valinute protsendid on toodud joonisel 3.5. Tasub hinnata, kui sarnased on täiskasvanute hinnangud õpilaste tulemustega. Tavapärane on, et täiskasvanud alahindavad kiusamise esinemissagedust, kuna suur osa kiusamisest toimub täiskasvanute eest varjatult.</p>","ru":"<p>Родителей также попросили высказать свое мнение о том, участвовал ли их ребенок (дети) в травле и в какой роли. Родитель мог указать несколько вариантов ответа, на рис. 3.4 показан процент родителей, отметивших варианты ответа. Учителей и администрацию также попросили оценить долю учащихся, подвергшихся издевательствам за последние несколько месяцев. Проценты тех, кто выбрал процентные диапазоны, показаны на рисунке 3.5. Стоит оценить, насколько оценки взрослых совпадают с результатами учащихся. Взрослые часто недооценивают случаи издевательств, поскольку большая часть издевательств скрыта от взрослых.</p>"},"thirdBlockFourthParagraphHtml":{"et":"<p>Õpilasel paluti vastata, kas nad teavad, kelle poole abi saamiseks pöörduda, kui on mure seoses kiu
1samisega ja vajavad abi. Tulemused on esitatud joonisel 3.6. Kui \'Jah\' vastanuid on oodatust vähem, võib põhjuseks olla õpilaste vähene informeeritus või ka nende jaoks usaldusväärsete ja turvaliste abistajate vähesus. Lisaks paluti õpilastel  märkida kõige suuremaid kiusamise ohukohti kooli keskkonnas. Joonisel 3.7 on esitatud igat valikut märkinud õpilaste protsent. Kõrge kiusaisohuga kohtades tuleks üle vaadata keskkonna turvalisemaks muutmise ja/või täiskasvanute järelvalve tõhustamise võimalused.</p>","ru":"<p>Учеников попросили ответить, знают ли они, к кому можно обратиться за помощью, если они обеспокоены издевательствами и нуждаются в помощи. Результаты показаны на рис. 3.6. Если количество ответивших «Да» ниже, чем ожидалось, это может быть связано с низкой информированностью учащихся или недостатком доверительных и безопасных помощников для них. Кроме того, учащихся просили указать места в школе с наибольшим риском травли. На рис. 3.7 показан процент учащихся, отметивших каждый вариант. В местах с высоким риском издевательств следует рассмотреть варианты повышения безопасности окружающей среды и/или усиления надзора со стороны взрослых.</p>"},"thirdBlockFifthParagraphHtml":{"et":"<p>Koolipere turvatunde juures on oluline märgata ka õpetajate endi kogemusi kiusamisega. Nii palutigi õpetajatel vastata, kui sageli viimase paari kuu jooksul nad on kogenud, et keegi teeb neile tahtlikult ja korduvalt halba ja seejuures on neil raske toimuvat peatada või ennast kaitsta.  Esitatud on viimase paari kuu jooksul 2-3 korda või rohkem kiusamist kogenud õpetajate protsent. Kiusamise all kannatanud õpetajatel paluti märkida, kelle poolt kiusamist kogeti, tulemused on esitatud joonisel 3.8.</p>","ru":"<p>Наряду с чувством безопасности школьной семьи важно также отметить собственный опыт учителей в отношении травли. Так, учителей попросили ответить, как часто они сталкивались за последние несколько месяцев с тем, что кто-то преднамеренно и неоднократно причинял им вред, который тяжело прекратить или защитить себя. Указан процент учителей, которые подвергались издевательствам 2-3 раза и более за последние несколько месяцев. Учителей, ставших жертвами травли, попросили указать, с чьей стороны они подвергались травле, результаты показаны на рис. 3.8.</p>"},"thirdBlockFifthParagraphDescriptionHtml":{"et":"<div>ÕPETAJATEST on viimase paari kuu jooksul kogenud kiusamist &nbsp;</div>","ru":"<div>УЧИТЕЛЕЙ подвергался травле за последние пару месяцев &nbsp;</div>"},"fourthParagraphHtml":{"et":"<h3></br></br>4. TÕHUS KIUSAMISE VÄHENDAMINE - KIUSUENNETUSE JUHTIMINE</h3><p>Koolis olulise kiusamise vähenemise saavutamiseks on tarvilik süsteemne lähenemine ja ennetustöö strateegiline juhtimine.</p><p>See tähendab:</p><li>turvalise, hooliva ja kiusamisvaba õppekeskkonna tagamine on prioriteetne teema (nt arengukavas, aastaplaanis);</li><li>koolis on olemas kiusuennetuse juhtgrupp, kes veab ennetustööd kogu koolis;</li><li>kooli kiusamise vähendamise põhimõtted ning seonduvad väärtushinnangud ja tegevused sisalduvad kooli dokumentides (arengukavas, õppekavas, kodukorras);</li><li>kokku on lepitud ja kirja pandud kiusamisjuhtumite lahendamise põhimõtted (nt ko
1dukorras);</li><li>koolis on olemas kiusuennetuseks vajalikud pädevused ja ressursid, personal on koolitatud, kättesaadav on tugispetsialistide abi koolis ja/või kogukonnas;</li><li>koolis on olemas kiusamise vähendamise tegevuskava või plaan ja seda rakendatakse aktiivselt.</li><p>Koolipere liikmetel paluti hinnata kiusamise vähendamise juhtimisega seotud aspekte terve rea väidete abil (õpetajad ja juhtkond 13 väidet, lapsevanemad 11 ja õpilased 8 väidet. Hinnanguid anti skaalal 0 = ei, 0,5 = mingil määral, 1 = jah; joonisel 4 on esitatud väitekomplektide keskmised hinnangud, mida kõrgem on skoor, seda parem. Lisaks sai valida vastusevariandi \'ei tea\', tulemuse ribal on esitatud \'ei tea\' vastuste protsent kõigist selle kategooria võimalikest vastustest. Mida suurem see protsent on, seda vähem on koolipere liikmed teadlikud kiusamise vähendamiseks tehtavast ja tuleks mõelda kommunikatsiooni tõhustamisele.</p>","ru":"<h3></br></br>4. ЭФФЕКТИВНОЕ УМЕНЬШЕНИЕ ТРАВЛИ - УПРАВЛЕНИЕ ПРЕДОТВРАЩЕНИЕМ ТРАВЛИ</h3><p>Системный подход и стратегическое управление профилактикой необходимы для достижения значительного сокращения травли в школе.</p><p>Это значит:</p><li>обеспечение безопасной, заботливой и свободной от травли учебной среды является приоритетом (например, в плане развития, годовом плане);</li><li>в школе есть руководящая группа по профилактике травли, которая проводит профилактическую работу по всей школе;</li><li>принципы снижения травли в школе и связанные с ними ценности и мероприятия включены в школьные документы (план развития, учебная программа,  правила внутреннего распорядка);</li><li>согласованы и изложены принципы разрешения случаев травли (например, в правилах внутреннего распорядка);</li><li>школа обладает компетенцией и ресурсами, необходимыми для профилактики травли, персонал обучен, и доступна поддержка опорных специалистов со стороны школы и/или сообщества;</li><li>в школе есть план действий или план по уменьшению травли и он активно реализуется.</li><p>Членов школьной семьи попросили оценить управленческие аспекты снижения издевательств, используя ряд утверждений (учителя и руководство 13 утверждений, родители 11 утверждений и ученики 8 утверждений). Оценки давались по шкале 0 = нет, 0,5 = в некоторой степени, 1 = да; на рисунке 4 показаны средние баллы наборов утверждений, чем выше балл, тем лучше. Кроме того, можно было выбрать вариант ответа «не знаю», рядом с рисунком показан процент ответов \'не знаю\' от всех возможных вариантов ответов. Чем выше этот процент, тем меньше члены школы осведомлены о том, что делается для уменьшения травли и необходимо продумать, как улучшить коммуникацию.</p>"},"fifthParagraphHtml":{"et":"<h3></br></br>5. TÕHUS KIUSAMISE VÄHENDAMINE - HINDAMINE JA ANALÜÜS</h3><p>Koolis olulise kiusamise vähenemise saavutamiseks on tarvilik kiusamisega seonduva hindamine ja analüüs, et täpsemalt määratleda sekkumiskohti ning hinnata tehtavate pingutuste tulemuslikkust.</p><p>Hindamine ja analüüs peaks olema:</p><li>koolipere liikmeid kaasav (nii õpilased, personal kui lapsevanemad);</li><li>regulaarselt toimuv, et kujuneks järjepidevus ja arusaam muutustest;</li><li>kogunenud tulemusi tuleks kooliperele tutvustada ja arendustegevustes kasutada.</li><p>Koolipere liikmetel paluti vastata kiusamisega seonduva hindamist ja analüüsi puudutavatele väidetele (õpetajad ja juhtkond 8 väidet, lapsevanemad 6 ja õpilased 3 väidet. Hinnanguid anti skaalal 0 = ei, 0,5 = mingil määral, 1 = jah; joonisel 5 on esitatud väitekomplektide keskmised hinnangud, mida kõrgem on skoor, seda parem. Lisaks sai valida vastusevariandi \'ei tea\', tulemuse ribal on esitatud \'ei tea\' vastuste protsent kõigist selle kategooria võimalikest vastustest. Mida suurem see protsent on, seda vähem on koolipere liikmed teadlikud hindamistegevustest kiusuennetuse heaks.</p>","ru":"<h3></br></br>5. ЭФФЕКТИВНОЕ УМЕНЬШЕНИЕ ТРАВЛИ - ОЦЕНКА И АНАЛИЗ</h3><p>Чтобы добиться значительного сокращения травли в школе, необходимы оценка и анализ травли, чтобы лучше определить области для вмешательства и оценить эффективность усилий.</p><p>Оценка и анализ должны быть:</p><li>включающие членов школьной семьи (учащиеся, сотрудники и родители);</li><li>регулярные, чтобы представлять последовательность и понимание изменений;</li><li>накопленные результаты необходимо представить школьной семье и использовать в развивающей деятельности.</li><p>Членов школьной семьи попросили ответить на утверждения, касающиеся оценки и анализа травли (учителя и руководство — 8 утверждений, родители — 6 утверждений, учащиеся — 3 утверждения). Оценки давались по шкале 0 = нет, 0,5 = в некоторой степени, 1 = да; На рисунке 5 показаны средние баллы наборов утверждений, чем выше балл, тем лучше. Кроме того, можно было выбрать вариант ответа «не знаю», рядом с рисунком показан процент ответов \'не знаю\' от всех возможных вариантов ответов. Чем выше этот процент, тем меньше учащиеся знают о мероприятиях по оценке профилактики травли.</p>"},"sixthFirstParagraphHtml":{"et":"<h3></br></br>6. TÕHUS KIUSAMISE VÄHENDAMINE - ENNETAMINE</h3><p>Kiusamist saab ja tuleb ennetada. Parimaid tulemusi annab kogu kooli hõlmav süsteemne ja järjepidev töö, mis sisaldab:<p><li>turvalise füüsilise keskkonna kujundamist, sh atraktiivsete ja turvaliste vaba aja veetmise võimaluste loomist ning kiusamisohtlike kohtade turvalisuse suurendamist;</li><li>tuvalise koolikultuuri kujundamist, sh head läbisaamist ja kokkukuuluvustunnet suurendavad traditsioonid ja tegevused, kokkulepped ja reeglid koostöise ning hooliva suhtluskliima jaoks, selged sõnumid kiusamise mittelubatavuse kohta ning iga õpilase turvatunde eest hoolitsemine;</li><li>
1õpilaste sotsiaal-emotsionaalse pädevuse toetamine õpetades suhtlus-, koostöö ja enesega toimetuleku oskusi;</li><li>lisaks veel ka kiusamise äratundmiseks ja sellele konstruktiivselt reageerimiseks vajalike teadmiste, oskuste ja hoiakute kujundamist nii õpilastel, personalil kui lapsevanematel, et olla ühises arusaamises ja leida probleemide korral kergemini ühine keel ja lahendused;</li><li>kiusamise ennetamise jaoks vajalikud pädevused on kirjeldatud ka kooli õppekavas ning nende kujundamine toimub planeeritult kogu õppeaasta jooksul;</li><li>kogu koolipere, sh õpilaste, õpetajate ja lapsevanemate kaasamist ja koostööd kiusuennetuse tegevuste planeerimisel ja läbiviimisel, õpilased on aktiivsed panustajad läbi õpilasomavalitsuse, tugiõpilasliikumise, omaalgatuse vmt kaudu;</li><li>koostöö kooli kogukonna ja seal leiduvate spetsialistide, nt politsei ja noorsootöötajatega ennetustegevustes.<p>Koolipere liikmetel paluti vastata kiusamise ennetamiseks tehtavat puudutavatele väidetele (õpetajad ja juhtkond 39 väidet, lapsevanemad 36 ja õpilased 35 väidet. Hinnanguid anti skaalal 0 = ei, 0,5 = mingil määral, 1 = jah; joonisel 6.1 on esitatud väitekomplektide keskmised hinnangud, mida kõrgem on skoor, seda parem. Lisaks sai valida vastusevariandi \'ei tea\', tulemuse ribal on esitatud \'ei tea\' vastuste protsent kõigist selle kategooria võimalikest vastustest. Mida suurem see protsent on, seda vähem on koolipere liikmed teadlikud koolis tehtava kiusuennetuse tegevustest ja põhimõtetest.</p>","ru":"<h3></br></br>6. ЭФФЕКТИВНОЕ УМЕНЬШЕНИЕ ТРАВЛИ - ПРЕДОТВРАЩЕНИЕ</h3><p>Травлю можно и нужно предотвратить. Наилучшие результаты достигаются за счет планомерной и последовательной работы по всей школе, которая включает в себя:<p><li>создание безопасной физической среды, в том числе создание привлекательных и безопасных мест для проведения досуга и повышение безопасности мест с высокой степенью вероятности возникновения травли;</li><li>развитие школьной культуры, включающей традиции и занятия, договоренности и правила сотрудничества и доброжелательный климат общения, с четкими посылами о недопустимости травли и чувством безопасности для каждого ученика;</li><li>поддержка социальных и эмоциональных знаний учащихся путем обучения навыкам общения, сотрудничества и самоуправления;</li><li>кроме того, развитие знаний, навыков и отношений, необходимых учащимся, персоналу и родителям, чтобы распознавать травлю и реагировать на нее конструктивным образом, чтобы иметь общее понимание и легче находить точки соприкосновения и решения проблем;</li><li>знания, необходимые для предотвращения травли, также описаны в школьной программе и планируются в течение учебного года;</li><li>вовлечение и сотрудничество всей школьной семьи, включая учащихся, учителей и родителей в планировании и проведении мероприятий по профилактике травли, учащиеся вносят активный вклад через учебное самоуправление, поддерживают учебное опорное движение, собственную инициативу и т.д.;</li><li>сотрудничество со школьным сообществом и специалистами, такими как полиция и молодежные работники, в профилактических мероприятиях.<p>Членов школьной семьи попросили ответить на утверждения, касающиеся предотвращения травли (учителя и руководство — 39 утверждений, родители — 3556 утверждений, учащиеся — 35 утверждений). Оценки давались по шкале 0 = нет, 0,5 = в некоторой степени, 1 = да; На рисунке 6.1 показаны средние баллы наборов утверждений, чем выше балл, тем лучше. Кроме того, можно было выбрать вариант ответа «не знаю», рядом с рисунком показан процент ответов \'не знаю\' от всех возможных вариантов ответов. Чем выше этот процент, тем меньше члены школьной семьи осведомлены о мероприятиях и принципах профилактики травли в школе.</p>"},"sixthSecondParagraphHtml":{"et":"<p>Teadusuuringud on näidanud, et kiusamise ärahoidmisele aitab oluliselt kaasa see, mida paremad on koolipere liikmete teadmised kiusamisest ja sellega seonduvast. Nii palutigi kõigil vastajatel hinnata, mil määral on nad õppinud kiusamise ennetamiseks vajalikke teadmisi ja oskusi (7 väidet).  Hinnanguid anti skaalal 0 = ei, 0,5 = mingil määral, 1 = jah; joonisel 6.2 on esitatud väidetele antud keskmised hinnangud, mida kõrgem on skoor, seda parem. Lisaks sai valida vastusevariandi \'ei tea\', tulemuse ribal on esitatud \'ei tea\' vastuste protsent kõigist selle kategooria võimalikest vastustest.</p>","ru":"<p>Исследования показали, что чем лучше члены школьной семьи осведомлены о травле и связанных с ней проблемах, тем эффективнее можно предотвратить травлю. Таким образом, всем респондентам было предложено оценить, в какой степени они приобрели знания и навыки, необходимые для предотвращения травли (7 утверждений). Оценки давались по шкале 0 = нет, 0,5 = в некоторой степени, 1 = да; На рисунке 6.2 показаны средние баллы наборов утверждений, чем выше балл, тем лучше. Кроме того, можно было выбрать вариант ответа «не знаю», рядом с рисунком показан процент ответов \'не знаю\' от всех возможных вариантов ответов.</p>"},"seventhFirstParagraphHtml":{"et":"<h3></br></br>7. TÕHUS KIUSAMISE VÄHENDAMINE - KIUSAMISJUHTUMITE LAHENDAMINE</h3><p>Kahjuks ei õnnestu ka kõige tõhusama ennetustööga ära hoida kõiki kiusamisjuhtumeid. Kiusamine ei ole kunagi laste vaheline asi, see on alati täiskasvanute asi ja vajab sekkumist. Kiusamisjuhtumi ilmnemisel on väga oluline osata seda tõhusalt lahendada. On hea, kui personal on saanud selleks vajaliku väljaõppe, koolis on olemas teadmised selle kohta mid
1a on mõistlik kiusamisjuhtumi lahendamiseks teha (nt teadus- ja tõenduspõhised sekkumistegevused) või mis võib olla kasutu või suisa ohtlik. Kooli praktikad kiusamisjuhtumite lahendamise võiks olla kirjalikult fikseeritud ja koolipere liikmetele teatavaks tehtud ning kättesaadavad (nt kodukorras). Kiusamisjuhtumite lahendamisel on oluline:</p><li>julgustada õpilasi juhtumitest rääkima ning pakkuda erinevaid turvalisi viise juhtumitest märku andmiseks;</li><li>tagada kõigi osapoolte heaolu ja turvatunde taastamine ning hoiduda lisatraumade tekitamisest, näiteks vesteldakse esmalt iga osapoolega eraldi ja kokku kutsutakse osapooled ainult siis, kui kannatanud pool selleks valmis on ja turvalisus on tagatud;</li><li>kannatanul on võimalik saada individuaalset tuge;</li><li>juhtumite lahendamisel kasutatakse ennekõike lahendustele ja koostöö taastamisele suunatud praktikaid, keerulisemate juhtumite puhul võib kõne alla tulla ka tõsisemate sekkumiste kasutamine (sh õigusrikkumise tunnustega juhtumi korral politsei kaasamine);</li><li>kaasõpilaste kaasamine juhtumi lõpetamisse kannatanud õpilase toetajatena, positiivsete suhete soodustajatena;</li><li>lapsevanemate teavitamine juhtumist ja selle lahendamiseks tehtavast, nõustamine oma lapse toetamiseks kiusamise lõpetamise teekonnal, vajadusel vanemate kaasamine protsessi, kui ainult lastega lahendamine mingil põhjusel ei õnnestu;</li><li>tihe koostöö õpetajate vahel kolleegi toetamiseks, aga ka toimunud kiusamise kohta rohkema info saamiseks ning lahendusprotsessi tulemuslikkuse jälgimiseks.</li><p>Oluline on ka see, et kooli teavitaks nii personali, lapsevanemaid kui õpilasi kiusamise korral täiendavatest abi saamise võimalustest kohalikest nõustamiskeskustest või politseist.</p><p>Koolipere liikmetel paluti vastata kiusamisjuhtumite lahendamiseks tehtavat puudutavatele väidetele (õpetajad ja juhtkond 32 väidet, lapsevanemad 28 ja õpilased 21 väidet. Hinnanguid anti skaalal 0 = ei, 0,5 = mingil määral, 1 = jah; joonisel 7.1 on esitatud väitekomplektide keskmised hinnangud, mida kõrgem on skoor, seda parem. Lisaks sai valida vastusevariandi \'ei tea\', tulemuse ribal on esitatud \'ei tea\' vastuste protsent kõigist selle kategooria võimalikest vastustest. Mida suurem see protsent on, seda vähem on koolipere liikmed teadlikud koolis kiusamisjuhtumite lahendamise tegevustest ja põhimõtetest.</p>","ru":"<h3></br></br>7. ЭФФЕКТИВНОЕ УМЕНЬШЕНИЕ ТРАВЛИ - РАЗРЕШЕНИЕ СЛУЧАЕВ ТРАВЛИ</h3><p>К сожалению, даже самая эффективная профилактика не предотвращает все случаи травли. Запугивание никогда не было делом детей, это всегда дело взрослых и требует вмешательства. Когда происходит случай травли, очень важно уметь эффективно его разрешить. Хорошо, если сотрудники прошли необходимую подготовку, школа знает, что разумно делать в случае травли (например, научнообоснованная деятельность по вмешательству), а что может быть бесполезным или даже опасным. Практика травли в школе могла бы быть зафиксирована в письменной форме и доступна членам школьной семьи (например, правила внутреннего распорядка). При разрешении случаев травли важно:</p><li>побуждать учащихся рассказывать о происшествиях и предлагать различные безопасные способы сообщения о происшествиях;</li><li>обеспечить восстановление благополучия и безопасности всех сторон и недопущение дальнейших травм, например, путем предварительного опроса каждой из сторон отдельно и созыва сторон только тогда, когда пострадавшая сторона будет готова и будет обеспечена безопасность;</li><li>пострадавший может получить индивидуальную поддержку;</li><li>для разрешения дел используется прецедентное право и практика возобновления сотрудничества, в более сложных случаях может рассматриваться применение более серьезных мер вмешательства (в том числе привлечение полиции в случае правонарушения);</li><li>привлечение одноклассников в качестве сторонников пострадавшего ученика и инициаторов позитивных отношений;</li><li>информирование родителей о происшествии и о том, что делается для его разрешения, консультирование их ребенка на пути Ð
1º прекращению травли, вовлечение родителей в процесс при необходимости, если по каким-то причинам не удается его решить только с помощью детей;</li><li>тесное сотрудничество между учителями для поддержки коллеги, а также для получения дополнительной информации о имевших место издевательствах и для контроля за эффективностью процесса разрешения. Также важно, чтобы школа информировала персонал, родителей и учеников о возможности получения дополнительной помощи в местных консультационных центрах или полиции.</p><p>Членов школьной семьи попросили ответить на утверждения о том, что делается для разрешения случаев травли. учителя и рукоовдство 32 утверждения, родители 28 и ученики 21 утверждение). Оценки давались по шкале 0 = нет, 0,5 = в некоторой степени, 1 = да; На рисунке 7.1 показаны средние баллы наборов утверждений, чем выше балл, тем лучше. Кроме того, можно было выбрать вариант ответа «не знаю», рядом с рисунком показан процент ответов \'не знаю\' от всех возможных вариантов ответов. Чем выше этот процент, тем меньше члены школьной семьи осведомлены о методах и принципах разрешения случаев травли.</p>"},"seventhSecondParagraphHtml":{"et":"<p>Aegajalt on koolides siiski juhtumite lahendamisel kasutusel tegevusi, mis on kasutud või suisa kahjulikud. Küsitluse raames paluti vastajatel hinnata, millisel määral on koolis kasutusel järgmised probleemsed sekkumistegevused:</p><li>kiusaja karistamine või teda grupist tõrjuvad tegevused ilma koostööd taastava lahenduse otsimiseta</li><li>kiusajate grupinõustamine, mis on suure kiusavalt käituvate õpilaste vastastikuse võimendamise ja kampade moodustamise riskiga;</li><li>lahendamise jätmine õpilaste endi või nende vanemate vastutuseks;</li><li>kiusajate ja kannataja(te) vastandamine ja üksteise ees üle kuulamine, see võib olla väga traumeeriv kogemus ja ei võimalda avatust koostööle.</li><p>Koolipere liikmetel paluti hinnata teiste tegevuste seas ka probleemsete sekkumistegevuste kasutust (kõigil 6 väidet). Hinnanguid anti skaalal 0 = ei, 0,5 = mingil määral, 1 = jah; joonisel 5 on esitatud väitekomplektide keskmised hinnangud, mida kõrgem on skoor, seda tõsisemalt peaks sekkumistegevused üle vaatama ja võimalikud kahju tekitavad tegevused kõrvale jätma. Lisaks sai valida vastusevariandi \'ei tea\', tulemuse ribal on esitatud \'ei tea\' vastuste protsent kõigist selle kategooria võimalikest vastustest. Mida suurem see protsent on, seda vähem on koolipere liikmed teadlikud koolis kiusamisjuhtumite lahendamise tegevustest ja põhimõtetest.</p>","ru":"<p>Однако время от времени в школах для разрешения случаев травли применяются действия, которые бесполезны или даже вредны. В ходе опроса респондентов просили оценить, в какой степени в школе используются следующие проблемные вмешательства:</p><li>наказание зачинщика или исключение его из группы без поиска решения, восстанавливающего сотрудничество;</li><li>групповое консультирование зачинщиков, которое несет в себе высокий риск усиления травли и образования группировок;</li><li>оставление разрешения случая травли под ответственность самих учеников или их родителей;</li><li>противостояние и допрос зачинщика(ов) и жертвы (жертв) друг перед другом может стать очень травмирующим опытом и не способствует открытому сотрудничеству.</li><p>Членов школьной семьи попросили оценить, среди прочего, использование проблемных вмешательств (у всех 6 утверждений). Оценки давались по шкале 0 = нет, 0,5 = в некоторой степени, 1 = да; На рисунке 5 показаны средние баллы наборов утверждений, чем выше балл, тем серьезнее надо пересмотреть действия по вмешательству и исключить возможную вредоносную деятельность. Кроме того, можно было выбрать вариант ответа «не знаю», рядом с рисунком показан процент ответов \'не знаю\' от всех возможных вариантов ответов. Чем выше этот процент, тем меньше члены школьной семьи осведомлены о методах и принципах разрешения случаев травли.</p>"},"endingTextParagraphHtml":{"et":"<p>Käesolevast raportist saab ülevaate kiusamise ja selle vähendamisega seonduvast hetkeolukorrast, kiusuennetuse juhtimise ja korraldusega, hindamise ja analüüsiga seonduvast, kiusamise ennetamiseks ja juhtumite lahendamiseks tehtavast.  Tulemustega tutvumise järel võiks mõelda:</p><li>1) Millised tulemused olid ootamatud või üllatavad?</li><li>2) Milliste tulemustega võib rahule jääda, millised kiusamise vähendamise valdkonnad toimivad juba praegu hästi?</li><li>3) Millised valdkonnad vajavad rohkem tähelepanu ja lahendamist?</li>","ru":"<p>В этом отчете представлен обзор текущего состояния травли и ее уменьшения, управления и организации предотвращения травли, оценки и анализа, а также предотвращения и пресечения случаев травли. После ознакомления с результататами подумайте о следующем:</p><li>1) Какие результаты были неожиданными или вызвавшими удивление?</li><li>2) Какими результатами можно быть удовлетворенными, какие направления по снижению травли уже хорошо работают?</li><li>3) Какие области требуют большего внимания и разрешения?</li>"}}'),Or={student:{et:"Õpilased",ru:"Yченик"},parent:{et:"Lapsevanemad",ru:"Pодитель"},teacher:{et:"Õpetajad",ru:"Yчителя"},principal:{et:"Juhtkond",ru:"Pуководство"},dontKnow:{et:"Ei oska öelda: ",ru:"не могу ответить: "},firstBlockTableTitle:{et:"1. VASTAJAD",ru:"1. РЕСПОНДЕНТЫ"},firstBlockStudents:{et:"ÕPILASI KOKKU",ru:"УЧЕНИКОВ ВСЕГО"},firstBlockFirstSchoolLevel:{et:"sh I kooliastmest",ru:"в тч в I школьной ступени"},firstBlockSecondSchoolLevel:{et:"sh II kooliastmest",ru:"в тч во II школьной ступени"},firstBlockThirdSchoolLevel:{et:"sh III kooliastmest",ru:"в тч в III школьной ступени"},firstBlockParents:{et:"LAPSEVANEMAID",ru:"РОДИТЕЛЕЙ"},firstBlockTeachers:{et:"ÕPETAJAID",ru:"УЧИТЕЛЕЙ"},firstBlockPrincipals:{et:"JUHTKONNA LIIKMEID",ru:"ЧЛЕНОВ УПРАВЛЕНИЯ"},secondBlockDiagramTitle:{et:"2. Turvalisus, heaolu ja sallivus õpilaste hulgas",ru:"2. Безопасность, благополучие и толерантность среди учеников"},secondBlockDiagramLabels:{et:["2.1 Turvalisus ja heaolu","2.2 Sallivus"],ru:["2.1 Turvalisus ja heaolu","2.2 Sallivus"]},thirdBlockFirstDiagramTitle:{et:"3.1 Kui suur probleem on kiusamine meie koolis?",ru:"3.1 Насколько велика проблема травли в нашей школе?"},thirdBlockSecondDiagramTitle:{et:"3.2 Rahulolu kiusamise ennetamiseks ja juhtumite lahendamiseks",ru:"3.2 Удовлетворенность предотвращением и разрешением случаев издевательств"},thirdBlockSecondDiagramLabels:{et:["3.2 Rahul ennetusega",["3.3 Rahul juhtumite","lahendamisega"]],ru:["3.2 Rahul ennetusega",["3.3 Rahul juhtumite","lahendamisega"]]},thirdBlockThirdDiagramTitle:{et:"3.3 Õpilase kogemused kiusamisega viimasel kuul",ru:"3.3 Опыт учеников с травлей за последнюю пару месяцев"},thirdBlockThirdDiagramLabels:{et:["Kogenud kiusamist","Kogenud küberkiusamist","Ise kiusanud"],ru:["Kogenud kiusamist","Kogenud küberkiusamist","Ise kiusanud"]},thirdBlockFourthDiagramTitle:{et:"3.4 Lapsevanema hinnangul on laps olnud kiusamisega seotud",ru:"3.4 По оценке родителя, ребенок участвовал в издевательствах:"},thirdBlockFourthDiagramLabels:{et:["ei ole","jah, teda on kiusatud","jah, ta on teisi kiusanud","
1jah, ta on olnud pealtnägija","ei tea"],ru:["нет","да, он его травили","да, он был зачинщиком травли","да, он был свидетелем","не знаю"]},thirdBlockFifthDiagramTitle:{et:"3.5 Hinnang sellele, kui palju õpilasi kannatab kiusamise all",ru:"3.5 Оценка того, сколько учеников подвергается травле"},thirdBlockSixthDiagramTitle:{et:"3.6 ÕPILASED: Teavad abi saamise võimalusi kiusamise korral",ru:"3.6 УЧЕНИКИ: Знают о возможных способах получения помощи в школе в случае травли"},thirdBlockSixthDiagramLabels:{et:["jah","ei ole kindel","ei"],ru:["да","Не уверен","нет"]},thirdBlockSeventhDiagramTitle:{et:"3.7 ÕPILASED: Millistes kohtades koolis toimub kõige rohkem kiusamist",ru:"3.7 УЧЕНИКИ: В каких местах в школе происходит больше всего издевательств"},thirdBlockSeventhDiagramLabels:{et:["klassis","koridoris","võimlas",["garderoobides/","riietusruumides"],"sööklas","õuealal","mujal"],ru:["в классе","в коридоре","в спортивном зале","в гардеробе","в столовой","на улице","в другом месте"]},thirdBlockEighthDiagramTitle:{et:"3.8 Kelle poolt on õpetajad kiusamist kogenud",ru:"3.8 Kelle poolt on õpetajad kiusamist kogenud"},thirdBlockEighthDiagramLabels:{et:["õpilased","teised õpetajad","muud koolitöötajad","lapsevanemad","muu..."],ru:["ученики","другие учителя","другие работники школы","родители","кто-то другой..."]},fourthBlockDiagramTitle:{et:"4. Kiusuennetuse juhtimine",ru:"4. Управление профилактикой травли"},fourthBlockDiagramLabels:{et:["4.1 Strateegiliselt juhitud","4.2 Toimub planeeritult"],ru:["4.1 Strateegiliselt juhitud","4.2 Toimub planeeritult"]},fifthBlockDiagramTitle:{et:"5. Kiusamisega seonduva hindamine ja analüüs koolis",ru:"5. Оценка и анализ травли в школе"},fifthBlockDiagramLabels:{et:["5.1 Kaasav","5.2 Regulaarne","5.3 Tulemusi kasutatakse"],ru:["5.1 Kaasav","5.2 Regulaarne","5.3 Tulemusi kasutatakse"]},sixthBlockFirstDiagramTitle:{et:"6.1 Kiusamise ennetamiseks tehtav",ru:"6.1 Чтобы предотвратить травлю"},sixthBlockFirstDiagramLabels:{et:[["6.1 Turvalise füüsilise","keskkonna kujundamine"],["6.2 Turvalise koolikultuuri","kujundamine"],["6.3 Õpilaste SE-pädevuse","toetamine"],["6.4 Õpilaste kiusuennetuse","pädevuse toetamine"],["6.5 Õpetajate teadmised,","oskused, hoiakud"],["6.6 Lapsevanemate","teadmised,","oskused, hoiakud"],["6.7 Õpilaste kaasamine","ja koostöö"],["6.8 Personali kaasamine","ja koostöö"],["6.9 Vanemate kaasamine","ja koostöö"],["6.10 Kogukonna kaasamine","ja koostöö"]],ru:[["6.1 Turvalise füüsilise","keskkonna kujundamine"],["6.2 Turvalise koolikultuuri","kujundamine"],["6.3 Õpilaste SE-pädevuse","toetamine"],["6.4 Õpilaste kiusuennetuse","pädevuse toetamine"],["6.5 Õpetajate teadmised,","oskused, hoiakud"],["6.6 Lapsevanemate","teadmised,","oskused, hoiakud"],["6.7 Õpilaste kaasamine","ja koostöö"],["6.8 Personali kaasamine","ja koostöö"],["6.9 Vanemate kaasamine","ja koostöö"],["6.10 Kogukonna kaasamine","ja koostöö"]]},sixthBlockSecondDiagramTitle:{et:"6.2 On õppinud",ru:"6.2 УСВОИЛ"},sixthBlockSecondDiagramLabels:{et:[["A) Mis on kiusamine","sh küberkiusamine"],["B) Kuidas kiusamist","märgata"],["C) Millised on","kiusamise tagajärjed"],["D) Kuidas kiusamist","tõhusalt peatada"],["E) Kuidas toetada","terveid ja turvalisi","suhteid lastel"],["F) Kuidas toetada","turvalist","internetikasutust lastel"],["G) Kust saab","usaldusväärset","infot ja abi"]],ru:[["A) Mis on kiusamine","sh küberkiusamine"],["B) Kuidas kiusamist","märgata"],["C) Millised on","kiusamise tagajärjed"],["D) Kuidas kiusamist","tõhusalt peatada"],["E) Kuidas toetada","terveid ja turvalisi","suhteid lastel"],["F) Kuidas toetada","turvalist","internetikasutust lastel"],["G) Kust saab","usaldusväärset","infot ja abi"]]},seventhBlockFirstDiagramTitle:{et:"7.1 Tegevused juhtumite lahendamisel",ru:"7.1 Tegevused juhtumite lahendamisel"},seventhBlockFirstDiagramLabels:{et:[["7.1 Personali pädevus","märkamiseks","ja sekkumiseks"],["7.2 Kasutusel tõhusad","sekkumistegevused"],["7.3 Koostöö","lapsevanematega"],["7.4 Koostöö","personali hulgas"],["7.5 Teavitus ja","teadlikkus abi","saamise võimalustest"]],ru:[["7.1 Personali pädevus","märkamiseks","ja sekkumiseks"],["7.2 Kasutusel tõhusad","sekkumistegevused"],["7.3 Koostöö","lapsevanematega"],["7.4 Koostöö","personali hulgas"],["7.5 Teavitus ja","teadlikkus abi","saamise võimalustest"]]},seventhBlockSecondDiagramTitle:{et:"7.2 Kasutusel probleemsed sekkumistegevused",ru:"7.2 Используемые действия по вмешательству"}};ba.register(...Qo);const Rr=document.getElementById("kiva-raportid");document.body.contains(Rr)&&o().render((0,t.createElement)(n().StrictMode,null,(0,t.createElement)((()=>{var i,n,a;const[o,s]=(0,e.useState)(null),[l,c]=(0,e.useState)(null),[d,u]=(0,e.useState)(null),[h,f]=(0,e.useState)(null),[p,b]=(0,e.useState)(null),g=Cr,m=Or,v=window.location.search,x=new URLSearchParams(v),y=x.get("kool")||"",k=x.get("lang")||"et";(0,e.useEffect)((()=>{fetch(`${location.protocol}//${location.host}/wp-json/kiva/v1/report/${y}`).then((t=>t.json())).then((t=>{s(t)})),fetch(`${location.protocol}//${location.host}/wp-json/kiva/v1/data/student`).then((t=>t.json())).then((t=>{c(t)})),fetch(`${location.protocol}//${location.host}/wp-json/kiva/v1/data/parent`).then((t=>t.json())).then((t=>{u(t)})),fetch(`${location.protocol}//${location.host}/wp-json/kiva/v1/data/teacher`).then((t=>t.json())).then((t=>{f(t)})),fetch(`${location.protocol}//${location.host}/wp-json/kiva/v1/data/principal`).then((t=>t.json())).then((t=>{b(t)}))}),[]);const _={student:l,parent:d,teacher:h,principal:p},{schoolName:w}=js(o,_);return(0,t.createElement)(t.Fragment,null,r(null===(i=g.headlineHtml)||void 0===i?void 0:i[k]),r(null===(n=g.schoolHtml)||void 0===n?void 0:n[k]),(0,t.createElement)("h3",null,w),(0,t.createElement)(Ps,{schoolAdminReportData:o,templatesByType:_,report:g,languageType:k,translations:m}),(0,t.createElement)(Vs,{schoolAdminReportData:o,templatesByType:_,report:g,languageType:k,translations:m}),(0,t.createElement)(qs,{schoolAdminReportData:o,templatesByType:_,report:g,languageType:k,translations:m}),(0,t.createElement)(wr,{schoolAdminReportData:o,templatesByType:_,report:g,languageType:k,translations:m}),(0,t.createElement)(Sr,{schoolAdminReportData:o,templatesByType:_,report:g,languageType:k,translations:m}),(0,t.createElement)(jr,{schoolAdminReportData:o,templatesByType:_,report:g,languageType:k,translations:m}),(0,t.createElement)(Pr,{schoolAdminReportData:o,templatesByType:_,report:g,languageType:k,translations:m}),(0,t.createElement)("div",{className:"endingTextParagraphHtml"},r(null===(a=g.endingTextParagraphHtml)||void 0===a?void 0:a[k])))}),null)),Rr)}()}();

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.