PageSourceSearch

https://data.gov.my/_next/static/chunks/2784.76f5c9a914246f69.js

js data.gov.my collected 2026-09-24 17:43:34 UTC 13,439 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2784],{6881:function(t,e,r){r.d(e,{Z:function(){return x}});var n=r(41935),o=r(65511),i=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}(),a={toTextLines:function(t){var e,r=[];for(t=[].concat(t);t.length;)"string"==typeof(e=t.pop())?r.unshift.apply(r,e.split("\n")):Array.isArray(e)?t.push.apply(t,e):(0,n._D)(t)||r.unshift(""+e);return r},textSize:function(t,e,r){var n,o=[].concat(e),i=o.length,a=t.font,l=0;for(n=0,t.font=r.string;n<i;++n)l=Math.max(t.measureText(o[n]).width,l);return t.font=a,{height:i*r.lineHeight,width:l}},bound:function(t,e,r){return Math.max(t,Math.min(e,r))},arrayDiff:function(t,e){var r,n,o,i,a=t.slice(),l=[];for(r=0,o=e.length;r<o;++r)i=e[r],-1===(n=a.indexOf(i))?l.push([i,1]):a.splice(n,1);for(r=0,o=a.length;r<o;++r)l.push([a[r],-1]);return l},rasterize:function(t){return Math.round(t*i)/i}};function orient(t,e){var r=e.x,n=e.y;if(null===r)return{x:0,y:-1};if(null===n)return{x:1,y:0};var o=t.x-r,i=t.y-n,a=Math.sqrt(o*o+i*i);return{x:a?o/a:0,y:a?i/a:-1}}function region(t,e,r){var n=0;return t<r.left?n|=1:t>r.right&&(n|=2),e<r.top?n|=8:e>r.bottom&&(n|=4),n}function compute$1(t,e){var r,n,o=e.anchor,i=t;return e.clamp&&(i=function(t,e){for(var r,n,o,i=t.x0,a=t.y0,l=t.x1,s=t.y1,u=region(i,a,e),c=region(l,s,e);u|c&&!(u&c);)8&(r=u||c)?(n=i+(l-i)*(e.top-a)/(s-a),o=e.top):4&r?(n=i+(l-i)*(e.bottom-a)/(s-a),o=e.bottom):2&r?(o=a+(s-a)*(e.right-i)/(l-i),n=e.right):1&r&&(o=a+(s-a)*(e.left-i)/(l-i),n=e.left),r===u?u=region(i=n,a=o,e):c=region(l=n,s=o,e);return{x0:i,x1:l,y0:a,y1:s}}(i,e.area)),"start"===o?(r=i.x0,n=i.y0):"end"===o?(r=i.x1,n=i.y1):(r=(i.x0+i.x1)/2,n=(i.y0+i.y1)/2),function(t,e,r,n,o){switch(o){case"center":r=n=0;break;case"bottom":r=0,n=1;break;case"right":r=1,n=0;break;case"left":r=-1,n=0;break;case"top":r=0,n=-1;break;case"start":r=-r,n=-n;break;case"end":break;default:o*=Math.PI/180,r=Math.cos(o),n=Math.sin(o)}return{x:t,y:e,vx:r,vy:n}}(r,n,t.vx,t.vy,e.align)}var l={arc:function(t,e){var r=(t.startAngle+t.endAngle)/2,n=Math.cos(r),o=Math.sin(r),i=t.innerRadius,a=t.outerRadius;return compute$1({x0:t.x+n*i,y0:t.y+o*i,x1:t.x+n*a,y1:t.y+o*a,vx:n,vy:o},e)},point:function(t,e){var r=orient(t,e.origin),n=r.x*t.options.radius,o=r.y*t.options.radius;return compute$1({x0:t.x-n,y0:t.y-o,x1:t.x+n,y1:t.y+o,vx:r.x,vy:r.y},e)},bar:function(t,e){var r=orient(t,e.origin),n=t.x,o=t.y,i=0,a=0;return t.horizontal?(n=Math.min(t.x,t.base),i=Math.abs(t.base-t.x)):(o=Math.min(t.y,t.base),a=Math.abs(t.base-t.y)),compute$1({x0:n,y0:o+a,x1:n+i,y1:o,vx:r.x,vy:r.y},e)},fallback:function(t,e){var r=orient(t,e.origin);return compute$1({x0:t.x,y0:t.y,x1:t.x+(t.width||0),y1:t.y+(t.height||0),vx:r.x,vy:r.y},e)}},s=a.rasterize,Label=function(t,e,r,n){this._config=t,this._index=n,this._model=null,this._rects=null,this._ctx=e,this._el=r};(0,n.TS)(Label.prototype,{_modelize:function(t,e,r,i){var s,u=this._index,c=(0,n.re)((0,n.DB)([r.font,{}],i,u)),h=(0,n.DB)([r.color,o.ce.color],i,u);return{align:(0,n.DB)([r.align,"center"],i,u),anchor:(0,n.DB)([r.anchor,"center"],i,u),area:i.chart.chartArea,backgroundColor:(0,n.DB)([r.backgroundColor,null],i,u),borderColor:(0,n.DB)([r.borderColor,null],i,u),borderRadius:(0,n.DB)([r.borderRadius,0],i,u),borderWidth:(0,n.DB)([r.borderWidth,0],i,u),clamp:(0,n.DB)([r.clamp,!1],i,u),clip:(0,n.DB)([r.clip,!1],i,u),color:h,display:t,font:c,lines:e,offset:(0,n.DB)([r.offset,4],i,u),opacity:(0,n.DB)([r.opacity,1],i,u),origin:function(t,e){var r=e.chart.getDatasetMeta(e.datasetIndex).vScale;if(!r)return null;if(void 0!==r.xCenter&&void 0!==r.yCenter)return{x:r.xCenter,y:r.yCenter};var n=r.getBasePixel();return t.horizontal?{x:n,y:null}:{x:null,y:n}}(this._el,i),padding:(0,n.oY)((0,n.DB)([r.padding,4],i,u)),positioner:(s=this._el)instanceof o.qi?l.arc:s instanceof o.od?l.point:s instanceof o.ZL?l.bar:l.fallback,rotation:(0,n.DB)([r.rotation,0],i,u)*(Math.PI/180),size:a.textSize(this._ctx,e,c),textAlign:(0,n.DB)([r.textAlign,"start"],i,u),textShadowBlur:(0,n.DB)([r.textShadowBlur,0],i,u),textShadowColor:(0,n.DB)([r.textShadowColor,h],i,u),textStrokeColor:(0,n.DB)([r.textStrokeColor,h],i,u),textStrokeWidth:(0,n.DB)([r.textStrokeWidth,0],i,u)}},update:function(t){var e,r,o,i,l,s,u,c,h,f,d=null,x=null,y=this._index,v=this._config,_=(0,n.DB)([v.display,!0],t,y);_&&(e=t.dataset.data[y],r=(0,n.Be)((0,n.uz)(v.formatter,[e,t]),e),(o=(0,n._D)(r)?[]:a.toTextLines(r)).length)&&(l=(i=d=this._modelize(_,o,v,t)).borderWidth||0,s=i.padding,u=i.size.height,h=-(c=i.size.width)/2,f=-u/2,x={frame:{x:h-s.left-l,y:f-s.top-l,w:c+s.width+2*l,h:u+s.height+2*l},text:{x:h,y:f,w:c,h:u}}),this._model=d,this._rects=x},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 r,n,o,i,l,u=t.ctx,c=this._model,h=this._rects;this.visible()&&(u.save(),c.clip&&(l=c.area,u.beginPath(),u.rect(l.left,l.top,l.right-l.left,l.bottom-l.top),u.clip()),u.globalAlpha=a.bound(0,c.opacity,1),u.translate(s(e.x),s(e.y)),u.rotate(c.rotation),r=h.frame,n=c.backgroundColor,o=c.borderColor,i=c.borderWidth,(n||o&&i)&&(u.beginPath(),function(t,e,r,n,o,i){var a=Math.PI/2;if(i){var l=Math.min(i,o/2,n/2),s=e+l,u=r+l,c=e+n-l,h=r+o-l;t.moveTo(e,u),s<c&&u<h?(t.arc(s,u,l,-Math.PI,-a),t.arc(c,u,l,-a,0),t.arc(c,h,l,0,a),t.arc(s,h,l,a,Math.PI)):s<c?(t.moveTo(s,r),t.arc(c,u,l,-a,a),t.arc(s,u,l,a,Math.PI+a)):u<h?(t.arc(s,u,l,-Math.PI,0),t.arc(s,h,l,0,Math.PI)):t.arc(s,u,l,-Math.PI,Math.PI),t.closePath(),t.moveTo(e,r)}else t.rect(e,r,n,o)}(u,s(r.x)+i/2,s(r.y)+i/2,s(r.w)-i,s(r.h)-i,c.borderRadius),u.closePath(),n&&(u.fillStyle=n,u.fill()),o&&i&&(u.strokeStyle=o,u.lineWidth=i,u.lineJoin="miter",u.stroke())),function(t,e,r,n){var o,i,a,l,u,c,h=n.textAlign,f=n.color,d=!!f,x=n.font,y=e.length,v=n.textStrokeColor,_=n.textStrokeWidth,b=v&&_;if(y&&(d||b))for(o=r,i=x.lineHeight,a=o.w,l=o.x,u=o.y+i/2,"center"===h?l+=a/2:("end"===h||"right"===h)&&(l+=a),r={h:i,w:a,x:l,y:u}
1,t.font=x.string,t.textAlign=h,t.textBaseline="middle",t.shadowBlur=n.textShadowBlur,t.shadowColor=n.textShadowColor,d&&(t.fillStyle=f),b&&(t.lineJoin="round",t.lineWidth=_,t.strokeStyle=v),c=0,y=e.length;c<y;++c)!function(t,e,r){var n=t.shadowBlur,o=r.stroked,i=s(r.x),a=s(r.y),l=s(r.w);o&&t.strokeText(e,i,a,l),r.filled&&(n&&o&&(t.shadowBlur=0),t.fillText(e,i,a,l),n&&o&&(t.shadowBlur=n))}(t,e[c],{stroked:b,filled:d,w:r.w,x:r.x,y:r.y+r.h*c})}(u,c.lines,h.text,c),u.restore())}});var u=Number.MIN_SAFE_INTEGER||-9007199254740991,c=Number.MAX_SAFE_INTEGER||9007199254740991;function rotated(t,e,r){var n=Math.cos(r),o=Math.sin(r),i=e.x,a=e.y;return{x:i+n*(t.x-i)-o*(t.y-a),y:a+o*(t.x-i)+n*(t.y-a)}}function projected(t,e){var r,n,o,i,a,l=c,s=u,h=e.origin;for(r=0;r<t.length;++r)o=(n=t[r]).x-h.x,i=n.y-h.y,l=Math.min(l,a=e.vx*o+e.vy*i),s=Math.max(s,a);return{min:l,max:s}}function toAxis(t,e){var r=e.x-t.x,n=e.y-t.y,o=Math.sqrt(r*r+n*n);return{vx:(e.x-t.x)/o,vy:(e.y-t.y)/o,origin:t,ln:o}}var HitBox=function(){this._rotation=0,this._rect={x:0,y:0,w:0,h:0}};function coordinates(t,e,r){var n=e.positioner(t,e),o=n.vx,i=n.vy;if(!o&&!i)return{x:n.x,y:n.y};var a=r.w,l=r.h,s=e.rotation,u=Math.abs(a/2*Math.cos(s))+Math.abs(l/2*Math.sin(s)),c=Math.abs(a/2*Math.sin(s))+Math.abs(l/2*Math.cos(s)),h=1/Math.max(Math.abs(o),Math.abs(i));return u*=o*h,c*=i*h,u+=e.offset*o,c+=e.offset*i,{x:n.x+u,y:n.y+c}}(0,n.TS)(HitBox.prototype,{center:function(){var t=this._rect;return{x:t.x+t.w/2,y:t.y+t.h/2}},update:function(t,e,r){this._rotation=r,this._rect={x:e.x+t.x,y:e.y+t.y,w:e.w,h:e.h}},contains:function(t){var e=this._rect;return!((t=rotated(t,this.center(),-this._rotation)).x<e.x-1||t.y<e.y-1||t.x>e.x+e.w+2||t.y>e.y+e.h+2)},intersects:function(t){var e,r,n,o=this._points(),i=t._points(),a=[toAxis(o[0],o[1]),toAxis(o[0],o[3])];for(this._rotation!==t._rotation&&a.push(toAxis(i[0],i[1]),toAxis(i[0],i[3])),e=0;e<a.length;++e)if(r=projected(o,a[e]),n=projected(i,a[e]),r.max<n.min||n.max<r.min)return!1;return!0},_points:function(){var t=this._rect,e=this._rotation,r=this.center();return[rotated({x:t.x,y:t.y},r,e),rotated({x:t.x+t.w,y:t.y},r,e),rotated({x:t.x+t.w,y:t.y+t.h},r,e),rotated({x:t.x,y:t.y+t.h},r,e)]}});var h={prepare:function(t){var e,r,n,o,i,a=[];for(e=0,n=t.length;e<n;++e)for(r=0,o=t[e].length;r<o;++r)i=t[e][r],a.push(i),i.$layout={_box:new HitBox,_hidable:!1,_visible:!0,_set:e,_idx:i._index};return a.sort(function(t,e){var r=t.$layout,n=e.$layout;return r._idx===n._idx?n._set-r._set:n._idx-r._idx}),this.update(a),a},update:function(t){var e,r,n,o,i,a=!1;for(e=0,r=t.length;e<r;++e)o=(n=t[e]).model(),(i=n.$layout)._hidable=o&&"auto"===o.display,i._visible=n.visible(),a|=i._hidable;a&&function(t){var e,r,n,o,i,a,l;for(e=0,r=t.length;e<r;++e)(o=(n=t[e]).$layout)._visible&&(l=new Proxy(n._el,{get:(t,e)=>t.getProps([e],!0)[e]}),i=n.geometry(),a=coordinates(l,n.model(),i),o._box.update(a,i,n.rotation()));!function(t,e){var r,n,o,i;for(r=t.length-1;r>=0;--r)for(o=t[r].$layout,n=r-1;n>=0&&o._visible;--n)(i=t[n].$layout)._visible&&o._box.intersects(i._box)&&e(o,i)}(t,function(t,e){var r=t._hidable,n=e._hidable;r&&n||n?e._visible=!1:r&&(t._visible=!1)})}(t)},lookup:function(t,e){var r,n;for(r=t.length-1;r>=0;--r)if((n=t[r].$layout)&&n._visible&&n._box.contains(e))return t[r];return null},draw:function(t,e){var r,n,o,i,a,l;for(r=0,n=e.length;r<n;++r)(i=(o=e[r]).$layout)._visible&&(a=o.geometry(),l=coordinates(o._el,o.model(),a),i._box.update(l,a,o.rotation()),o.draw(t,l))}},f="$datalabels",d="$default";function dispatchEvent(t,e,r,o){if(e){var i,a=r.$context,l=r.$groups;e[l._set]&&(i=e[l._set][l._key])&&!0===(0,n.uz)(i,[a,o])&&(t[f]._dirty=!0,r.update(a))}}var x={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((0,n._D)(t))return null;var e,r,o,i=t;if((0,n.Kn)(t)){if((0,n._D)(t.label)){if((0,n._D)(t.r))for(o=0,i="",r=(e=Object.keys(t)).length;o<r;++o)i+=(0!==o?", ":"")+e[o]+": "+t[e[o]];else i=t.r}else i=t.label}return""+i},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[f]={_actives:[]}},beforeUpdate:function(t){var e=t[f];e._listened=!1,e._listeners={},e._datasets=[],e._labels=[]},afterDatasetUpdate:function(t,e,r){var o,i,a,l,s,u,c,h,x,y,v,_,b,p,g=e.index,m=t[f],w=m._datasets[g]=[],k=t.isDatasetVisible(g),M=t.data.datasets[g],D=(o=r,l=M.datalabels,s={},u=[],!1===l?null:(!0===l&&(l={}),a=Object.keys(i=(o=(0,n.TS)({},[o,l])).labels||{}),delete o.labels,a.length?a.forEach(function(t){i[t]&&u.push((0,n.TS)({},[o,i[t],{_key:t}]))}):u.push(o),s=u.reduce(function(t,e){return(0,n.S6)(e.listeners||{},function(r,n){t[n]=t[n]||{},t[n][e._key||d]=r}),delete e.listeners,t},{}),{labels:u,listeners:s})),B=e.meta.data||[],S=t.ctx;for(S.save(),c=0,x=B.length;c<x;++c)if((b=B[c])[f]=[],k&&b&&t.getDataVisibility(c)&&!b.skip)for(h=0,y=D.labels.length;h<y;++h)_=(v=D.labels[h])._key,(p=new Label(v,S,b,c)).$groups={_set:g,_key:_||d},p.$context={active:!1,chart:t,dataIndex:c,dataset:M,datasetIndex:g},p.update(p.$context),b[f].push(p),w.push(p);
1S.restore(),(0,n.TS)(m._listeners,D.listeners,{merger:function(t,r,n){r[t]=r[t]||{},r[t][e.index]=n[t],m._listened=!0}})},afterUpdate:function(t){t[f]._labels=h.prepare(t[f]._datasets)},afterDatasetsDraw:function(t){h.draw(t,t[f]._labels)},beforeEvent:function(t,e){if(t[f]._listened){var r,n,o,i=e.event;switch(i.type){case"mousemove":case"mouseout":!function(t,e){var r,n,o,i,a,l=t[f],s=l._listeners;if(s.enter||s.leave){if("mousemove"===e.type)a=h.lookup(l._labels,e);else if("mouseout"!==e.type)return;i=l._hovered,l._hovered=a,r=a,(i||r)&&(i?r?i!==r&&(o=n=!0):o=!0:n=!0,o&&dispatchEvent(t,s.leave,i,e),n&&dispatchEvent(t,s.enter,r,e))}}(t,i);break;case"click":(o=(n=(r=t[f])._listeners.click)&&h.lookup(r._labels,i))&&dispatchEvent(t,n,o,i)}}},afterEvent:function(t){var e,r,n,o,i,l,s,u=t[f],c=u._actives,d=u._actives=t.getActiveElements(),x=a.arrayDiff(c,d);for(e=0,r=x.length;e<r;++e)if((i=x[e])[1])for(n=0,o=(s=i[0].element[f]||[]).length;n<o;++n)(l=s[n]).$context.active=1===i[1],l.update(l.$context);(u._dirty||x.length)&&(h.update(u._labels),t.render()),delete u._dirty}}},41935:function(t,e,r){r.d(e,{pj:function(){return n.H},PI:function(){return n.P},_V:function(){return n.b3},eT:function(){return n.b2},gc:function(){return n.T},xV:function(){return n.b4},tH:function(){return n.av},uz:function(){return n.C},i7:function(){return n.L},ri:function(){return n.j},ME:function(){return n.aG},Qd:function(){return n.au},S6:function(){return n.Q},kJ:function(){return n.b},KH:function(){return n.g},mf:function(){return n.a8},_D:function(){return n.k},hj:function(){return n.x},Kn:function(){return n.i},TS:function(){return n.V},DB:function(){return n.a},Ux:function(){return n.F},re:function(){return n.O},oY:function(){return n.K},Yr:function(){return n.t},kX:function(){return n.ax},p2:function(){return n.N},Be:function(){return n.v}});var n=r(30325)}}]);

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.