PageSourceSearch

https://lepper-marine.de/theme/f43cda11bc7650af30d3f7fe1a21bcc0/js…-pack6.netzp-powerpack-map.plugin.033ca6.js

js lepper-marine.de collected 2026-09-26 13:55:02 UTC 7,139 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk=self.webpackChunk||[]).push([[3006],{6:(t,e,i)=>{i.r(e),i.d(e,{default:()=>a}),"function"==typeof SuppressedError&&SuppressedError;var s,r=function(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}(function t(e,i){if(e===i)return!0;if(e&&i&&"object"==typeof e&&"object"==typeof i){if(e.constructor!==i.constructor)return!1;if(Array.isArray(e)){if((s=e.length)!=i.length)return!1;for(r=s;0!=r--;)if(!t(e[r],i[r]))return!1;return!0}if(e.constructor===RegExp)return e.source===i.source&&e.flags===i.flags;if(e.valueOf!==Object.prototype.valueOf)return e.valueOf()===i.valueOf();if(e.toString!==Object.prototype.toString)return e.toString()===i.toString();if((s=(o=Object.keys(e)).length)!==Object.keys(i).length)return!1;for(r=s;0!=r--;)if(!Object.prototype.hasOwnProperty.call(i,o[r]))return!1;for(r=s;0!=r--;){var s,r,o,n=o[r];if(!t(e[n],i[n]))return!1}return!0}return e!=e&&i!=i});let o="__googleMapsScriptId";!function(t){t[t.INITIALIZED=0]="INITIALIZED",t[t.LOADING=1]="LOADING",t[t.SUCCESS=2]="SUCCESS",t[t.FAILURE=3]="FAILURE"}(s||(s={}));class n{constructor({apiKey:t,authReferrerPolicy:e,channel:i,client:s,id:a=o,language:l,libraries:h=[],mapIds:c,nonce:p,region:g,retries:u=3,url:d="https://maps.googleapis.com/maps/api/js",version:m}){if(this.callbacks=[],this.done=!1,this.loading=!1,this.errors=[],this.apiKey=t,this.authReferrerPolicy=e,this.channel=i,this.client=s,this.id=a||o,this.language=l,this.libraries=h,this.mapIds=c,this.nonce=p,this.region=g,this.retries=u,this.url=d,this.version=m,n.instance){if(!r(this.options,n.instance.options))throw Error(`Loader must not be called again with different options. ${JSON.stringify(this.options)} !== ${JSON.stringify(n.instance.options)}`);return n.instance}n.instance=this}get options(){return{version:this.version,apiKey:this.apiKey,channel:this.channel,client:this.client,id:this.id,libraries:this.libraries,language:this.language,region:this.region,mapIds:this.mapIds,nonce:this.nonce,url:this.url,authReferrerPolicy:this.authReferrerPolicy}}get status(){return this.errors.length?s.FAILURE:this.done?s.SUCCESS:this.loading?s.LOADING:s.INITIALIZED}get failed(){return this.done&&!this.loading&&this.errors.length>=this.retries+1}createUrl(){let t=this.url;return t+="?callback=__googleMapsCallback&loading=async",this.apiKey&&(t+=`&key=${this.apiKey}`),this.channel&&(t+=`&channel=${this.channel}`),this.client&&(t+=`&client=${this.client}`),this.libraries.length>0&&(t+=`&libraries=${this.libraries.join(",")}`),this.language&&(t+=`&language=${this.language}`),this.region&&(t+=`&region=${this.region}`),this.version&&(t+=`&v=${this.version}`),this.mapIds&&(t+=`&map_ids=${this.mapIds.join(",")}`),this.authReferrerPolicy&&(t+=`&auth_referrer_policy=${this.authReferrerPolicy}`),t}deleteScript(){let t=document.getElementById(this.id);t&&t.remove()}load(){return this.loadPromise()}loadPromise(){return new Promise((t,e)=>{this.loadCallback(i=>{i?e(i.error):t(window.google)})})}importLibrary(t){return this.execute(),google.maps.importLibrary(t)}loadCallback(t){this.callbacks.push(t),this.execute()}setScript(){var t,e;if(document.getElementById(this.id)){this.callback();return}let i={key:this.apiKey,channel:this.channel,client:this.client,libraries:this.libraries.length&&this.libraries,v:this.version,mapIds:this.mapIds,language:this.language,region:this.region,authReferrerPolicy:this.authReferrerPolicy};
1Object.keys(i).forEach(t=>!i[t]&&delete i[t]),(null===(e=null===(t=null==window?void 0:window.google)||void 0===t?void 0:t.maps)||void 0===e?void 0:e.importLibrary)||(t=>{let e,i,s,r="The Google Maps JavaScript API",o="google",n="importLibrary",a="__ib__",l=document,h=window,c=(h=h[o]||(h[o]={})).maps||(h.maps={}),p=new Set,g=new URLSearchParams,u=()=>e||(e=new Promise((n,h)=>{var u,d,m,f;return u=this,d=void 0,m=void 0,f=function*(){var u;for(s in yield i=l.createElement("script"),i.id=this.id,g.set("libraries",[...p]+""),t)g.set(s.replace(/[A-Z]/g,t=>"_"+t[0].toLowerCase()),t[s]);g.set("callback",o+".maps."+a),i.src=this.url+"?"+g,c[a]=n,i.onerror=()=>e=h(Error(r+" could not load.")),i.nonce=this.nonce||(null===(u=l.querySelector("script[nonce]"))||void 0===u?void 0:u.nonce)||"",l.head.append(i)},new(m||(m=Promise))(function(t,e){function i(t){try{r(f.next(t))}catch(t){e(t)}}function s(t){try{r(f.throw(t))}catch(t){e(t)}}function r(e){var r;e.done?t(e.value):((r=e.value)instanceof m?r:new m(function(t){t(r)})).then(i,s)}r((f=f.apply(u,d||[])).next())})}));c[n]?console.warn(r+" only loads once. Ignoring:",t):c[n]=(t,...e)=>p.add(t)&&u().then(()=>c[n](t,...e))})(i);let s=this.libraries.map(t=>this.importLibrary(t));s.length||s.push(this.importLibrary("core")),Promise.all(s).then(()=>this.callback(),t=>{let e=new ErrorEvent("error",{error:t});this.loadErrorCallback(e)})}reset(){this.deleteScript(),this.done=!1,this.loading=!1,this.errors=[],this.onerrorEvent=null}resetIfRetryingFailed(){this.failed&&this.reset()}loadErrorCallback(t){if(this.errors.push(t),this.errors.length<=this.retries){let t=this.errors.length*Math.pow(2,this.errors.length);console.error(`Failed to load Google Maps script, retrying in ${t} ms.`),setTimeout(()=>{this.deleteScript(),this.setScript()},t)}else this.onerrorEvent=t,this.callback()}callback(){this.done=!0,this.loading=!1,this.callbacks.forEach(t=>{t(this.onerrorEvent)}),this.callbacks=[]}execute(){if(this.resetIfRetryingFailed(),this.done)this.callback();else{if(window.google&&window.google.maps&&window.google.maps.version){console.warn("Google Maps already loaded outside @googlemaps/js-api-loader.This may result in undesirable behavior as options and script parameters may not match."),this.callback();return}this.loading||(this.loading=!0,this.setScript())}}}class a extends window.PluginBaseClass{static #t=this.options={el:"",optInPolicyClass:"",apiKey:"",lang:"",optIn:"",lat:"",lng:"",zoom:"",mapType:"",content:""};subscribeToEvents(){document.$emitter.subscribe("netzp-pp-map-optin",t=>{!0===t.detail.confirm?localStorage.setItem("netzpGoogleMapsOptInAll",1):localStorage.setItem("netzpGoogleMapsOptIn_"+t.detail.confirm,1),this.showMap()})}showMap(){let t=new n({apiKey:this.options.apiKey,version:"weekly"});(1!=parseInt(this.options.optIn)||1!=!parseInt(localStorage.getItem("netzpGoogleMapsOptInAll"))||1!=!parseInt(localStorage.getItem("netzpGoogleMapsOptIn_"+this.options.el)))&&(document.querySelector("#"+this.options.el+" ."+this.options.optInPolicyClass),t.load().then(async()=>{let{Map:t}=await google.maps.importLibrary("maps"),{AdvancedMarkerElement:e}=await google.maps.importLibrary("marker"),i=new t(document.getElementById(this.options.el),{center:{lat:parseFloat(this.options.lat),lng:parseFloat(this.options.lng)},zoom:parseInt(this.options.zoom),mapTypeId:this.options.mapType,mapId:this.options.el});if(""!=this.options.content){let t=new google.maps.InfoWindow({content:this.options.content}),s=new e({position:{lat:parseFloat(this.options.lat),lng:parseFloat(this.options.lng)},map:i});s.addListener("click",function(){t.open(i,s)})}}))}init(){this.subscribeToEvents(),this.showMap()}}}}]);

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.