PageSourceSearch

https://www.alcina-professional.com/cache-buster-1790906941/static/alcina/js/314.0c18d4186c9b206a52f2.js

js alcina-professional.com collected 2026-10-09 21:28:43 UTC 17,003 bytes, 7 lines download raw bytes

1/*! For license information please see 314.0c18d4186c9b206a52f2.js.LICENSE.txt */
2"use strict";(self.webpackChunkfrontend=self.webpackChunkfrontend||[]).push([[314],{2756:(t,e,r)=>{r.d(e,{XL:()=>I});var s,a,e=r(1666),i=r.n(e);const h=[Int8Array,Uint8Array,Uint8ClampedArray,Int16Array,Uint16Array,Int32Array,Uint32Array,Float32Array,Float64Array];class o{static from(t){if(!(t instanceof ArrayBuffer))throw new Error("Data must be an instance of ArrayBuffer.");var[e,r]=new Uint8Array(t,0,2);if(219!==e)throw new Error("Data does not appear to be in a KDBush format.");var s=r>>4;if(1!=s)throw new Error(`Got v${s} data when expected v1.`);e=h[15&r];if(!e)throw new Error("Unrecognized array type.");var[s]=new Uint16Array(t,2,1),[r]=new Uint32Array(t,4,1);return new o(r,s,e,t)}constructor(t,e=64,r=Float64Array,s){if(isNaN(t)||t<0)throw new Error(`Unpexpected numItems value: ${t}.`);this.numItems=+t,this.nodeSize=Math.min(Math.max(+e,2),65535),this.ArrayType=r,this.IndexArrayType=t<65536?Uint16Array:Uint32Array;var i=h.indexOf(this.ArrayType),o=2*t*this.ArrayType.BYTES_PER_ELEMENT,n=t*this.IndexArrayType.BYTES_PER_ELEMENT,a=(8-n%8)%8;if(i<0)throw new Error(`Unexpected typed array class: ${r}.`);s&&s instanceof ArrayBuffer?(this.data=s,this.ids=new this.IndexArrayType(this.data,8,t),this.coords=new this.ArrayType(this.data,8+n+a,2*t),this._pos=2*t,this._finished=!0):(this.data=new ArrayBuffer(8+o+n+a),this.ids=new this.IndexArrayType(this.data,8,t),this.coords=new this.ArrayType(this.data,8+n+a,2*t),this._pos=0,this._finished=!1,new Uint8Array(this.data,0,2).set([219,16+i]),new Uint16Array(this.data,2,1)[0]=e,new Uint32Array(this.data,4,1)[0]=t)}add(t,e){var r=this._pos>>1;return this.ids[r]=r,this.coords[this._pos++]=t,this.coords[this._pos++]=e,r}finish(){var t=this._pos>>1;if(t!==this.numItems)throw new Error(`Added ${t} items when expected ${this.numItems}.`);return function t(e,r,s,i,o,n){if(o-i<=s)return;const a=i+o>>1;d(e,r,a,i,o,n);t(e,r,s,i,a-1,1-n);t(e,r,s,1+a,o,1-n)}(this.ids,this.coords,this.nodeSize,0,this.numItems-1,0),this._finished=!0,this}range(e,r,s,i){if(!this._finished)throw new Error("Data not yet indexed - call index.finish().");var{ids:o,coords:n,nodeSize:t}=this;const a=[0,o.length-1,0],h=[];for(;a.length;){var l=a.pop()||0,p=a.pop()||0,c=a.pop()||0;if(p-c<=t)for(let t=c;t<=p;t++){var u=n[2*t],d=n[2*t+1];e<=u&&u<=s&&r<=d&&d<=i&&h.push(o[t])}else{var m=c+p>>1,g=n[2*m],f=n[2*m+1];e<=g&&g<=s&&r<=f&&f<=i&&h.push(o[m]),(0===l?e<=g:r<=f)&&(a.push(c),a.push(m-1),a.push(1-l)),(0===l?g<=s:f<=i)&&(a.push(1+m),a.push(p),a.push(1-l))}}return h}within(e,r,t){if(!this._finished)throw new Error("Data not yet indexed - call index.finish().");var{ids:s,coords:i,nodeSize:o}=this;const n=[0,s.length-1,0],a=[];for(var h=t*t;n.length;){var l=n.pop()||0,p=n.pop()||0,c=n.pop()||0;if(p-c<=o)for(let t=c;t<=p;t++)g(i[2*t],i[2*t+1],e,r)<=h&&a.push(s[t]);else{var u=c+p>>1,d=i[2*u],m=i[2*u+1];g(d,m,e,r)<=h&&a.push(s[u]),(0===l?e-t<=d:r-t<=m)&&(n.push(c),n.push(u-1),n.push(1-l)),(0===l?d<=e+t:m<=r+t)&&(n.push(1+u),n.push(p),n.push(1-l))}}return a}}function d(r,s,i,o,n,a){for(;o<n;){var h,l,p,c;600<n-o&&(h=n-o+1,l=i-o+1,c=Math.log(h),p=.5*Math.exp(2*c/3),c=.5*Math.sqrt(c*p*(h-p)/h)*(l-h/2<0?-1:1),d(r,s,i,Math.max(o,Math.floor(i-l*p/h+c)),Math.min(n,Math.floor(i+(h-l)*p/h+c)),a));var u=s[2*i+a];let t=o,e=n;for(m(r,s,o,i),s[2*n+a]>u&&m(r,s,o,n);t<e;){for(m(r,s,t,e),t++,e--;s[2*t+a]<u;)t++;for(;s[2*e+a]>u;)e--}s[2*o+a]===u?m(r,s,o,e):(e++,m(r,s,e,n)),e<=i&&(o=e+1),i<=e&&(n=e-1)}}function m(t,e,r,s){n(t,r,s),n(e,2*r,2*s),n(e,2*r+1,2*s+1)}function n(t,e,r){var s=t[e];t[e]=t[r],t[r]=s}function g(t,e,r,s){r=t-r,s=e-s;return r*r+s*s}const l={minZoom:0,maxZoom:16,minPoints:2,radius:40,extent:512,nodeSize:64,log:!1,generateId:!1,reduce:null,map:t=>t},p=Math.fround||(s=new Float32Array(1),t=>(s[0]=+t,s[0])),f=3,A=5,c=6;class u{constructor(t){this.options=Object.assign(Object.create(l),t),this.trees=new Array(this.options.maxZoom+1),this.stride=this.options.reduce?7:6,this.clusterProps=[]}load(e){var{log:r,minZoom:s,maxZoom:i}=this.options;r&&console.time("total time");var t=`prepare ${e.length} points`;r&&console.time(t),this.points=e;const o=[];for(let t=0;t<e.length;t++){var n,a=e[t];a.geometry&&([n,a]=a.geometry.coordinates,n=p(w(n)),a=p(k(a)),o.push(n,a,1/0,t,-1,1),this.options.reduce&&o.push(0))}let h=this.trees[i+1]=this._createTree(o);r&&console.timeEnd(t);for(let t=i;t>=s;t--){var l=+Date.now();h=this.trees[t]=this._createTree(this._cluster(h,t)),r&&console.log("z%d: %d clusters in %dms",t,h.numItems,+Date.now()-l)}return r&&console.timeEnd("total time"),this}getClusters(t,e){let r=((t[0]+180)%360+360)%360-180;var s=Math.max(-90,Math.min(90,t[1]));let i=180===t[2]?180:((t[2]+180)%360+360)%360-180;var o=Math.max(-90,Math.min(90,t[3]));if(360<=t[2]-t[0])r=-180,i=180;else if(r>i){const p=this.getClusters([r,s,180,o],e);t=this.getClusters([-180,s,i,o],e);return p.concat(t)}const n=this.trees[this._limitZoom(e)];var s=n.range(w(r),k(o),w(i),k(s)),a=n.data;const h=[];for(const c of s){var l=this.stride*c;h.push(1<a[l+A]?v(a,l,this.clusterProps):this.points[a[l+f]])}return h}getChildren(t){var e=this._getOriginId(t),r=this._getOriginZoom(t),s="No cluster with the specified id.";const i=this.trees[r];if(!i)throw new Error(s);var o=i.data;if(e*this.stride>=o.length)throw new Error(s);var n=this.options.radius/(this.options.extent*Math.pow(2,r-1)),r=o[e*this.stride],e=o[e*this.stride+1];const a=[];for(const l of i.within(r,e,n)){var h=l*this.stride;o[4+h]===t&&a.push(1<o[h+A]?v(o,h,this.clusterProps):this.points[o[h+f]])}if(0===a.length)throw new Error(s);return a}getLeaves(t,e,r){var s=[];return this._appendLeaves(s,t,e=e||10,r=r||0,0),s}getTile(t,e,r){const s=this.trees[this._limitZoom(t)];var i=Math.pow(2,t),{extent:o,radius:n}=this.options,a=n/o,t=(r-a)/i,n=(r+1+a)/i,o={features:[]};return this._addTileFeatures(s.range((e-a)/i,t,(e+1+a)/i,n),s.data,e,r,i,o),0===e&&this._addTileFeatures(s.range(1-a/i,t,1,n),s.data,i,r,i,o),e===i-1&&this._addTileFeatures(s.range(0,t,a/i,n),s.data,-1,r,i,o),o.features.length?o:null}getClusterExpansionZoom(t){let e=this._getOriginZoom(t)-1;for(;e<=this.options.maxZoom;){var r=this.getChildren(t);if(e++,1!==r.length)break;t=r[0].properties.cluster_id}return e}_appendLeaves(t,e,r,s,i){for(const n of this.getChildren(e)){var o=n.properties;if(o&&o.cluster?i+o.point_count<=s?i+=o.point_count:i=this._appendLeaves(t,o.cluster_id,r,s,i):i<s?i++:t.push(n),t.length===r)break}return i}_createTree(e){const r=new o(e.length/this.stride|0,this.options.nodeSize,Float32Array);for(let t=0;t<e.length;t+=this.stride)r.add(e[t],e[t+1]);return r.finish(),r.data=e,r}_addTileFeatures(t,i,o,n,a,h){for(const d of t){var l,p,c=d*this.stride,u=1<i[c+A];let t,e,r;r=u?(t=y(i,c,this.clusterProps),e=i[c],i[1+c]):(p=this.points[i[c+f]],t=p.properties,[l,p]=p.geometry.coordinates,e=w(l),k(p));const m={type:1,geometry:[[Math.round(this.options.extent*(e*a-o)),Math.round(this.options.extent*(r*a-n))]],tags:t};let s;s=u||this.options.generateId?i[c+f]:this.points[i[c+f]].id,void 0!==s&&(m.id=s),h.features.push(m)}}_limitZoom(t){return Math.max(this.options.minZoom,Math.min(Math.floor(+t),this.options.maxZoom+1))}_cluster(t,n){const{radius:e,extent:r,reduce:a,minPoints:s}=this.options;var h=e/(r*Math.pow(2,n));const l=t.data,p=[];var c=this.stride;for(let o=0;o<l.length;o+=c)if(!(l[o+2]<=n)){l[o+2]=n;var u=l[o],d=l[o+1],m=t.within(l[o],l[o+1],h),g=l[o+A];let i=g;for(const M of m){var f=M*c;l[2+f]>n&&(i+=l[f+A])}if(i>g&&i>=s){let t=u*g,e=d*g,r,s=-1;var v=((o/c|0)<<5)+(n+1)+this.points.length;for(const x of m){var y,w=x*c;l[2+w]<=n||(l[2+w]=n,y=l[w+A],t+=l[w]*y,e+=l[1+w]*y,l[4+w]=v,a&&(r||(r=this._map(l,o,!0),s=this.clusterProps.length,this.clusterProps.push(r)),a(r,this._map(l,w))))}l[o+4]=v,p.push(t/i,e/i,1/0,v,-1,i),a&&p.push(s)}else{for(let t=0;t<c;t++)p.push(l[o+t]);if(1<i)for(const _ of m){var k=_*c;if(!(l[2+k]<=n)){l[2+k]=n;for(let t=0;t<c;t++)p.push(l[k+t])}}}}return p}_getOriginId(t){return t-this.points.length>>5}_getOriginZoom(t){return(t-this.points.length)%32}_map(t,e,r){if(1<t[e+A]){var s=this.clusterProps[t[e+c]];return r?Object.assign({},s):s}t=this.points[t[e+f]].properties,e=this.options.map(t);return r&&e===t?Object.assign({},e):e}}function v(t,e,r){return{type:"Feature",id:t[e+f],properties:y(t,e,r),geometry:{type:"Point",coordinates:[360*(t[e]-.5),function(t){t=(180-360*t)*Math.PI/180;return 360*Math.atan(Math.exp(t))/Math.PI-90}(t[e+1])]}}}function y(t,e,r){var s=t[e+A],i=1e4<=s?Math.round(s/1e3)+"k":1e3<=s?Math.round(s/100)/10+"k":s,o=t[e+c],o=-1===o?{}:Object.assign({},r[o]);return Object.assign(o,{cluster:!0,cluster_id:t[e+f],point_count:s,point_count_abbreviated:i})}function w(t){return t/360+.5}
2function k(t){t=Math.sin(t*Math.PI/180),t=.5-.25*Math.log((1+t)/(1-t))/Math.PI;return t<0?0:1<t?1:t}function M(t,e){var r={};for(i in t)Object.prototype.hasOwnProperty.call(t,i)&&e.indexOf(i)<0&&(r[i]=t[i]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols)for(var s=0,i=Object.getOwnPropertySymbols(t);s<i.length;s++)e.indexOf(i[s])<0&&Object.prototype.propertyIsEnumerable.call(t,i[s])&&(r[i[s]]=t[i[s]]);return r}class x{static isAdvancedMarkerAvailable(t){return google.maps.marker&&!0===t.getMapCapabilities().isAdvancedMarkersAvailable}static isAdvancedMarker(t){return google.maps.marker&&t instanceof google.maps.marker.AdvancedMarkerElement}static setMap(t,e){this.isAdvancedMarker(t)?t.map=e:t.setMap(e)}static getPosition(t){if(this.isAdvancedMarker(t)){if(t.position){if(t.position instanceof google.maps.LatLng)return t.position;if(t.position.lat&&t.position.lng)return new google.maps.LatLng(t.position.lat,t.position.lng)}return new google.maps.LatLng(null)}return t.getPosition()}static getVisible(t){return!!this.isAdvancedMarker(t)||t.getVisible()}}class _{constructor({markers:t,position:e}){this.markers=t,e&&(e instanceof google.maps.LatLng?this._position=e:this._position=new google.maps.LatLng(e))}get bounds(){if(0!==this.markers.length||this._position){const t=new google.maps.LatLngBounds(this._position,this._position);for(const e of this.markers)t.extend(x.getPosition(e));return t}}get position(){return this._position||this.bounds.getCenter()}get count(){return this.markers.filter(t=>x.getVisible(t)).length}push(t){this.markers.push(t)}delete(){this.marker&&(x.setMap(this.marker,null),this.marker=void 0),this.markers.length=0}}class E{constructor({maxZoom:t=16}){this.maxZoom=t}noop({markers:t}){return b(t)}}(class extends null{});const b=t=>{return t.map(t=>new _({position:x.getPosition(t),markers:[t]}))};(class extends null{});(class extends null{});class C extends E{constructor(t){var{maxZoom:e,radius:r=60}=t,t=M(t,["maxZoom","radius"]);super({maxZoom:e}),this.state={zoom:-1},this.superCluster=new u(Object.assign({maxZoom:this.maxZoom,radius:r},t))}calculate(t){let e=!1;var r,s={zoom:t.map.getZoom()};return i()(t.markers,this.markers)||(e=!0,this.markers=[...t.markers],r=this.markers.map(t=>{const e=x.getPosition(t);return{type:"Feature",geometry:{type:"Point",coordinates:[e.lng(),e.lat()]},properties:{marker:t}}}),this.superCluster.load(r)),e||(this.state.zoom<=this.maxZoom||s.zoom<=this.maxZoom)&&(e=!i()(this.state,s)),this.state=s,e&&(this.cluster
2s=this.cluster(t)),{clusters:this.clusters,changed:e}}cluster({map:t}){return this.superCluster.getClusters([-180,-90,180,90],Math.round(t.getZoom())).map(t=>this.transformCluster(t))}transformCluster({geometry:{coordinates:[t,e]},properties:r}){if(r.cluster)return new _({markers:this.superCluster.getLeaves(r.cluster_id,1/0).map(t=>t.properties.marker),position:{lat:e,lng:t}});r=r.marker;return new _({markers:[r],position:x.getPosition(r)})}}(class extends null{});class L{constructor(t,e){this.markers={sum:t.length};const r=e.map(t=>t.count);t=r.reduce((t,e)=>t+e,0);this.clusters={count:e.length,markers:{mean:t/e.length,sum:t,min:Math.min(...r),max:Math.max(...r)}}}}class O{render({count:t,position:e},r,s){var i=`<svg fill="${t>Math.max(10,r.clusters.markers.mean)?"#ff0000":"#0000ff"}" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 240 240" width="50" height="50">
3<circle cx="120" cy="120" opacity=".6" r="70" />
4<circle cx="120" cy="120" opacity=".3" r="90" />
5<circle cx="120" cy="120" opacity=".2" r="110" />
6<text x="50%" y="50%" style="fill:#fff" text-anchor="middle" font-size="50" dominant-baseline="middle" font-family="roboto,arial,sans-serif">${t}</text>
7</svg>`,r=`Cluster of ${t} markers`,t=Number(google.maps.Marker.MAX_ZINDEX)+t;if(x.isAdvancedMarkerAvailable(s)){const n=new DOMParser,a=n.parseFromString(i,"image/svg+xml").documentElement;a.setAttribute("transform","translate(0 25)");const o={map:s,position:e,zIndex:t,title:r,content:a};return new google.maps.marker.AdvancedMarkerElement(o)}const o={position:e,zIndex:t,title:r,icon:{url:"data:image/svg+xml;base64,"+btoa(i),anchor:new google.maps.Point(25,25)}};return new google.maps.Marker(o)}}class P{constructor(){!function(t,e){for(var r in e.prototype)t.prototype[r]=e.prototype[r]}(P,google.maps.OverlayView)}}(e=a=a||{}).CLUSTERING_BEGIN="clusteringbegin",e.CLUSTERING_END="clusteringend",e.CLUSTER_CLICK="click";class I extends P{constructor({map:t,markers:e=[],algorithmOptions:r={},algorithm:s=new C(r),renderer:i=new O,onClusterClick:o=(t,e,r)=>{r.fitBounds(e.bounds)}}){super(),this.markers=[...e],this.clusters=[],this.algorithm=s,this.renderer=i,this.onClusterClick=o,t&&this.setMap(t)}addMarker(t,e){this.markers.includes(t)||(this.markers.push(t),e||this.render())}addMarkers(t,e){t.forEach(t=>{this.addMarker(t,!0)}),e||this.render()}removeMarker(t,e){var r=this.markers.indexOf(t);return-1!==r&&(x.setMap(t,null),this.markers.splice(r,1),e||this.render(),!0)}removeMarkers(t,e){let r=!1;return t.forEach(t=>{r=this.removeMarker(t,!0)||r}),r&&!e&&this.render(),r}clearMarkers(t){this.markers.length=0,t||this.render()}render(){const t=this.getMap();if(t instanceof google.maps.Map&&t.getProjection()){google.maps.event.trigger(this,a.CLUSTERING_BEGIN,this);var{clusters:e,changed:r}=this.algorithm.calculate({markers:this.markers,map:t,mapCanvasProjection:this.getProjection()});if(r||null==r){const s=new Set;for(const o of e)1==o.markers.length&&s.add(o.markers[0]);const i=[];for(const n of this.clusters)null!=n.marker&&(1==n.markers.length?s.has(n.marker)||x.setMap(n.marker,null):i.push(n.marker));this.clusters=e,this.renderClusters(),requestAnimationFrame(()=>i.forEach(t=>x.setMap(t,null)))}google.maps.event.trigger(this,a.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(t=>x.setMap(t,null)),this.clusters.forEach(t=>t.delete()),this.clusters=[]}renderClusters(){const t=new L(this.markers,this.clusters),r=this.getMap();this.clusters.forEach(e=>{1===e.markers.length?e.marker=e.markers[0]:(e.marker=this.renderer.render(e,t,r),e.markers.forEach(t=>x.setMap(t,null)),this.onClusterClick&&e.marker.addListener("click",t=>{google.maps.event.trigger(this,a.CLUSTER_CLICK,e),this.onClusterClick(t,e,r)})),x.setMap(e.marker,r)})}}},1666:t=>{t.exports=function t(e,r){if(e===r)return!0;if(e&&r&&"object"==typeof e&&"object"==typeof r){if(e.constructor!==r.constructor)return!1;var s,i,o;if(Array.isArray(e)){if((s=e.length)!=r.length)return!1;for(i=s;0!=i--;)if(!t(e[i],r[i]))return!1;return!0}if(e.constructor===RegExp)return e.source===r.source&&e.flags===r.flags;if(e.valueOf!==Object.prototype.valueOf)return e.valueOf()===r.valueOf();if(e.toString!==Object.prototype.toString)return e.toString()===r.toString();if((s=(o=Object.keys(e)).length)!==Object.keys(r).length)return!1;for(i=s;0!=i--;)if(!Object.prototype.hasOwnProperty.call(r,o[i]))return!1;for(i=s;0!=i--;){var n=o[i];if(!t(e[n],r[n]))return!1}return!0}return e!=e&&r!=r}},2934:(t,e,r)=>{r.d(e,{a:()=>s});class s{constructor(t=null,e={}){if(this.apiKey=t,this.options=e,"undefined"==typeof window)throw new Error("google-maps is supported only in browser environment")}load(){return void 0!==this.api?Promise.resolve(this.api):void 0!==this.loader?this.loader:(window[s.CALLBACK_NAME]=()=>
7{if(this.api=window.google,void 0===this.resolve)throw new Error("Should not happen");this.resolve(this.api)},window.gm_authFailure=()=>{if(void 0===this.reject)throw new Error("Should not happen");this.reject(new Error("google-maps: authentication error"))},this.loader=new Promise((t,e)=>{this.resolve=t,this.reject=e;const r=document.createElement("script");r.src=this.createUrl(),r.async=!0,r.onerror=t=>e(t),document.head.appendChild(r)}))}createUrl(){const e=["callback="+s.CALLBACK_NAME];for(var r in this.apiKey&&e.push("key="+this.apiKey),this.options)if(this.options.hasOwnProperty(r)){let t=this.options[r];"version"===r&&(r="v"),"libraries"===r&&(t=t.join(",")),e.push(r+"="+t)}return"https://maps.googleapis.com/maps/api/js?"+e.join("&")}}s.CALLBACK_NAME="_dk_google_maps_loader_cb"}}]);

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.