PageSourceSearch

https://traficom.fi/assets/funnel-D9CTkYPL.js

js traficom.fi collected 2026-10-02 02:20:56 UTC 8,341 bytes, 1 lines download raw bytes

1import{g as we,c as We}from"./index-DX3rE1KI.js";function Ce(q,U){for(var k=0;k<U.length;k++){const W=U[k];if(typeof W!="string"&&!Array.isArray(W)){for(const S in W)if(S!=="default"&&!(S in q)){const N=Object.getOwnPropertyDescriptor(W,S);N&&Object.defineProperty(q,S,N.get?N:{enumerable:!0,get:()=>W[S]})}}}return Object.freeze(Object.defineProperty(q,Symbol.toStringTag,{value:"Module"}))}var fe={exports:{}};(function(q,U){(function(k,W){q.exports=W(k._Highcharts,k._Highcharts.SeriesRegistry)})("u"<typeof window?We:window,(k,W)=>(()=>{var S={512:n=>{n.exports=W},944:n=>{n.exports=k}},N={};function A(n){var e=N[n];if(e!==void 0)return e.exports;var o=N[n]={exports:{}};return S[n](o,o.exports,A),o.exports}A.n=n=>{var e=n&&n.__esModule?()=>n.default:()=>n;return A.d(e,{a:e}),e},A.d=(n,e)=>{for(var o in e)A.o(e,o)&&!A.o(n,o)&&Object.defineProperty(n,o,{enumerable:!0,get:e[o]})},A.o=(n,e)=>Object.prototype.hasOwnProperty.call(n,e);var se={};A.d(se,{default:()=>Ae});var ge=A(944),j=A.n(ge);let{doc:Z,win:_e}=j();function ee(n,e){let o;for(o in n||(n={}),e)n[o]=e[o];return n}function le(n){return J(n)&&typeof n.nodeType=="number"}function te(n){let e=Object.prototype.toString.call(n);return e==="[object Array]"||e==="[object Array Iterator]"}function J(n,e){return!!n&&typeof n=="object"&&(!e||!te(n))}function ne(n,...e){let o,a=[n,...e],x={},O=function(v,d){return typeof v!="object"&&(v={}),xe(d,function(m,p){if(p!=="__proto__"&&p!=="constructor"){let u;!J(m,!0)||(u=m==null?void 0:m.constructor,J(m,!0)&&!le(m)&&(u==null?void 0:u.name)&&u.name!=="Object")||le(m)?v[p]=d[p]:v[p]=O(v[p]||{},m)}}),v};n===!0&&(x=a[1],a=Array.prototype.slice.call(a,2));let L=a.length;for(o=0;o<L;o++)x=O(x,a[o]);return x}function xe(n,e,o){for(let a in n)Object.hasOwnProperty.call(n,a)&&e.call(n[a],n[a],a,n)}function de(n,e,o){return/%$/.test(n)?e*parseFloat(n)/100+0:parseFloat(n)}let{defaultOptions:De}=j(),{noop:Se}=j(),be={radius:0,scope:"stack",where:void 0};function ve(n,e){return J(n)||(n={radius:n||0}),ne(be,e,n)}var me=A(512),K=A.n(me);let{composed:ce,noop:pe}=j(),{column:Le,pie:oe}=K().seriesTypes,Oe=K().series.prototype.alignDataLabel;function $(n,e){return/%$/.test(n)?e*parseInt(n,10)/100:parseInt(n,10)}class z extends oe{alignDataLabel(e,o,a,x,O){let L=e.series,v=L.options.reversed,d=e.dlBox||e.shapeArgs,{align:m,padding:p=0,verticalAlign:u}=a,H=((L.options||{}).dataLabels||{}).inside,M=L.center[1],_=e.plotY||0,I=o.height??o.getBBox().height,T=L.getWidthAt((v?2*M-_:_)-d.height/2+I),F=u==="middle"?(d.topWidth-d.bottomWidth)/4:(T-d.bottomWidth)/2,Y=d.y,D=d.x;u==="middle"?Y=d.y-d.height/2+I/2:u==="top"&&(Y=d.y-d.height+I+p),(u==="top"&&!v||u==="bottom"&&v||u==="middle")&&(m==="right"?D=d.x-p+F:m==="left"&&(D=d.x+p-F)),x={x:D,y:v?Y-d.height:Y,width:d.bottomWidth,height:d.height},a.verticalAlign="bottom",H&&(a.distance=void 0),H&&e.visible&&Oe.call(L,e,o,a,x,O),H&&(!e.visible&&e.dataLabel&&(e.dataLabel.placed=!1),e.contrastColor&&o.css({color:e.contrastColor}))}drawDataLabels(){var e;((te(e=this.options.dataLabels||{})?e:[e])[0].inside?Le:oe).prototype.drawDataLabels.call(this)}getDataLabelPosition(e,o){let a=e.plotY||0,x=e.half?1:-1,O=this.getX(a,!!e.half,e);return{distance:o,natural:{x:0,y:a},computed:{},alignment:e.half?"right":"left",connectorPosition:{breakAt:{x:O+(o-5)*x,y:a},touchingSliceAt:{x:O+o*x,y:a}}}}translate(){let e=this,o=e.chart,a=e.options,x=a.reversed,O=a.ignoreHiddenPoint,L=ve(a.borderRadius),v=o.plotWidth,d=o.plotHeight,m=a.center,p=$(m[0],v),u=$(m[1],d),H=$(a.width,v),M=$(a.height,d),_=$(a.neckWidth,v),I=$(a.neckHeight,d),T=u-M/2+M-I,F=e.points,Y=de(L.radius,H),D=L.scope,Me=+(a.dataLabels.position==="left"),G=r=>{let y=Math.tan(r/2),l=Math.cos(B),E=Math.sin(B),g=Y,t=g/y,b=Math.tan((Math.PI-r)/3.2104);return t>R&&(g=(t=R)*y),{dx:[t*l,(t-(b*=g))*l,t-b,t],dy:[t*E,(t-b)*E,t-b,t].map(X=>x?-X:X)}},ae=0,ue=0,V,P,Q,B,R,C,f,w,s,i,h,c;for(let r of(e.getWidthAt=function(y){let l=u-M/2;return y>T||M===I?_:_+(H-_)*(1-(y-l)/(M-I))},e.getX=function(y,l,E){var g,t,b;return p+(l?-1:1)*(e.getWidthAt(x?2*u-y:y)/2+(((t=(g=E.dataLabel)==null?void 0:g.dataLabelPosition)==null?void 0:t.distance)??de(((b=this.options.dataLabels)==null?void 0:b.distance)||0,H)))},e.center=[p,u,M],e.centerX=p,F))r.y&&r.isValid()&&(!O||r.visible!==!1)&&(ae+=r.y);for(let r of F){var ie;if(c=null,Q=ae?r.y/ae:0,i=(f=u-M/2+ue*M)+Q*M,w=(C=p-(V=e.getWidthAt(f))/2)+V,h=(s=p-(V=e.getWidthAt(i))/2)+V,((ie=f)>1e14?ie:parseFloat(ie.toPrecision(14)))>
1=T?(C=s=p-_/2,w=h=p+_/2):i>T&&(c=i,h=(s=p-(V=e.getWidthAt(T))/2)+V,i=T),x&&(f=2*u-f,i=2*u-i,c!==null&&(c=2*u-c)),Y&&(D==="point"||r.index===0||r.index===F.length-1||c!==null)){let y=Math.abs(i-f),l=w-h,E=h-s,g=Math.sqrt(l*l+y*y);B=Math.atan(l!==0?y/l:1/0),R=g/2,c!==null&&(R=Math.min(R,Math.abs(c-i)/2)),E>=1&&(R=Math.min(R,E/2));let t=G(B);if(P=D==="stack"&&r.index!==0?[["M",C,f],["L",w,f]]:[["M",C+t.dx[0],f+t.dy[0]],["C",C+t.dx[1],f+t.dy[1],C+t.dx[2],f,C+t.dx[3],f],["L",w-t.dx[3],f],["C",w-t.dx[2],f,w-t.dx[1],f+t.dy[1],w-t.dx[0],f+t.dy[0]]],c!==null){let b=G(Math.PI/2);t=G(Math.PI/2+B),P.push(["L",h+t.dx[0],i-t.dy[0]],["C",h+t.dx[1],i-t.dy[1],h,i+t.dy[2],h,i+t.dy[3]]),D==="stack"&&r.index!==F.length-1?P.push(["L",h,c],["L",s,c]):P.push(["L",h,c-b.dy[3]],["C",h,c-b.dy[2],h-b.dx[2],c,h-b.dx[3],c],["L",s+b.dx[3],c],["C",s+b.dx[2],c,s,c-b.dy[2],s,c-b.dy[3]]),P.push(["L",s,i+t.dy[3]],["C",s,i+t.dy[2],s-t.dx[1],i-t.dy[1],s-t.dx[0],i-t.dy[0]])}else E>=1?(t=G(Math.PI-B),D==="stack"&&r.index===0?P.push(["L",h,i],["L",s,i]):P.push(["L",h+t.dx[0],i-t.dy[0]],["C",h+t.dx[1],i-t.dy[1],h-t.dx[2],i,h-t.dx[3],i],["L",s+t.dx[3],i],["C",s+t.dx[2],i,s-t.dx[1],i-t.dy[1],s-t.dx[0],i-t.dy[0]])):(t=G(Math.PI-2*B),P.push(["L",s+t.dx[0],i-t.dy[0]],["C",s+t.dx[1],i-t.dy[1],s-t.dx[1],i-t.dy[1],s-t.dx[0],i-t.dy[0]]))}else P=[["M",C,f],["L",w,f],["L",h,i]],c!==null&&P.push(["L",h,c],["L",s,c]),P.push(["L",s,i]);P.push(["Z"]),r.shapeType="path",r.shapeArgs={d:P},r.percentage=100*Q,r.plotX=p,r.plotY=(f+(c||i))/2,r.tooltipPos=[p,r.plotY],r.dlBox={x:s,y:f,topWidth:w-C,bottomWidth:h-s,height:Math.abs(function(){let y=arguments,l=y.length;for(let E=0;E<l;E++){let g=y[E];if(g!=null)return g}}(c,i)-f),width:NaN},r.slice=pe,r.half=Me,r.isValid()&&(!O||r.visible!==!1)&&(ue+=Q)}(function(r,y,l,E){if(l=l||{},(Z==null?void 0:Z.createEvent)&&(r.dispatchEvent||r.fireEvent&&r!==j())){let g=Z.createEvent("Events");g.initEvent(y,!0,!0),l=ee(g,l),r.dispatchEvent?r.dispatchEvent(l):r.fireEvent(y,l)}else if(r.hcEvents){l.target||ee(l,{preventDefault:function(){l.defaultPrevented=!0},target:r,type:y});let g=[],t=r,b=!1;for(;t.hcEvents;)Object.hasOwnProperty.call(t,"hcEvents")&&t.hcEvents[y]&&(g.length&&(b=!0),g.unshift.apply(g,t.hcEvents[y])),t=Object.getPrototypeOf(t);b&&g.sort((X,je)=>X.order-je.order),g.forEach(X=>{X.fn.call(r,l,r)===!1&&l.preventDefault()})}})(e,"afterTranslate")}sortByAngle(e){e.sort((o,a)=>o.plotY-a.plotY)}}function Pe(){for(let n of this.series){let e=n.options&&n.options.dataLabels;te(e)&&(e=e[0]),n.is("pie")&&n.placeDataLabels&&e&&!e.inside&&n.placeDataLabels()}}z.defaultOptions=ne(oe.defaultOptions,{animation:!1,borderRadius:0,center:["50%","50%"],width:"90%",neckWidth:"30%",height:"100%",neckHeight:"25%",reversed:!1,size:!0,dataLabels:{connectorWidth:1,verticalAlign:"middle"},states:{select:{color:"#cccccc",borderColor:"#000000"}}}),ee(z.prototype,{animate:pe}),(z||(z={})).compose=function(n){0>ce.indexOf("FunnelSeries")&&ce.push("FunnelSeries")&&function(e,o,a,x={}){let O=typeof e=="function"&&e.prototype||e;Object.hasOwnProperty.call(O,"hcEvents")||(O.hcEvents={});let L=O.hcEvents;j().Point&&e instanceof j().Point&&e.series&&e.series.chart&&(e.series.chart.runTrackerClick=!0);let v=e.addEventListener;v&&v.call(e,o,a,!!j().supportsPassiveEvents&&{passive:x.passive===void 0?o.indexOf("touch")!==-1:x.passive,capture:!1}),L[o]||(L[o]=[]);let d={fn:a,order:typeof x.order=="number"?x.order:1/0};L[o].push(d),L[o].sort((m,p)=>m.order-p.order)}(n,"afterHideAllOverlappingLabels",Pe)},K().registerSeriesType("funnel",z);let re=z;class he extends re{}he.defaultOptions=ne(re.defaultOptions,{neckHeight:"0%",neckWidth:"0%",reversed:!0}),K().registerSeriesType("pyramid",he);let Ee=j();re.compose(Ee.Chart);let Ae=j();return se.default})())})(fe);var ye=fe.exports;const ke=we(ye),Ie=Ce({__proto__:null,default:ke},[ye]);export{Ie as f};

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.