PageSourceSearch

https://elaborate-blancmange-d86bd9.netlify.app/lib/rise/61bd4112.js

js elaborate-blancmange-d86bd9.netlify.app collected 2026-10-03 10:41:26 UTC 12,919 bytes, 7 lines download raw bytes

vendor: 12,919 bytes, lines 1-7
1"use strict";(globalThis.wpRiseJsonp||=[]).push([["defaultVendors-node_modules_pnpm_chartjs-plugin-datalabels_2_2_0_chart_js_4_5_1_node_modules_-d80483"],{30614(_r,T,w){w.r(T),w.d(T,{default:()=>hr});var v=w(43636),g=w(30467);/*!
2 * chartjs-plugin-datalabels v2.2.0
3 * https://chartjs-plugin-datalabels.netlify.app
4 * (c) 2017-2022 chartjs-plugin-datalabels contributors
5 * Released under the MIT license
6 */var $=(function(){if(typeof window<"u"){if(window.devicePixelRatio)return window.devicePixelRatio;var r=window.screen;if(r)return(r.deviceXDPI||1)/(r.logicalXDPI||1)}return 1})(),b={toTextLines:function(r){var t=[],e;for(r=[].concat(r);r.length;)e=r.pop(),typeof e=="string"?t.unshift.apply(t,e.split(`
7`)):Array.isArray(e)?r.push.apply(r,e):(0,v.k)(r)||t.unshift(""+e);return t},textSize:function(r,t,e){var a=[].concat(t),i=a.length,n=r.font,o=0,l;for(r.font=e.string,l=0;l<i;++l)o=Math.max(r.measureText(a[l]).width,o);return r.font=n,{height:i*e.lineHeight,width:o}},bound:function(r,t,e){return Math.max(r,Math.min(t,e))},arrayDiff:function(r,t){var e=r.slice(),a=[],i,n,o,l;for(i=0,o=t.length;i<o;++i)l=t[i],n=e.indexOf(l),n===-1?a.push([l,1]):e.splice(n,1);for(i=0,o=e.length;i<o;++i)a.push([e[i],-1]);return a},rasterize:function(r){return Math.round(r*$)/$}};function C(r,t){var e=t.x,a=t.y;if(e===null)return{x:0,y:-1};if(a===null)return{x:1,y:0};var i=r.x-e,n=r.y-a,o=Math.sqrt(i*i+n*n);return{x:o?i/o:0,y:o?n/o:-1}}function X(r,t,e,a,i){switch(i){case"center":e=a=0;break;case"bottom":e=0,a=1;break;case"right":e=1,a=0;break;case"left":e=-1,a=0;break;case"top":e=0,a=-1;break;case"start":e=-e,a=-a;break;case"end":break;default:i*=Math.PI/180,e=Math.cos(i),a=Math.sin(i);break}return{x:r,y:t,vx:e,vy:a}}var K=0,D=1,W=2,j=4,B=8;function k(r,t,e){var a=K;return r<e.left?a|=D:r>e.right&&(a|=W),t<e.top?a|=B:t>e.bottom&&(a|=j),a}function J(r,t){for(var e=r.x0,a=r.y0,i=r.x1,n=r.y1,o=k(e,a,t),l=k(i,n,t),s,u,d;!(!(o|l)||o&l);)s=o||l,s&B?(u=e+(i-e)*(t.top-a)/(n-a),d=t.top):s&j?(u=e+(i-e)*(t.bottom-a)/(n-a),d=t.bottom):s&W?(d=a+(n-a)*(t.right-e)/(i-e),u=t.right):s&D&&(d=a+(n-a)*(t.left-e)/(i-e),u=t.left),s===o?(e=u,a=d,o=k(e,a,t)):(i=u,n=d,l=k(i,n,t));return{x0:e,x1:i,y0:a,y1:n}}function M(r,t){var e=t.anchor,a=r,i,n;return t.clamp&&(a=J(a,t.area)),e==="start"?(i=a.x0,n=a.y0):e==="end"?(i=a.x1,n=a.y1):(i=(a.x0+a.x1)/2,n=(a.y0+a.y1)/2),X(i,n,r.vx,r.vy,t.align)}var E={arc:function(r,t){var e=(r.startAngle+r.endAngle)/2,a=Math.cos(e),i=Math.sin(e),n=r.innerRadius,o=r.outerRadius;return M({x0:r.x+a*n,y0:r.y+i*n,x1:r.x+a*o,y1:r.y+i*o,vx:a,vy:i},t)},point:function(r,t){var e=C(r,t.origin),a=e.x*r.options.radius,i=e.y*r.options.radius;return M({x0:r.x-a,y0:r.y-i,x1:r.x+a,y1:r.y+i,vx:e.x,vy:e.y},t)},bar:function(r,t){var e=C(r,t.origin),a=r.x,i=r.y,n=0,o=0;return r.horizontal?(a=Math.min(r.x,r.base),n=Math.abs(r.base-r.x)):(i=Math.min(r.y,r.base),o=Math.abs(r.base-r.y)),M({x0:a,y0:i+o,x1:a+n,y1:i,vx:e.x,vy:e.y},t)},fallback:function(r,t){var e=C(r,t.origin);return M({x0:r.x,y0:r.y,x1:r.x+(r.width||0),y1:r.y+(r.height||0),vx:e.x,vy:e.y},t)}},_=b.rasterize;function V(r){var t=r.borderWidth||0,e=r.padding,a=r.size.height,i=r.size.width,n=-i/2,o=-a/2;return{frame:{x:n-e.left-t,y:o-e.top-t,w:i+e.width+t*2,h:a+e.height+t*2},text:{x:n,y:o,w:i,h:a}}}function Q(r,t){var e=t.chart.getDatasetMeta(t.datasetIndex).vScale;if(!e)return null;if(e.xCenter!==void 0&&e.yCenter!==void 0)return{x:e.xCenter,y:e.yCenter};var a=e.getBasePixel();return r.horizontal?{x:a,y:null}:{x:null,y:a}}function Y(r){return r instanceof g.ArcElement?E.arc:r instanceof g.PointElement?E.point:r instanceof g.BarElement?E.bar:E.fallback}function Z(r,t,e,a,i,n){var o=Math.PI/2;if(n){var l=Math.min(n,i/2,a/2),s=t+l,u=e+l,d=t+a-l,f=e+i-l;r.moveTo(t,u),s<d&&u<f?(r.arc(s,u,l,-Math.PI,-o),r.arc(d,u,l,-o,0),r.arc(d,f,l,0,o),r.arc(s,f,l,o,Math.PI)):s<d?(r.moveTo(s,e),r.arc(d,u,l,-o,o),r.arc(s,u,l,o,Math.PI+o)):u<f?(r.arc(s,u,l,-Math.PI,0),r.arc(s,f,l,0,Math.PI)):r.arc(s,u,l,-Math.PI,Math.PI),r.closePath(),r.moveTo(t,e)}else r.rect(t,e,a,i)}function q(r,t,e){var a=e.backgroundColor,i=e.borderColor,n=e.borderWidth;!a&&(!i||!n)||(r.beginPath(),Z(r,_(t.x)+n/2,_(t.y)+n/2,_(t.w)-n,_(t.h)-n,e.borderRadius),r.closePath(),a&&(r.fillStyle=a,r.fill()),i&&n&&(r.strokeStyle=i,r.lineWidth=n,r.lineJoin="miter",r.stroke()))}function rr(r,t,e){var a=e.lineHeight,i=r.w,n=r.x,o=r.y+a/2;return t==="center"?n+=i/2:(t==="end"||t==="right")&&(n+=i),{h:a,w:i,x:n,y:o}}function er(r,t,e){var a=r.shadowBlur,i=e.stroked,n=_(e.x),o=_(e.y),l=_(e.w);i&&r.strokeText(t,n,o,l),e.filled&&(a&&i&&(r.shadowBlur=0),r.fillText(t,n,o,l),a&&i&&(r.shadowBlur=a))}function ar(r,t,e,a){var i=a.textAlign,n=a.color,o=!!n,l=a.font,s=t.length,u=a.textStrokeColor,d=a.textStrokeWidth,f=u&&d,y;if(!(!s||!o&&!f))for(e=rr(e,i,l),r.font=l.string,r.textAlign=i,r.textBaseline="middle",r.shadowBlur=a.textShadowBlur,r.shadowColor=a.textShadowColor,o&&(r.fillStyle=n),f&&(r.lineJoin="round",r.lineWidth=d,r.strokeStyle=u),y=0,s=t.length;y<s;++y)er(r,t[y],{stroked:f,filled:o,w:e.w,x:e.x,y:e.y+e.h*y})}var z=function(r,t,e,a){var i=this;i._config=r,i._index=a,i._model=null,i._rects=null,i._ctx=t,i._el=e};(0,v.a4)(z.prototype,{_modelize:function(r,t,e,a){var i=this,n=i._index,o=(0,v.a0)((0,v.a)([e.font,{}],a,n)),l=(0,v.a)([e.color,g.defaults.color],a,n);return{align:(0,v.a)([e.align,"center"],a,n),anchor:(0,v.a)([e.anchor,"center"],a,n),area:a.chart.chartArea,backgroundColor:(0,v.a)([e.backgroundColor,null],a,n),borderColor:(0,v.a)([e.borderColor,null],a,n),borderRadius:(0,v.a)([e.borderRadius,0],a,n),borderWidth:(0,v.a)([e.borderWidth,0],a,n),clamp:(0,v.a)([e.clamp,!1],a,n),clip:(0,v.a)([e.clip,!1],a,n),color:l,display:r,font:o,lines:t,offset:(0,v.a)([e.offset,4],a,n),opacity:(0,v.a)([e.opacity,1],a,n),origin:Q(i._el,a),padding:(0,v.E)((0,v.a)([e.padding,4],a,n)),positioner:Y(i._el),rotation:(0,v.a)([e.rotation,0],a,n)*(Math.PI/180),size:b.textSize(i._ctx,t,o),textAlign:(0,v.a)([e.textAlign,"start"],a,n),textShadowBlur:(0,v.a)([e.textShadowBlur,0],a,n),textShadowColor:(0,v.a)([e.textShadowColor,l],a,n),textStrokeColor:(0,v.a)([e.textStrokeColor,l],a,n),textStrokeWidth:(0,v.a)([e.textStrokeWidth,0],a,n)}},update:function(r){var t=this,e=null,a=null,i=t._index,n=t._config,o,l,s,u=(0,v.a)([n.display,!0],r,i);u&&(o=r.dataset.data[i],l=(0,v.v)((0,v.Q)(n.formatter,[o,r]),o),s=(0,v.k)(l)?[]:b.toTextLines(l),s.length&&(e=t._modelize(u,s,n,r),a=V(e))),t._model=e,t._rects=a},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(r,t){var e=this,a=r.ctx,i=e._model,n=e._rects,o;this.visible()&&(a.save(),i.clip&&(o=i.area,a.beginPath(),a.rect(o.left,o.top,o.right-o.left,o.bottom-o.top),a.clip()),a.globalAlpha=b.bound(0,i.opacity,1),a.translate(_(t.x),_(t.y)),a.rotate(i.rotation),q(a,n.frame,i),ar(a,i.lines,n.text,i),a.restore())}});var tr=Number.MIN_SAFE_INTEGER||-9007199254740991,ir=Number.MAX_SAFE_INTEGER||9007199254740991;function p(r,t,e){var a=Math.cos(e),i=Math.sin(e),n=t.x,o=t.y;return{x:n+a*(r.x-n)-i*(r.y-o),y:o+i*(r.x-n)+a*(r.y-o)}}function O(r,t){var e=ir,a=tr,i=t.origin,n,o,l,s,u;for(n=0;n<r.length;++n)o=r[n],l=o.x-i.x,s=o.y-i.y,u=t.vx*l+t.vy*s,e=Math.min(e,u),a=Math.max(a,u);return{min:e,max:a}}function P(r,t){var e=t.x-r.x,a=t.y-r.y,i=Math.sqrt(e*e+a*a);return{vx:(t.x-r.x)/i,vy:(t.y-r.y)/i,origin:r,ln:i}}var N=function(){this._rotation=0,this._rect={x:0,y:0,w:0,h:0}};(0,v.a4)(N.prototype,{center:function(){var r=this._rect;return{x:r.x+r.w/2,y:r.y+r.h/2}},update:function(r,t,e){this._rotation=e,this._rect={x:t.x+r.x,y:t.y+r.y,w:t.w,h:t.h}},contains:function(r){var t=this,e=1,a=t._rect;return r=p(r,t.center(),-t._rotation),!(r.x<a.x-e||r.y<a.y-e||r.x>a.x+a.w+e*2||r.y>a.y+a.h+e*2)},intersects:function(r){var t=this._points(),e=r._points(),a=[P(t[0],t[1]),P(t[0],t[3])],i,n,o;for(this._rotation!==r._rotation&&a.push(P(e[0],e[1]),P(e[0],e[3])),i=0;i<a.length;++i)if(n=O(t,a[i]),o=O(e,a[i]),n.max<o.min||o.max<n.min)return!1;return!0},_points:function(){var r=this,t=r._rect,e=r._rotation,a=r.center();return[p({x:t.x,y:t.y},a,e),p({x:t.x+t.w,y:t.y},a,e),p({x:t.x+t.w,y:t.y+t.h},a,e),p({x:t.x,y:t.y+t.h},a,e)]}});function L(r,t,e){var a=t.positioner(r,t),i=a.vx,n=a.vy;if(!i&&!n)return{x:a.x,y:a.y};var o=e.w,l=e.h,s=t.rotation,u=Math.abs(o/2*Math.cos(s))+Math.abs(l/2*Math.sin(s)),d=Math.abs(o/2*Math.sin(s))+Math.abs(l/2*Math.cos(s)),f=1/Math.max(Math.abs(i),Math.abs(n));return u*=i*f,d*=n*f,u+=t.offset*i,d+=t.offset*n,{x:a.x+u,y:a.y+d}}function nr(r,t){var e,a,i,n;for(e=r.length-1;e>=0;--e)for(i=r[e].$layout,a=e-1;a>=0&&i._visible;--a)n=r[a].$layout,n._visible&&i._box.intersects(n._box)&&t(i,n);return r}function or(r){var t,e,a,i,n,o,l;for(t=0,e=r.length;t<e;++t)a=r[t],i=a.$layout,i._visible&&(l=new Proxy(a._el,{get:(s,u)=>s.getProps([u],!0)[u]}),n=a.geometry(),o=L(l,a.model(),n),i._box.update(o,n,a.rotation()));return nr(r,function(s,u){var d=s._hidable,f=u._hidable;d&&f||f?u._visible=!1:d&&(s._visible=!1)})}var m={prepare:function(r){var t=[],e,a,i,n,o;for(e=0,i=r.length;e<i;++e)for(a=0,n=r[e].length;a<n;++a)o=r[e][a],t.push(o),o.$layout={_box:new N,_hidable:!1,_visible:!0,_set:e,_idx:o._index};return t.sort(function(l,s){var u=l.$layout,d=s.$layout;return u._idx===d._idx?d._set-u._set:d._idx-u._idx}),this.update(t),t},update:function(r){var t=!1,e,a,i,n,o;for(e=0,a=r.length;e<a;++e)i=r[e],n=i.model(),o=i.$layout,o._hidable=n&&n.display==="auto",o._visible=i.visible(),t|=o._hidable;t&&or(r)},lookup:function(r,t){var e,a;for(e=r.length-1;e>=0;--e)if(a=r[e].$layout,a&&a._visible&&a._box.contains(t))return r[e];return null},draw:function(r,t){var e,a,i,n,o,l;for(e=0,a=t.length;e<a;++e)i=t[e],n=i.$layout,n._visible&&(o=i.geometry(),l=L(i._el,i.model(),o),n._box.update(l,o,i.rotation()),i.draw(r,l))}},lr=function(r){if((0,v.k)(r))return null;var t=r,e,a,i;if((0,v.i)(r))if(!(0,v.k)(r.label))t=r.label;else if(!(0,v.k)(r.r))t=r.r;else for(t="",e=Object.keys(r),i=0,a=e.length;i<a;++i)t+=(i!==0?", ":"")+e[i]+": "+r[e[i]];return""+t},sr={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:lr,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},h="$datalabels",F="$default";function ur(r,t){var e=r.datalabels,a={},i=[],n,o;return e===!1?null:(e===!0&&(e={}),t=(0,v.a4)({},[t,e]),n=t.labels||{},o=Object.keys(n),delete t.labels,o.length?o.forEach(function(l){n[l]&&i.push((0,v.a4)({},[t,n[l],{_key:l}]))}):i.push(t),a=i.reduce(function(l,s){return(0,v.F)(s.listeners||{},function(u,d){l[d]=l[d]||{},l[d][s._key||F]=u}),delete s.listeners,l},{}),{labels:i,listeners:a})}function S(r,t,e,a){if(t){var i=e.$context,n=e.$groups,o;t[n._set]&&(o=t[n._set][n._key],o&&(0,v.Q)(o,[i,a])===!0&&(r[h]._dirty=!0,e.update(i)))}}function dr(r,t,e,a,i){var n,o;!e&&!a||(e?a?e!==a&&(o=n=!0):o=!0:n=!0,o&&S(r,t.leave,e,i),n&&S(r,t.enter,a,i))}function vr(r,t){var e=r[h],a=e._listeners,i,n;if(!(!a.enter&&!a.leave)){if(t.type==="mousemove")n=m.lookup(e._labels,t);else if(t.type!=="mouseout")return;i=e._hovered,e._hovered=n,dr(r,a,i,n,t)}}function fr(r,t){var e=r[h],a=e._listeners.click,i=a&&m.lookup(e._labels,t);i&&S(r,a,i,t)}var hr={id:"datalabels",defaults:sr,beforeInit:function(r){r[h]={_actives:[]}},beforeUpdate:function(r){var t=r[h];t._listened=!1,t._listeners={},t._datasets=[],t._labels=[]},afterDatasetUpdate:function(r,t,e){var a=t.index,i=r[h],n=i._datasets[a]=[],o=r.isDatasetVisible(a),l=r.data.datasets[a],s=ur(l,e),u=t.meta.data||[],d=r.ctx,f,y,G,H,R,U,c,x;for(d.save(),f=0,G=u.length;f<G;++f)if(c=u[f],c[h]=[],o&&c&&r.getDataVisibility(f)&&!c.skip)for(y=0,H=s.labels.length;y<H;++y)R=s.labels[y],U=R._key,x=new z(R,d,c,f),x.$groups={_set:a,_key:U||F},x.$context={active:!1,chart:r,dataIndex:f,dataset:l,datasetIndex:a},x.update(x.$context),c[h].push(x),n.push(x);d.restore(),(0,v.a4)(i._listeners,s.listeners,{merger:function(I,A,yr){A[I]=A[I]||{},A[I][t.index]=yr[I],i._listened=!0}})},afterUpdate:function(r){r[h]._labels=m.prepare(r[h]._datasets)},afterDatasetsDraw:function(r){m.draw(r,r[h]._labels)},beforeEvent:function(r,t){if(r[h]._listened){var e=t.event;switch(e.type){case"mousemove":case"mouseout":vr(r,e);break;case"click":fr(r,e);break}}},afterEvent:function(r){var t=r[h],e=t._actives,a=t._actives=r.getActiveElements(),i=b.arrayDiff(e,a),n,o,l,s,u,d,f;for(n=0,o=i.length;n<o;++n)if(u=i[n],u[1])for(f=u[0].element[h]||[],l=0,s=f.length;l<s;++l)d=f[l],d.$context.active=u[1]===1,d.update(d.$context);(t._dirty||i.length)&&(m.update(t._labels),r.render()),delete t._dirty}}}}]);

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.