PageSourceSearch

https://www.pkoleasing.pl/_next/static/chunks/4265.a27af6334753d92a.js

js pkoleasing.pl collected 2026-09-24 19:47:45 UTC 24,686 bytes, 6 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4265,4691],{4691:(e,t,r)=>{r.d(t,{A:()=>c});var i=r(75834),s=r(92523),n=r(91483),o=r(9853),a=r(26514);function l(e){return e.substring(2).toLowerCase()}let c=function(e){let{children:t,disableReactTree:r=!1,mouseEvent:c="onClick",onClickAway:u,touchEvent:h="onTouchEnd"}=e,p=i.useRef(!1),d=i.useRef(null),m=i.useRef(!1),f=i.useRef(!1);i.useEffect(()=>(setTimeout(()=>{m.current=!0},0),()=>{m.current=!1}),[]);let g=(0,s.A)(t.ref,d),y=(0,n.A)(e=>{let t=f.current;f.current=!1;let i=(0,o.A)(d.current);if(!(!m.current||!d.current||"clientX"in e&&(i.documentElement.clientWidth<e.clientX||i.documentElement.clientHeight<e.clientY))){if(p.current){p.current=!1;return}(e.composedPath?e.composedPath().indexOf(d.current)>-1:!i.documentElement.contains(e.target)||d.current.contains(e.target))||!r&&t||u(e)}}),v=e=>r=>{f.current=!0;let i=t.props[e];i&&i(r)},A={ref:g};return!1!==h&&(A[h]=v(h)),i.useEffect(()=>{if(!1!==h){let e=l(h),t=(0,o.A)(d.current),r=()=>{p.current=!0};return t.addEventListener(e,y),t.addEventListener("touchmove",r),()=>{t.removeEventListener(e,y),t.removeEventListener("touchmove",r)}}},[y,h]),!1!==c&&(A[c]=v(c)),i.useEffect(()=>{if(!1!==c){let e=l(c),t=(0,o.A)(d.current);return t.addEventListener(e,y),()=>{t.removeEventListener(e,y)}}},[y,c]),(0,a.jsx)(i.Fragment,{children:i.cloneElement(t,A)})}},15401:(e,t,r)=>{r.d(t,{w1:()=>C});var i,s=r(78983),n=r.n(s);let o=[Int8Array,Uint8Array,Uint8ClampedArray,Int16Array,Uint16Array,Int32Array,Uint32Array,Float32Array,Float64Array];class a{static from(e){if(!(e instanceof ArrayBuffer))throw Error("Data must be an instance of ArrayBuffer.");let[t,r]=new Uint8Array(e,0,2);if(219!==t)throw Error("Data does not appear to be in a KDBush format.");let i=r>>4;if(1!==i)throw Error(`Got v${i} data when expected v1.`);let s=o[15&r];if(!s)throw Error("Unrecognized array type.");
1let[n]=new Uint16Array(e,2,1),[l]=new Uint32Array(e,4,1);return new a(l,n,s,e)}constructor(e,t=64,r=Float64Array,i){if(isNaN(e)||e<0)throw Error(`Unpexpected numItems value: ${e}.`);this.numItems=+e,this.nodeSize=Math.min(Math.max(+t,2),65535),this.ArrayType=r,this.IndexArrayType=e<65536?Uint16Array:Uint32Array;let s=o.indexOf(this.ArrayType),n=2*e*this.ArrayType.BYTES_PER_ELEMENT,a=e*this.IndexArrayType.BYTES_PER_ELEMENT,l=(8-a%8)%8;if(s<0)throw Error(`Unexpected typed array class: ${r}.`);i&&i instanceof ArrayBuffer?(this.data=i,this.ids=new this.IndexArrayType(this.data,8,e),this.coords=new this.ArrayType(this.data,8+a+l,2*e),this._pos=2*e,this._finished=!0):(this.data=new ArrayBuffer(8+n+a+l),this.ids=new this.IndexArrayType(this.data,8,e),this.coords=new this.ArrayType(this.data,8+a+l,2*e),this._pos=0,this._finished=!1,new Uint8Array(this.data,0,2).set([219,16+s]),new Uint16Array(this.data,2,1)[0]=t,new Uint32Array(this.data,4,1)[0]=e)}add(e,t){let r=this._pos>>1;return this.ids[r]=r,this.coords[this._pos++]=e,this.coords[this._pos++]=t,r}finish(){let e=this._pos>>1;if(e!==this.numItems)throw Error(`Added ${e} items when expected ${this.numItems}.`);return function e(t,r,i,s,n,o){if(n-s<=i)return;let a=s+n>>1;(function e(t,r,i,s,n,o){for(;n>s;){if(n-s>600){let a=n-s+1,l=i-s+1,c=Math.log(a),u=.5*Math.exp(2*c/3),h=.5*Math.sqrt(c*u*(a-u)/a)*(l-a/2<0?-1:1),p=Math.max(s,Math.floor(i-l*u/a+h)),d=Math.min(n,Math.floor(i+(a-l)*u/a+h));e(t,r,i,p,d,o)}let a=r[2*i+o],c=s,u=n;for(l(t,r,s,i),r[2*n+o]>a&&l(t,r,s,n);c<u;){for(l(t,r,c,u),c++,u--;r[2*c+o]<a;)c++;for(;r[2*u+o]>a;)u--}r[2*s+o]===a?l(t,r,s,u):l(t,r,++u,n),u<=i&&(s=u+1),i<=u&&(n=u-1)}})(t,r,a,s,n,o),e(t,r,i,s,a-1,1-o),e(t,r,i,a+1,n,1-o)}(this.ids,this.coords,this.nodeSize,0,this.numItems-1,0),this._finished=!0,this}range(e,t,r,i){if(!this._finished)throw Error("Data not yet indexed - call index.finish().");let{ids:s,coords:n,nodeSize:o}=this,a=[0,s.length-1,0],l=[];for(;a.length;){let c=a.pop()||0,u=a.pop()||0,h=a.pop()||0;if(u-h<=o){for(let o=h;o<=u;o++){let a=n[2*o],c=n[2*o+1];a>=e&&a<=r&&c>=t&&c<=i&&l.push(s[o])}continue}let p=h+u>>1,d=n[2*p],m=n[2*p+1];d>=e&&d<=r&&m>=t&&m<=i&&l.push(s[p]),(0===c?e<=d:t<=m)&&(a.push(h),a.push(p-1),a.push(1-c)),(0===c?r>=d:i>=m)&&(a.push(p+1),a.push(u),a.push(1-c))}return l}within(e,t,r){if(!this._finished)throw Error("Data not yet indexed - call index.finish().");let{ids:i,coords:s,nodeSize:n}=this,o=[0,i.length-1,0],a=[],l=r*r;for(;o.length;){let c=o.pop()||0,h=o.pop()||0,p=o.pop()||0;if(h-p<=n){for(let r=p;r<=h;r++)u(s[2*r],s[2*r+1],e,t)<=l&&a.push(i[r]);continue}let d=p+h>>1,m=s[2*d],f=s[2*d+1];u(m,f,e,t)<=l&&a.push(i[d]),(0===c?e-r<=m:t-r<=f)&&(o.push(p),o.push(d-1),o.push(1-c)),(0===c?e+r>=m:t+r>=f)&&(o.push(d+1),o.push(h),o.push(1-c))}return a}}function l(e,t,r,i){c(e,r,i),c(t,2*r,2*i),c(t,2*r+1,2*i+1)}function c(e,t,r){let i=e[t];e[t]=e[r],e[r]=i}
1function u(e,t,r,i){let s=e-r,n=t-i;return s*s+n*n}let h={minZoom:0,maxZoom:16,minPoints:2,radius:40,extent:512,nodeSize:64,log:!1,generateId:!1,reduce:null,map:e=>e},p=Math.fround||(e=>t=>(e[0]=+t,e[0]))(new Float32Array(1));class d{constructor(e){this.options=Object.assign(Object.create(h),e),this.trees=Array(this.options.maxZoom+1),this.stride=this.options.reduce?7:6,this.clusterProps=[]}load(e){let{log:t,minZoom:r,maxZoom:i}=this.options;t&&console.time("total time");let s=`prepare ${e.length} points`;t&&console.time(s),this.points=e;let n=[];for(let t=0;t<e.length;t++){let r=e[t];if(!r.geometry)continue;let[i,s]=r.geometry.coordinates,o=p(g(i)),a=p(y(s));n.push(o,a,1/0,t,-1,1),this.options.reduce&&n.push(0)}let o=this.trees[i+1]=this._createTree(n);t&&console.timeEnd(s);for(let e=i;e>=r;e--){let r=+Date.now();o=this.trees[e]=this._createTree(this._cluster(o,e)),t&&console.log("z%d: %d clusters in %dms",e,o.numItems,Date.now()-r)}return t&&console.timeEnd("total time"),this}getClusters(e,t){let r=((e[0]+180)%360+360)%360-180,i=Math.max(-90,Math.min(90,e[1])),s=180===e[2]?180:((e[2]+180)%360+360)%360-180,n=Math.max(-90,Math.min(90,e[3]));if(e[2]-e[0]>=360)r=-180,s=180;else if(r>s){let e=this.getClusters([r,i,180,n],t),o=this.getClusters([-180,i,s,n],t);return e.concat(o)}let o=this.trees[this._limitZoom(t)],a=o.range(g(r),y(n),g(s),y(i)),l=o.data,c=[];for(let e of a){let t=this.stride*e;c.push(l[t+5]>1?m(l,t,this.clusterProps):this.points[l[t+3]])}return c}getChildren(e){let t=this._getOriginId(e),r=this._getOriginZoom(e),i="No cluster with the specified id.",s=this.trees[r];if(!s)throw Error(i);let n=s.data;if(t*this.stride>=n.length)throw Error(i);let o=this.options.radius/(this.options.extent*Math.pow(2,r-1)),a=n[t*this.stride],l=n[t*this.stride+1],c=s.within(a,l,o),u=[];for(let t of c){let r=t*this.stride;n[r+4]===e&&u.push(n[r+5]>1?m(n,r,this.clusterProps):this.points[n[r+3]])}if(0===u.length)throw Error(i);return u}getLeaves(e,t,r){t=t||10,r=r||0;let i=[];return this._appendLeaves(i,e,t,r,0),i}getTile(e,t,r){let i=this.trees[this._limitZoom(e)],s=Math.pow(2,e),{extent:n,radius:o}=this.options,a=o/n,l=(r-a)/s,c=(r+1+a)/s,u={features:[]};return this._addTileFeatures(i.range((t-a)/s,l,(t+1+a)/s,c),i.data,t,r,s,u),0===t&&this._addTileFeatures(i.range(1-a/s,l,1,c),i.data,s,r,s,u),t===s-1&&this._addTileFeatures(i.range(0,l,a/s,c),i.data,-1,r,s,u),u.features.length?u:null}getClusterExpansionZoom(e){let t=this._getOriginZoom(e)-1;for(;t<=this.options.maxZoom;){let r=this.getChildren(e);if(t++,1!==r.length)break;e=r[0].properties.cluster_id}return t}_appendLeaves(e,t,r,i,s){for(let n of this.getChildren(t)){let t=n.properties;if(t&&t.cluster?s+t.point_count<=i?s+=t.point_count:s=this._appendLeaves(e,t.cluster_id,r,i,s):s<i?s++:e.push(n),e.length===r)break}return s}_createTree(e){let t=new a(e.length/this.stride|0,this.options.nodeSize,Float32Array);for(let r=0;r<e.length;r+=this.stride)t.add(e[r],e[r+1]);return t.finish(),t.data=e,t}_addTileFeatures(e,t,r,i,s,n){for(let o of e){let e,a,l,c,u=o*this.stride,h=t[u+5]>1;if(h)e=f(t,u,this.clusterProps),a=t[u],l=t[u+1];else{let r=this.points[t[u+3]];e=r.properties;let[i,s]=r.geometry.coordinates;a=g(i),l=y(s)}let p={type:1,geometry:[[Math.round(this.options.extent*(a*s-r)),Math.round(this.options.extent*(l*s-i))]],tags:e};void 0!==(c=h||this.options.generateId?t[u+3]:this.points[t[u+3]].id)&&(p.id=c),n.features.push(p)}}_limitZoom(e){return Math.max(this.options.minZoom,Math.min(Math.floor(+e),this.options.maxZoom+1))}_cluster(e,t){let{radius:r,extent:i,reduce:s,minPoints:n}=this.options,o=r/(i*Math.pow(2,t)),a=e.data,l=[],c=this.stride;for(let r=0;r<a.length;r+=c){if(a[r+2]<=t)continue;a[r+2]=t;let i=a[r],u=a[r+1],h=e.within(a[r],a[r+1],o),p=a[r+5],d=p;for(let e of h){let r=e*c;a[r+2]>t&&(d+=a[r+5])}if(d>p&&d>=n){let e,n=i*p,o=u*p,m=-1,f=((r/c|0)<<5)+(t+1)+this.points.length;for(let i of h){let l=i*c;if(a[l+2]<=t)continue;a[l+2]=t;let u=a[l+5];n+=a[l]*u,o+=a[l+1]*u,a[l+4]=f,s&&(e||(e=this._map(a,r,!0),m=this.clusterProps.length,this.clusterProps.push(e)),s(e,this._map(a,l)))}a[r+4]=f,l.push(n/d,o/d,1/0,f,-1,d),s&&l.push(m)}else{for(let e=0;e<c;e++)l.push(a[r+e]);if(d>1)for(let e of h){let r=e*c;if(!(a[r+2]<=t)){a[r+2]=t;for(let e=0;e<c;e++)l.push(a[r+e])}}}}return l}_getOriginId(e){return e-this.points.length>>5}_getOriginZoom(e){return(e-this.points.length)%32}_map(e,t,r){if(e[t+5]>1){let i=this.clusterProps[e[t+6]];return r?Object.assign({},i):i}let i=this.points[e[t+3]].properties,s=this.options.map(i);return r&&s===i?Object.assign({},s):s}}function m(e,t,r){return{type:"Feature",id:e[t+3],properties:f(e,t,r),geometry:{type:"Point",coordinates:[(e[t]-.5)*360,360*Math.atan(Math.exp((180-360*e[t+1])*Math.PI/180)
1)/Math.PI-90]}}}function f(e,t,r){let i=e[t+5],s=i>=1e4?`${Math.round(i/1e3)}k`:i>=1e3?`${Math.round(i/100)/10}k`:i,n=e[t+6];return Object.assign(-1===n?{}:Object.assign({},r[n]),{cluster:!0,cluster_id:e[t+3],point_count:i,point_count_abbreviated:s})}function g(e){return e/360+.5}function y(e){let t=Math.sin(e*Math.PI/180),r=.5-.25*Math.log((1+t)/(1-t))/Math.PI;return r<0?0:r>1?1:r}class v{static isAdvancedMarkerAvailable(e){return google.maps.marker&&!0===e.getMapCapabilities().isAdvancedMarkersAvailable}static isAdvancedMarker(e){return google.maps.marker&&e instanceof google.maps.marker.AdvancedMarkerElement}static setMap(e,t){this.isAdvancedMarker(e)?e.map=t:e.setMap(t)}static getPosition(e){if(this.isAdvancedMarker(e)){if(e.position){if(e.position instanceof google.maps.LatLng)return e.position;if(e.position.lat&&e.position.lng)return new google.maps.LatLng(e.position.lat,e.position.lng)}return new google.maps.LatLng(null)}return e.getPosition()}static getVisible(e){return!!this.isAdvancedMarker(e)||e.getVisible()}}class A{constructor({markers:e,position:t}){this.markers=e,t&&(t instanceof google.maps.LatLng?this._position=t:this._position=new google.maps.LatLng(t))}get bounds(){if(0===this.markers.length&&!this._position)return;let e=new google.maps.LatLngBounds(this._position,this._position);for(let t of this.markers)e.extend(v.getPosition(t));return e}get position(){return this._position||this.bounds.getCenter()}get count(){return this.markers.filter(e=>v.getVisible(e)).length}push(e){this.markers.push(e)}delete(){this.marker&&(v.setMap(this.marker,null),this.marker=void 0),this.markers.length=0}}class x{constructor({maxZoom:e=16}){this.maxZoom=e}noop({markers:e}){return M(e)}}let M=e=>e.map(e=>new A({position:v.getPosition(e),markers:[e]}));class k extends x{constructor(e){var{maxZoom:t,radius:r=60}=e,i=function(e,t){var r={};for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&0>t.indexOf(i)&&(r[i]=e[i]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var s=0,i=Object.getOwnPropertySymbols(e);s<i.length;s++)0>t.indexOf(i[s])&&Object.prototype.propertyIsEnumerable.call(e,i[s])&&(r[i[s]]=e[i[s]]);return r}(e,["maxZoom","radius"]);super({maxZoom:t}),this.state={zoom:-1},this.superCluster=new d(Object.assign({maxZoom:this.maxZoom,radius:r},i))}calculate(e){let t=!1,r={zoom:e.map.getZoom()};if(!n()(e.markers,this.markers)){t=!0,this.markers=[...e.markers];let r=this.markers.map(e=>{let t=v.getPosition(e);return{type:"Feature",geometry:{type:"Point",coordinates:[t.lng(),t.lat()]},properties:{marker:e}}});this.superCluster.load(r)}return!t&&(this.state.zoom<=this.maxZoom||r.zoom<=this.maxZoom)&&(t=!n()(this.state,r)),this.state=r,t&&(this.cluster
1s=this.cluster(e)),{clusters:this.clusters,changed:t}}cluster({map:e}){return this.superCluster.getClusters([-180,-90,180,90],Math.round(e.getZoom())).map(e=>this.transformCluster(e))}transformCluster({geometry:{coordinates:[e,t]},properties:r}){if(r.cluster)return new A({markers:this.superCluster.getLeaves(r.cluster_id,1/0).map(e=>e.properties.marker),position:{lat:t,lng:e}});let i=r.marker;return new A({markers:[i],position:v.getPosition(i)})}}class w{constructor(e,t){this.markers={sum:e.length};let r=t.map(e=>e.count),i=r.reduce((e,t)=>e+t,0);this.clusters={count:t.length,markers:{mean:i/t.length,sum:i,min:Math.min(...r),max:Math.max(...r)}}}}class b{render({count:e,position:t},r,i){let s=e>Math.max(10,r.clusters.markers.mean)?"#ff0000":"#0000ff",n=`<svg fill="${s}" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 240 240" width="50" height="50">
2<circle cx="120" cy="120" opacity=".6" r="70" />
3<circle cx="120" cy="120" opacity=".3" r="90" />
4<circle cx="120" cy="120" opacity=".2" r="110" />
5<text x="50%" y="50%" style="fill:#fff" text-anchor="middle" font-size="50" dominant-baseline="middle" font-family="roboto,arial,sans-serif">${e}</text>
6</svg>`,o=`Cluster of ${e} markers`,a=Number(google.maps.Marker.MAX_ZINDEX)+e;if(v.isAdvancedMarkerAvailable(i)){let e=new DOMParser().parseFromString(n,"image/svg+xml").documentElement;return e.setAttribute("transform","translate(0 25)"),new google.maps.marker.AdvancedMarkerElement({map:i,position:t,zIndex:a,title:o,content:e})}let l={position:t,zIndex:a,title:o,icon:{url:`data:image/svg+xml;base64,${btoa(n)}`,anchor:new google.maps.Point(25,25)}};return new google.maps.Marker(l)}}class E{constructor(){!function(e,t){for(let r in t.prototype)e.prototype[r]=t.prototype[r]}(E,google.maps.OverlayView)}}!function(e){e.CLUSTERING_BEGIN="clusteringbegin",e.CLUSTERING_END="clusteringend",e.CLUSTER_CLICK="click"}(i||(i={}));let _=(e,t,r)=>{r.fitBounds(t.bounds)};class C extends E{constructor({map:e,markers:t=[],algorithmOptions:r={},algorithm:i=new k(r),renderer:s=new b,onClusterClick:n=_}){super(),this.markers=[...t],this.clusters=[],this.algorithm=i,this.renderer=s,this.onClusterClick=n,e&&this.setMap(e)}addMarker(e,t){!this.markers.includes(e)&&(this.markers.push(e),t||this.render())}addMarkers(e,t){e.forEach(e=>{this.addMarker(e,!0)}),t||this.render()}removeMarker(e,t){let r=this.markers.indexOf(e);return -1!==r&&(v.setMap(e,null),this.markers.splice(r,1),t||this.render(),!0)}removeMarkers(e,t){let r=!1;return e.forEach(e=>{r=this.removeMarker(e,!0)||r}),r&&!t&&this.render(),r}clearMarkers(e){this.markers.length=0,e||this.render()}render(){let e=this.getMap();if(e instanceof google.maps.Map&&e.getProjection()){google.maps.event.trigger(this,i.CLUSTERING_BEGIN,this);let{clusters:t,changed:r}=this.algorithm.calculate({markers:this.markers,map:e,mapCanvasProjection:this.getProjection()});if(r||void 0==r){let e=new Set;for(let r of t)1==r.markers.length&&e.add(r.markers[0]);let r=[];for(let t of this.clusters)null!=t.marker&&(1==t.markers.length?e.has(t.marker)||v.setMap(t.marker,null):r.push(t.marker));this.clusters=t,this.renderClusters(),requestAnimationFrame(()=>r.forEach(e=>v.setMap(e,null)))}google.maps.event.trigger(this,i.CLUSTERING_END,this)}}onAdd(){this.idleListener=this.getMap().addListener("idle",this.render.bind(this)),this.render()}onRemove(){google.maps.event.removeListener(this.idleListener),this.reset()}reset(){this.markers.forEach(e=>v.setMap(e,null)),this.clusters.forEach(e=>e.delete()),this.clusters=[]}renderClusters(){let e=new w(this.markers,this.clusters),t=this.getMap();this.clusters.forEach(r=>{1===r.markers.length?r.marker=r.markers[0]:(r.marker=this.renderer.render(r,e,t),r.markers.forEach(e=>v.setMap(e,null)),this.onClusterClick&&r.marker.addListener("click",e=>{google.maps.event.trigger(this,i.CLUSTER_CLICK,r),this.onClusterClick(e,r,t)})),v.setMap(r.marker,t)})}}},78983:e=>{e.exports=function e(t,r){if(t===r)return!0;if(t&&r&&"object"==typeof t&&"object"==typeof r){if(t.constructor!==r.constructor)return!1;if(Array.isArray(t)){if((i=t.length)!=r.length)return!1;for(s=i;0!=s--;)if(!e(t[s],r[s]))return!1;return!0}if(t.constructor===RegExp)return t.source===r.source&&t.flags===r.flags;if(t.valueOf!==Object.prototype.valueOf)return t.valueOf()===r.valueOf();if(t.toString!==Object.prototype.toString)return t.toString()===r.toString();if((i=(n=Object.keys(t)).length)!==Object.keys(r).length)return!1;for(s=i;0!=s--;)if(!Object.prototype.hasOwnProperty.call(r,n[s]))return!1;for(s=i;0!=s--;){var i,s,n,o=n[s];if(!e(t[o],r[o]))return!1}return!0}return t!=t&&r!=r}},96579:(e,t,r)=>{r.d(t,{A:()=>I});var i=r(77488),s=r(62199),n=r(75834),o=r(83136);let a={border:0,clip:"rect(0 0 0 0)",height:"1px",margin:"-1px",overflow:"hidden",padding:0,position:"absolute",whiteSpace:"nowrap",width:"1px"};var l=r(15345),c=r(1151),u=r(74796),h=r(25872),p=r(48835),d=r(52918),m=r(68786),f=r(54268),g=r(26514);let y=(0,f.A)((0,g.jsx)("path",{d:"M12 17.27L18.18 21l-1.64-7.03L22 9.24l-7.19-.61L12 2 9.19 8.63 2 9.24l5.46 4.73L5.82 21z"}),"Star"),v=(0,f.A)((0,g.jsx)("path",{d:"M22 9.24l-7.19-.62L12 2 9.19 8.63 2 9.24l5.46 4.73L5.82 21 12 17.27 18.18 21l-1.63-7.03L22 9.24zM12 15.4l-3.76 2.27 1-4.28-3.32-2.88 4.38-.38L12 6.1l1.71 4.04 4.38.38-3.32 2.88 1 4.28L12 15.4z"}),"StarBorder");
6var A=r(85985),x=r(77271),M=r(7663);function k(e){return(0,M.A)("MuiRating",e)}let w=(0,r(47687).A)("MuiRating",["root","sizeSmall","sizeMedium","sizeLarge","readOnly","disabled","focusVisible","visuallyHidden","pristine","label","labelEmptyValueActive","icon","iconEmpty","iconFilled","iconHover","iconFocus","iconActive","decimal"]),b=["value"],E=["className","defaultValue","disabled","emptyIcon","emptyLabelText","getLabelText","highlightSelectedOnly","icon","IconContainerComponent","max","name","onChange","onChangeActive","onMouseLeave","onMouseMove","precision","readOnly","size","value"];function _(e,t){return null==e?e:Number((Math.round(e/t)*t).toFixed(function(e){let t=e.toString().split(".")[1];return t?t.length:0}(t)))}let C=(0,x.Ay)("span",{name:"MuiRating",slot:"Root",overridesResolver:(e,t)=>{let{ownerState:r}=e;return[{["& .".concat(w.visuallyHidden)]:t.visuallyHidden},t.root,t["size".concat((0,u.A)(r.size))],r.readOnly&&t.readOnly]}})(e=>{let{theme:t,ownerState:r}=e;return(0,s.A)({display:"inline-flex",position:"relative",fontSize:t.typography.pxToRem(24),color:"#faaf00",cursor:"pointer",textAlign:"left",WebkitTapHighlightColor:"transparent",["&.".concat(w.disabled)]:{opacity:t.palette.action.disabledOpacity,pointerEvents:"none"},["&.".concat(w.focusVisible," .").concat(w.iconActive)]:{outline:"1px solid #999"},["& .".concat(w.visuallyHidden)]:a},"small"===r.size&&{fontSize:t.typography.pxToRem(18)},"large"===r.size&&{fontSize:t.typography.pxToRem(30)},r.readOnly&&{pointerEvents:"none"})}),L=(0,x.Ay)("label",{name:"MuiRating",slot:"Label",overridesResolver:(e,t)=>t.label})(e=>{let{ownerState:t}=e;return(0,s.A)({cursor:"inherit"},t.emptyValueFocused&&{top:0,bottom:0,position:"absolute",outline:"1px solid #999",width:"100%"})}),O=(0,x.Ay)("span",{name:"MuiRating",slot:"Icon",overridesResolver:(e,t)=>{let{ownerState:r}=e;return[t.icon,r.iconEmpty&&t.iconEmpty,r.iconFilled&&t.iconFilled,r.iconHover&&t.iconHover,r.iconFocus&&t.iconFocus,r.iconActive&&t.iconActive]}})(e=>{let{theme:t,ownerState:r}=e;return(0,s.A)({display:"flex",transition:t.transitions.create("transform",{duration:t.transitions.duration.shortest}),pointerEvents:"none"},r.iconActive&&{transform:"scale(1.2)"},r.iconEmpty&&{color:t.palette.action.disabled})}),F=(0,x.Ay)("span",{name:"MuiRating",slot:"Decimal",shouldForwardProp:e=>(0,x._n)(e)&&"iconActive"!==e,overridesResolver:(e,t)=>{let{iconActive:r}=e;return[t.decimal,r&&t.iconActive]}})(e=>{let{iconActive:t}=e;return(0,s.A)({position:"relative"},t&&{transform:"scale(1.2)"})});function j(e){let t=(0,i.A)(e,b);return(0,g.jsx)("span",(0,s.A)({},t))}function S(e){let{classes:t,disabled:r,emptyIcon:i,focus:a,getLabelText:l,highlightSelectedOnly:c,hover:u,icon:p,IconContainerComponent:d,isActive:m,itemValue:f,labelProps:y,name:v,onBlur:A,onChange:x,onClick:M,onFocus:k,readOnly:w,ownerState:b,ratingValue:E,ratingValueRounded:_}=e,C=c?f===E:f<=E,F=f<=u,j=f<=a,S=f===_,P=(0,h.A)(),R=(0,g.jsx)(O,{as:d,value:f,className:(0,o.A)(t.icon,C?t.iconFilled:t.iconEmpty,F&&t.iconHover,j&&t.iconFocus,m&&t.iconActive),ownerState:(0,s.A)({},b,{iconEmpty:!C,iconFilled:C,iconHover:F,iconFocus:j,iconActive:m}),children:i&&!C?i:p});return w?(0,g.jsx)("span",(0,s.A)({},y,{children:R})):(0,g.jsxs)(n.Fragment,{children:[(0,g.jsxs)(L,(0,s.A)({ownerState:(0,s.A)({},b,{emptyValueFocused:void 0}),htmlFor:P},y,{children:[R,(0,g.jsx)("span",{className:t.visuallyHidden,children:l(f)})]})),(0,g.jsx)("input",{className:t.visuallyHidden,onFocus:k,onBlur:A,onChange:x,onClick:M,disabled:r,value:f,id:P,type:"radio",name:v,checked:S})]})}let P=(0,g.jsx)(y,{fontSize:"inherit"}),R=(0,g.jsx)(v,{fontSize:"inherit"});function T(e){return"".concat(e," Star").concat(1!==e?"s":"")}let I=n.forwardRef(function(e,t){let r=(0,A.A)({name:"MuiRating",props:e}),{className:a,defaultValue:f=null,disabled:y=!1,emptyIcon:v=R,emptyLabelText:x="Empty",getLabelText:M=T,highlightSelectedOnly:w=!1,icon:b=P,IconContainerComponent:O=j,max:I=5,name:z,onChange:N,onChangeActive:Z,onMouseLeave:U,onMouseMove:B,precision:H=1,readOnly:V=!1,size:D="medium",value:$}=r,G=(0,i.A)(r,E),X=(0,h.A)(z),[Y,K]=(0,p.A)({controlled:$,default:f,name:"Rating"}),q=_(Y,H),W=(0,c.A)(),[{hover:J,focus:Q},ee]=n.useState({hover:-1,focus:-1}),et=q;-1!==J&&(et=J),-1!==Q&&(et=Q);let{isFocusVisibleRef:er,onBlur:ei,onFocus:es,ref:en}=(0,d.A)(),[eo,ea]=n.useState(!1),el=n.useRef(),ec=(0,m.A)(en,el),eu=(0,m.A)(ec,t),eh=e=>{let t=""===e.target.value?null:parseFloat(e.target.value);-1!==J&&(t=J),K(t),N&&N(e,t)},ep=e=>{(0!==e.clientX||0!==e.clientY)&&(ee({hover:-1,focus:-1}),K(null),N&&parseFloat(e.target.value)===q&&N(e,null))},ed=e=>{es(e),!0===er.current&&ea(!0);let t=parseFloat(e.target.value);ee(e=>({hover:e.hover,focus:t}))},em=e=>{-1===J&&(ei(e),!1===er.current&&ea(!1),ee(e=>({hover:e.hover,focus:-1})))},[ef,eg]=n.useState(!1),ey=(0,s.A)({},r,{defaultValue:f,disabled:y,emptyIcon:v,emptyLabelText:x,emptyValueFocused:ef,focu
6sVisible:eo,getLabelText:M,icon:b,IconContainerComponent:O,max:I,precision:H,readOnly:V,size:D}),ev=(e=>{let{classes:t,size:r,readOnly:i,disabled:s,emptyValueFocused:n,focusVisible:o}=e,a={root:["root","size".concat((0,u.A)(r)),s&&"disabled",o&&"focusVisible",i&&"readyOnly"],label:["label","pristine"],labelEmptyValue:[n&&"labelEmptyValueActive"],icon:["icon"],iconEmpty:["iconEmpty"],iconFilled:["iconFilled"],iconHover:["iconHover"],iconFocus:["iconFocus"],iconActive:["iconActive"],decimal:["decimal"],visuallyHidden:["visuallyHidden"]};return(0,l.A)(a,k,t)})(ey);return(0,g.jsxs)(C,(0,s.A)({ref:eu,onMouseMove:e=>{var t;let r;B&&B(e);let i=el.current,{right:s,left:n}=i.getBoundingClientRect(),{width:o}=i.firstChild.getBoundingClientRect();r="rtl"===W.direction?(s-e.clientX)/(o*I):(e.clientX-n)/(o*I);let a=_(I*r+H/2,H);a=(t=a)<H?H:t>I?I:t,ee(e=>e.hover===a&&e.focus===a?e:{hover:a,focus:a}),ea(!1),Z&&J!==a&&Z(e,a)},onMouseLeave:e=>{U&&U(e),ee({hover:-1,focus:-1}),Z&&-1!==J&&Z(e,-1)},className:(0,o.A)(ev.root,a),ownerState:ey,role:V?"img":null,"aria-label":V?M(et):null},G,{children:[Array.from(Array(I)).map((e,t)=>{let r=t+1,i={classes:ev,disabled:y,emptyIcon:v,focus:Q,getLabelText:M,highlightSelectedOnly:w,hover:J,icon:b,IconContainerComponent:O,name:X,onBlur:em,onChange:eh,onClick:ep,onFocus:ed,ratingValue:et,ratingValueRounded:q,readOnly:V,ownerState:ey},n=r===Math.ceil(et)&&(-1!==J||-1!==Q);if(H<1){let e=Array.from(Array(1/H));return(0,g.jsx)(F,{className:(0,o.A)(ev.decimal,n&&ev.iconActive),ownerState:ey,iconActive:n,children:e.map((t,n)=>{let o=_(r-1+(n+1)*H,H);return(0,g.jsx)(S,(0,s.A)({},i,{isActive:!1,itemValue:o,labelProps:{style:e.length-1===n?{}:{width:o===et?"".concat((n+1)*H*100,"%"):"0%",overflow:"hidden",position:"absolute"}}}),o)})},r)}return(0,g.jsx)(S,(0,s.A)({},i,{isActive:n,itemValue:r}),r)}),!V&&!y&&(0,g.jsxs)(L,{className:(0,o.A)(ev.label,ev.labelEmptyValue),ownerState:ey,children:[(0,g.jsx)("input",{className:ev.visuallyHidden,value:"",id:"".concat(X,"-empty"),type:"radio",name:X,checked:null==q,onFocus:()=>eg(!0),onBlur:()=>eg(!1),onChange:eh}),(0,g.jsx)("span",{className:ev.visuallyHidden,children:x})]})]}))})}}]);

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.