PageSourceSearch

https://www.marschner-apotheke.de/legacy-build/225.9c79a7b7.js

js marschner-apotheke.de collected 2026-10-06 16:41:14 UTC 2,087 bytes, 2 lines download raw bytes

1try{let e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="91f1e3c1-1a9c-450d-94d7-7fc4c684074c",e._sentryDebugIdIdentifier="sentry-dbid-91f1e3c1-1a9c-450d-94d7-7fc4c684074c")}catch(e){}("undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{}).SENTRY_RELEASE={id:"v276.0-0-gf58f8bf"};(globalThis.webpackChunk||=[]).push([[225],{6225(__unused_webpack_module,__webpack_exports__,__webpack_require__){var _hotwired_stimulus__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(2891);const __WEBPACK_DEFAULT_EXPORT__=class extends _hotwired_stimulus__WEBPACK_IMPORTED_MODULE_0__.xI{static targets=["branch"];connect(){!this.hasBranchTarget||this.branchTargets.length<2||!navigator.geolocation?console.error("No branches found or geolocation is not supported"):navigator.geolocation.getCurrentPosition(position=>{this.branchTargets.forEach(branch=>{const branchLat=branch.getAttribute("data-lat"),branchLong=branch.getAttribute("data-long"),distance=this.calculateDistance(position.coords.latitude,position.coords.longitude,branchLat,branchLong);branch.setAttribute("data-distance",distance)});const sortedBranches=this.branchTargets.sort((a,b)=>a.dataset.distance-b.dataset.distance),container=this.element;sortedBranches.forEach((item,index)=>{container.appendChild(item),item.classList.remove("bg-light-gray","bg-light"),index%2==0?item.classList.add("bg-light-gray"):item.classList.add("bg-light")})})}calculateDistance(lat1,lon1,lat2,lon2){const toRad=value=>value*Math.PI/180,dLat=toRad(lat2-lat1),dLon=toRad(lon2-lon1),a=Math.sin(dLat/2)*Math.sin(dLat/2)+Math.cos(toRad(lat1))*Math.cos(toRad(lat2))*Math.sin(dLon/2)*Math.sin(dLon/2);return 6371*(2*Math.atan2(Math.sqrt(a),Math.sqrt(1-a)))}};__webpack_require__.d(__webpack_exports__,["default",0,__WEBPACK_DEFAULT_EXPORT__])}}]);
2//# sourceMappingURL=225.9c79a7b7.js.map

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.