PageSourceSearch

https://www.ui.torino.it/_next/static/chunks/9249.56113684c2800574.js

js ui.torino.it collected 2026-10-02 04:19:23 UTC 15,583 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9249],{1577:(e,t,i)=>{i.d(t,{j:()=>l});var s=i(66187);class l extends s.A{_afterNew(){super._afterNew(),this._display.isMeasured=!0,this.setPrivateRaw("trustBounds",!0)}_beforeChanged(){super._beforeChanged(),this.isDirty("radius")&&(this._clear=!0)}_changed(){super._changed(),this._clear&&this._display.drawCircle(0,0,Math.abs(this.get("radius",10)))}}Object.defineProperty(l,"className",{enumerable:!0,configurable:!0,writable:!0,value:"Circle"}),Object.defineProperty(l,"classNames",{enumerable:!0,configurable:!0,writable:!0,value:s.A.classNames.concat([l.className])})},29593:(e,t,i)=>{i.d(t,{I:()=>x});var s=i(34578),l=i(66187);function n(e){return"object"==typeof e&&"length"in e?e:Array.from(e)}Array.prototype.slice;var a=i(46554),r=i(88251),o=i(47803);function h(e){return e[0]}function u(e){return e[1]}function f(e,t){var i=(0,a.A)(!0),s=null,l=r.A,f=null,c=(0,o.i)(d);function d(a){var r,o,h,u=(a=n(a)).length,d=!1;for(null==s&&(f=l(h=c())),r=0;r<=u;++r)!(r<u&&i(o=a[r],r,a))===d&&((d=!d)?f.lineStart():f.lineEnd()),d&&f.point(+e(o,r,a),+t(o,r,a));if(h)return f=null,h+""||null}return e="function"==typeof e?e:void 0===e?h:(0,a.A)(e),t="function"==typeof t?t:void 0===t?u:(0,a.A)(t),d.x=function(t){return arguments.length?(e="function"==typeof t?t:(0,a.A)(+t),d):e},d.y=function(e){return arguments.length?(t="function"==typeof e?e:(0,a.A)(+e),d):t},d.defined=function(e){return arguments.length?(i="function"==typeof e?e:(0,a.A)(!!e),d):i},d.curve=function(e){return arguments.length?(l=e,null!=s&&(f=l(s)),d):l},d.context=function(e){return arguments.length?(null==e?s=f=null:f=l(s=e),d):s},d}var c=i(30319),d=i(86249),p=i(92304),_=i(61056),g=i(22990),m=i(18889),y=i(84622),b=i(26178);class x extends s.f{constructor(){super(...arguments),Object.defineProperty(this,"_endIndex",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"_strokeGenerator",{enumerable:!0,configurable:!0,writable:!0,value:f()}),Object.defineProperty(this,"_fillGenerator",{enumerable:!0,configurable:!0,writable:!0,value:function(e,t,i){var s=null,l=(0,a.A)(!0),c=null,d=r.A,p=null,_=(0,o.i)(g);function g(a){var r,o,h,u,f,g=(a=n(a)).length,m=!1,y=Array(g),b=Array(g);for(null==c&&(p=d(f=_())),r=0;r<=g;++r){if(!(r<g&&l(u=a[r],r,a))===m)if(m=!m)o=r,p.areaStart(),p.lineStart();else{for(p.lineEnd(),p.lineStart(),h=r-1;h>=o;--h)p.point(y[h],b[h]);p.lineEnd(),p.areaEnd()}m&&(y[r]=+e(u,r,a),b[r]=+t(u,r,a),p.point(s?+s(u,r,a):y[r],i?+i(u,r,a):b[r]))}if(f)return p=null,f+""||null}function m(){return f().defined(l).curve(d).context(c)}return e="function"==typeof e?e:void 0===e?h:(0,a.A)(+e),t="function"==typeof t?t:void 0===t?(0,a.A)(0):(0,a.A)(+t),i="function"==typeof i?i:void 0===i?u:(0,a.A)(+i),g.x=function(t){return arguments.length?(e="function"==typeof t?t:(0,a.A)(+t),s=null,g):e},g.x0=function(t){return arguments.length?(e="function"==typeof t?t:(0,a.A)(+t),g):e},g.x1=function(e){return arguments.length?(s=null==e?null:"function"==typeof e?e:(0,a.A)(+e),g):s},g.y=function(e){return arguments.length?(t="function"==typeof e?e:(0,a.A)(+e),i=null,g):t},g.y0=function(e){return arguments.length?(t="function"==typeof e?e:(0,a.A)(+e),g):t},g.y1=function(e){return arguments.length?(i=null==e?null:"function"==typeof e?e:(0,a.A)(+e),g):i},g.lineX0=g.lineY0=function(){return m().x(e).y(t)},g.lineY1=function(){return m().x(e).y(i)},g.lineX1=function(){return m().x(s).y(t)},g.defined=function(e){return arguments.length?(l="function"==typeof e?e:(0,a.A)(!!e),g):l},g.curve=function(e){return arguments.length?(d=e,null!=c&&(p=d(c)),g):d},g.context=function(e){return arguments.length?(null==e?c=p=null:p=d(c=e),g):c},g}()}),Object.defineProperty(this,"_legendStroke",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"_legendFill",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"strokes",{enumerable:!0,configurable:!0,writable:!0,value:this.addDisposer(new d.TS(c.Bj.new({}),()=>l.A._new(this._root,{themeTags:b.kE(this.strokes.template.get("themeTags",[]),["line","series","stroke"])},[this.strokes.template])))}),Object.defineProperty(this,"fills",{enumerable:!0,configurable:!0,writable:!0,value:this.addDisposer(new d.TS(c.Bj.new({}),()=>l.A._new(this._root,{themeTags:b.kE(this.strokes.template.get("themeTags",[]),["line","series","fill"])},[this.fills.template])))}),Object.defineProperty(this,"_fillTemplate",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"_strokeTemplate",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"_previousPoint",{enumerable:!0,configurable:!0,writable:!0,value:[0,0,0,0]}),Object.defineProperty(this,"_dindex",{enumerable:!0,configurable:!0,writable:!0,value:0}),Object.defineProperty(this,"_sindex",{enumerable:!0,configurable:!0,writable:!0,value:0})}_afterNew(){this._fillGenerator.y0(function(e){return e[3]}),this._fillGenerator.x0(function(e){return e[2]}),this._fillGenerator.y1(function(e){return e[1]}),this._fillGenerator.x1(function(e){return e[0]}),super._afterNew()}makeStroke(e){let t=this.mainContainer.children.push(e.make());return e.push(t),t}makeFill(e){let t=this.mainContainer.children.push(e.make());return e.push(t),t}_updateChildren(){this._strokeTemplate=void 0,this._fillTemplate=void 0;let e=this.get("xAxis"),t=this.get("yAxis");if(this.isDirty("stroke")){let e=this.get("stroke");this.strokes.template.set("stroke",e);let t=this._legendStroke;t&&t.states.lookup("default").set("stroke",e)}if(this.isDirty("fill")){let e=this.get("fill");this.fills.template.set("fill",e);let t=this._legendFill;t&&t.states.lookup("default").set("fill",e)}
1if(this.isDirty("fillPattern")){let e=this.get("fillPattern");this.fills.template.set("fillPattern",e);let t=this._legendFill;t&&t.states.lookup("default").set("fillPattern",e)}if(this.isDirty("curveFactory")){let e=this.get("curveFactory");e&&(this._strokeGenerator.curve(e),this._fillGenerator.curve(e))}if(e.inited&&t.inited){if(this._axesDirty||this._valuesDirty||this._stackDirty||this.isDirty("vcx")||this.isDirty("vcy")||this._sizeDirty||this.isDirty("connect")||this.isDirty("curveFactory")){this.fills.each(e=>{e.setPrivate("visible",!1)}),this.strokes.each(e=>{e.setPrivate("visible",!1)}),this.axisRanges.each(e=>{let t=e.fills;t&&t.each(e=>{e.setPrivate("visible",!1)});let i=e.strokes;i&&i.each(e=>{e.setPrivate("visible",!1)})});let e=this.startIndex(),t=this.strokes.template.get("templateField"),i=this.fills.template.get("templateField"),s=!0,l=!0;t&&(s=!1),i&&(l=!1);for(let n=e-1;n>=0;n--){let a=this.dataItems[n],r=!0,o=a.dataContext;if(t&&o[t]&&(s=!0),i&&o[i]&&(l=!0),y.__(this._valueFields,e=>{m.Et(a.get(e))||(r=!1)}),r&&s&&l){e=n;break}}let n=this.dataItems.length,a=this.endIndex();if(a<n){a++;for(let e=a;e<n;e++){let t=this.dataItems[e],i=!0;if(y.__(this._valueFields,e=>{m.Et(t.get(e))||(i=!1)}),i){a=e+1;break}}}if(e>0&&e--,this._endIndex=a,this._clearGraphics(),this._sindex=0,this._dindex=e,1==this.dataItems.length)this._startSegment(0);else for(;this._dindex<a-1;)this._startSegment(this._dindex),this._sindex++}}else this._skipped=!0;super._updateChildren()}_clearGraphics(){this.strokes.clear(),this.fills.clear(),this.axisRanges.each(e=>{e.fills.clear(),e.strokes.clear()})}_startSegment(e){let t,i,s=this._endIndex,l=s,n=this.get("autoGapCount"),a=this.get("connect"),r=this.makeFill(this.fills),o=this._fillTemplate,h=this.fills.template;o&&o!=h&&(r.template=o),r.setPrivate("visible",!0);let u=this.makeStroke(this.strokes),f=this._strokeTemplate;f&&f!=this.strokes.template&&(u.template=f),u.setPrivate("visible",!0);let d=this.get("xAxis"),p=this.get("yAxis"),_=this.get("baseAxis"),g=this.get("vcx",1),m=this.get("vcy",1),y=this._xField,b=this._yField,x=this._xOpenField,v=this._yOpenField,k=this.get("openValueXField"),A=this.get("openValueYField");k||(x=this._xField),A||(v=this._yField);let w=this.get("stacked"),P=d.basePosition(),$=p.basePosition();t=_===p?this._yField:this._xField;let F=[],T=[];F.push(T);let D=this.strokes.template.get("templateField"),M=this.fills.template.get("templateField"),j=this.get("locationX",.5),I=this.get("locationY",.5),O=this.get("openLocationX",j),S=this.get("openLocationY",I),C=this.get("minDistance",0),L=this.fills.template.get("visible");this.axisRanges.length>0&&(L=!0);let X=!1;(w||k||A)&&(X=!0);let Y={points:T,segments:F,stacked:w,getOpen:X,basePosX:P,basePosY:$,fillVisible:L,xField:y,yField:b,xOpenField:x,yOpenField:v,vcx:g,vcy:m,baseAxis:_,xAxis:d,yAxis:p,locationX:j,locationY:I,openLocationX:O,openLocationY:S,minDistance:C},G=this._strokeTemplate,E=this._fillTemplate;for(i=e;i<l;i++){this._dindex=i;let s=this._dataItems[i],o=s.get(y),h=s.get(b);if(null==o||null==h?a||(T=[],F.push(T),Y.points=T):this._getPoints(s,Y),D){let t=s.dataContext[D];if(t){if(t instanceof c.Bj||(t=c.Bj.new(t)),this._strokeTemplate=t,i>e){l=i;break}G=t,u.template=t}}if(M){let t=s.dataContext[M];if(t){if(t instanceof c.Bj||(t=c.Bj.new(t)),this._fillTemplate=t,i>e){l=i;break}E=t,r.template=t}}if(!a){let e=this.dataItems[i+1];e&&_.shouldGap(s,e,n,t)&&(T=[],F.push(T),Y.points=T)}}r.setRaw("userData",[e,i]),u.setRaw("userData",[e,i]),i===s&&this._endLine(T,F[0][0]),u&&this._drawStroke(u,F),r&&this._drawFill(r,F),this.axisRanges.each(t=>{let s=t.container,l=t.fills,n=this.makeFill(l);s&&s.children.push(n),n.setPrivate("visible",!0),this._drawFill(n,F);let a=t.strokes,r=this.makeStroke(a);s&&s.children.push(r),G&&G!=this.strokes.template&&(r.template=G),E&&E!=this.fills.template&&(n.template=E),r.setPrivate("visible",!0),this._drawStroke(r,F),n.setRaw("userData",[e,i]),r.setRaw("userData",[e,i])})}_getPoints(e,t){let i=t.points,s=e.get("locationX",t.locationX),l=e.get("locationY",t.locationY),n=this.get("exactLocationX",!1),a=this.get("exactLocationY",!1),r=t.xAxis.getDataItemPositionX(e,t.xField,s,t.vcx,n),o=t.yAxis.getDataItemPositionY(e,t.yField,l,t.vcy,a);if(this._shouldInclude(r)){let s=this.getPoint(r,o),l=[s.x,s.y];if(s.x+=this._x,s.y+=this._y,e.set("point",s),t.fillVisible){let i=r,s=o;if(t.baseAxis===t.xAxis?s=t.basePosY:t.baseAxis===t.yAxis&&(i=t.basePosX),t.getOpen){let l=e.get(t.xOpenField),r=e.get(t.yOpenField);if(null!=l&&null!=r){let l=e.get("openLocationX",t.openLocationX),r=e.get("openLocationY",t.openLocationY);if(t.stacked){let o=e.get("stackToItemX"),h=e.get("stackToItemY");o?(i=t.xAxis.getDataItemPositionX(o,t.xField,l,o.component.get("vcx"),n),m.yr(i)&&(i=t.basePosX)):i=t.yAxis===t.baseAxis?t.basePosX:t.xAxis.getDataItemPositionX(e,t.xOpenField,l,t.vcx,n),h?(s=t.yAxis.getDataItemPositionY(h,t.yField,r,h.component.get("vcy"),a),m.yr(s)&&(s=t.basePosY)):s=t.xAxis===t.baseAxis?t.basePosY:t.yAxis.getDataItemPositionY(e,t.yOpenField,r,t.vcy,a)}else i=t.xAxis.getDataItemPositionX(e,t.xOpenField,l,t.vcx,n),s=t.yAxis.getDataItemPositionY(e,t.yOpenField,r,t.vcy,a)}}let h=this.getPoint(i,s);l[2]=h.x,l[3]=h.y}if(t.minDistance>0){let e=l[0],s=l[1],n=l[2],a=l[3],r=this._previousPoint,o=r[0],h=r[1],u=r[2],f=r[3];(Math.hypot(e-o,s-h)>t.minDistance||n&&a&&Math.hypot(n-u,a-f)>t.minDistance)&&(i.push(l),this._previousPoint=l)}else i.push(l)}}_endLine(e,t){}_drawStroke(e,t){e.get("visible")&&!e.get("forceHidden")&&e.set("draw",e=>{y.__(t,t=>{this._strokeGenerator.context(e),this._strokeGenerator(t)})})}_drawFill(e,t){e.get("visible")&&!e.get("forceHidden")&&e.set("draw",e=>{y.__(t,t=>{this._fillGenerator.context(e),this._fillGenerator(t)})})}_processAxisRange(e){super._processAxisRange(e),e.fills=new d.TS(c.Bj.new({}),()=>l.A._new(this._root,{themeTags:b.kE(e.fills.template.get("themeTags",[]),["line","series","fill"])},[this.fills.template,e.fills.template])),e.strokes=new d.TS(c.Bj.new({}),()=>l.A._new(this._root,{themeTags:b.kE(e.strokes.template.get("themeTags",[]),["line","series","stroke"])},[this.strokes.template,e.strokes.template]))}createLegendMarker(e){let t=this.get("legendDataItem");if(t){let e=t.get("marker"),i=t.get("markerRectangle");i&&i.setPrivate("visible",!1),e.set("background",g.M.new(e._root,{fillOpacity:0,fill:(0,p.yW)(0)}));let s=e.children.push(l.A._new(e._root,{themeTags:["line","series","legend","marker","stroke"],interactive:!1},[this.strokes.template]));this._legendStroke=s;let n=e.children.push(l.A._new(e._root,{themeTags:["line","series","legend","marker","fill"]},[this.fills.template]));this._legendFill=n;let a=this._root.interfaceColors.get("disabled");if(s.states.create("disabled",{fill:a,stroke:a}),n.states.create("disabled",{fill:a,stroke:a}),this.bullets.length>0){let t=this.bullets.getIndex(0);if(t){let i=t(e._root,this,new _.s(this,{legend:!0},{}));if(i){let t=i.get("sprite");t instanceof l.A&&t.states.create("disabled",{fill:a,stroke:a}),t&&(t.setAll({tooltipText:void 0,tooltipHTML:void 0,focusable:void 0,focusableGroup:void 0,ariaLabel:void 0}),e.children.push(t),t.setAll({x:e.width()/2,y:e.height()/2}),e.events.on("boundschanged",()=>{t.setAll({x:e.width()/2,y:e.height()/2})}))}}}}}}Object.defineProperty(x,"className",{enumerable:!0,configurable:!0,writable:!0,value:"LineSeries"}
1),Object.defineProperty(x,"classNames",{enumerable:!0,configurable:!0,writable:!0,value:s.f.classNames.concat([x.className])})},46554:(e,t,i)=>{i.d(t,{A:()=>s});function s(e){return function(){return e}}},47803:(e,t,i)=>{i.d(t,{i:()=>o});let s=Math.PI,l=2*s,n=l-1e-6;function a(e){this._+=e[0];for(let t=1,i=e.length;t<i;++t)this._+=arguments[t]+e[t]}class r{constructor(e){this._x0=this._y0=this._x1=this._y1=null,this._="",this._append=null==e?a:function(e){let t=Math.floor(e);if(!(t>=0))throw Error(`invalid digits: ${e}`);if(t>15)return a;let i=10**t;return function(e){this._+=e[0];for(let t=1,s=e.length;t<s;++t)this._+=Math.round(arguments[t]*i)/i+e[t]}}(e)}moveTo(e,t){this._append`M${this._x0=this._x1=+e},${this._y0=this._y1=+t}`}closePath(){null!==this._x1&&(this._x1=this._x0,this._y1=this._y0,this._append`Z`)}lineTo(e,t){this._append`L${this._x1=+e},${this._y1=+t}`}quadraticCurveTo(e,t,i,s){this._append`Q${+e},${+t},${this._x1=+i},${this._y1=+s}`}bezierCurveTo(e,t,i,s,l,n){this._append`C${+e},${+t},${+i},${+s},${this._x1=+l},${this._y1=+n}`}arcTo(e,t,i,l,n){if(e*=1,t*=1,i*=1,l*=1,(n*=1)<0)throw Error(`negative radius: ${n}`);let a=this._x1,r=this._y1,o=i-e,h=l-t,u=a-e,f=r-t,c=u*u+f*f;if(null===this._x1)this._append`M${this._x1=e},${this._y1=t}`;else if(c>1e-6)if(Math.abs(f*o-h*u)>1e-6&&n){let d=i-a,p=l-r,_=o*o+h*h,g=Math.sqrt(_),m=Math.sqrt(c),y=n*Math.tan((s-Math.acos((_+c-(d*d+p*p))/(2*g*m)))/2),b=y/m,x=y/g;Math.abs(b-1)>1e-6&&this._append`L${e+b*u},${t+b*f}`,this._append`A${n},${n},0,0,${+(f*d>u*p)},${this._x1=e+x*o},${this._y1=t+x*h}`}else this._append`L${this._x1=e},${this._y1=t}`}arc(e,t,i,a,r,o){if(e*=1,t*=1,i*=1,o=!!o,i<0)throw Error(`negative radius: ${i}`);let h=i*Math.cos(a),u=i*Math.sin(a),f=e+h,c=t+u,d=1^o,p=o?a-r:r-a;null===this._x1?this._append`M${f},${c}`:(Math.abs(this._x1-f)>1e-6||Math.abs(this._y1-c)>1e-6)&&this._append`L${f},${c}`,i&&(p<0&&(p=p%l+l),p>n?this._append`A${i},${i},0,1,${d},${e-h},${t-u}A${i},${i},0,1,${d},${this._x1=f},${this._y1=c}`:p>1e-6&&this._append`A${i},${i},0,${+(p>=s)},${d},${this._x1=e+i*Math.cos(r)},${this._y1=t+i*Math.sin(r)}`)}rect(e,t,i,s){this._append`M${this._x0=this._x1=+e},${this._y0=this._y1=+t}h${i*=1}v${+s}h${-i}Z`}toString(){return this._}}function o(e){let t=3;return e.digits=function(i){if(!arguments.length)return t;if(null==i)t=null;else{let e=Math.floor(i);if(!(e>=0))throw RangeError(`invalid digits: ${i}`);t=e}return e},()=>new r(t)}r.prototype}}]);

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.