1"use strict";(self.webpackChunkCMS=self.webpackChunkCMS||[]).push([[9585],{38335:(e,t,i)=>{i.d(t,{Z:()=>o});var n=i(8081),r=i.n(n),a=i(23645),l=i.n(a)()(r());l.push([e.id,".leaflet-control {\n z-index: 800 !important;\n}\n.leaflet-pane {\n z-index: 400 !important;\n}\n.leaflet-tile-pane {\n z-index: 200 !important;\n}\n.leaflet-overlay-pane {\n z-index: 400 !important;\n}\n.leaflet-shadow-pane {\n z-index: 500 !important;\n}\n.leaflet-marker-pane {\n z-index: 600 !important;\n}\n.leaflet-tooltip-pane {\n z-index: 650 !important;\n}\n.leaflet-popup-pane {\n z-index: 700 !important;\n}\n.leaflet-map-pane canvas {\n z-index: 100 !important;\n}\n.leaflet-map-pane svg {\n z-index: 200 !important;\n}\n\n.leaflet-control {\n z-index: 800 !important;\n}\n.leaflet-top,\n.leaflet-bottom {\n z-index: 850 !important;\n}\n",""]);const o=l},70883:(e,t,i)=>{i.r(t),i.d(t,{default:()=>u});var n=i(93379),r=i.n(n),a=i(89037),l=i.n(a),o=i(90569),s=i.n(o),c=i(3565),d=i.n(c),m=i(19216),p=i.n(m),f=i(38335),h={};h.setAttributes=d(),h.insert=s().bind(null,"head"),h.domAPI=l(),h.insertStyleElement=p();r()(f.Z,h);const u=f.Z&&f.Z.locals?f.Z.locals:void 0},38756:(e,t,i)=>{const n=i(19755),r=i(45243),a=n("html").attr("lang");i(28171),i(70883),i(44642);const l="https://api3.geo.admin.ch/rest/services/api/SearchServer?sr=2056&lang="+a.substring(0,2),o="https://api3.geo.admin.ch/rest/services/api/MapServer/identify",s="ch.swisstopo.swissboundaries3d-gemeinde-flaeche.fill";let c={new:r.divIcon({className:"icms-imelder-marker-new",html:'<svg style="margin-left: -10px; margin-top: -35px;" width="20" height="35" viewBox="0 0 20 35" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"><defs><linearGradient x1="50%" y1="0%" x2="50%" y2="100%" id="icms-marker-a"></linearGradient><path d="M10 34.596c2.412-7.1 4.223-11.95 5.433-14.553C17.247 16.14 20 14.287 20 10c0-5.523-4.477-10-10-10S0 4.477 0 10c0 4.371 2.532 6.142 4.438 10.043 1.27 2.601 3.124 7.452 5.562 14.553z" id="icms-marker-aa"/></defs><g fill="none" fill-rule="evenodd"><use fill="url(#icms-marker-a)" xlink:href="#icms-marker-aa"/><path stroke-opacity=".243" stroke="#000" d="M9.997 33.055c2.184-6.368 3.843-10.773 4.982-13.223.42-.902.893-1.723 1.54-2.715.157-.24.994-1.493 1.217-1.84C18.975 13.344 19.5 11.927 19.5 10a9.5 9.5 0 0 0-19 0c0 2.012.507 3.462 1.695 5.372.23.37 1.228 1.892 1.484 2.3.471.753.857 1.434 1.208 2.152 1.198 2.452 2.9 6.858 5.11 13.231z"/><circle fill-opacity="1" fill="#fff" cx="10" cy="10" r="3.6"/></g></svg>'}),pending:r.divIcon({className:"icms-imelder-marker-pending",html:'<svg style="margin-left: -10px; margin-top: -35px;" width="20" height="35" viewBox="0 0 20 35" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"><defs><linearGradient x1="50%" y1="0%" x2="50%" y2="100%" id="icms-marker-b"></linearGradient><path d="M10 34.596c2.412-7.1 4.223-11.95 5.433-14.553C17.247 16.14 20 14.287 20 10c0-5.523-4.477-10-10-10S0 4.477 0 10c0 4.371 2.532 6.142 4.438 10.043 1.27 2.601 3.124 7.452 5.562 14.553z" id="icms-marker-bb"/></defs><g fill="none" fill-rule="evenodd"><use fill="url(#icms-marker-b)" xlink:href="#icms-marker-bb"/><path stroke-opacity=".243" stroke="#000" d="M9.997 33.055c2.184-6.368 3.843-10.773 4.982-13.223.42-.902.893-1.723 1.54-2.715.157-.24.994-1.493 1.217-1.84C18.975 13.344 19.5 11.927 19.5 10a9.5 9.5 0 0 0-19 0c0 2.012.507 3.462 1.695 5.372.23.37 1.228 1.892 1.484 2.3.471.753.857 1.434 1.208 2.152 1.198 2.452 2.9 6.858 5.11 13.231z"/><circle fill-opacity="1" fill="#000" cx="10" cy="10" r="3.6"/></g></svg>'}),processing:r.divIcon({className:"icms-imelder-marker-processing",html:'<svg style="margin-left: -10px; margin-top: -35px;" width="20" height="35" viewBox="0 0 20 35" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"><defs><linearGradient x1="50%" y1="0%" x2="50%" y2="100%" id="icms-marker-c"></linearGradient><path d="M10 34.596c2.412-7.1 4.223-11.95 5.433-14.553C17.247 16.14 20 14.287 20 10c0-5.523-4.477-10-10-10S0 4.477 0 10c0 4.371 2.532 6.142 4.438 10.
1043 1.27 2.601 3.124 7.452 5.562 14.553z" id="icms-marker-cc"/></defs><g fill="none" fill-rule="evenodd"><use fill="url(#icms-marker-c)" xlink:href="#icms-marker-cc"/><path stroke-opacity=".243" stroke="#000" d="M9.997 33.055c2.184-6.368 3.843-10.773 4.982-13.223.42-.902.893-1.723 1.54-2.715.157-.24.994-1.493 1.217-1.84C18.975 13.344 19.5 11.927 19.5 10a9.5 9.5 0 0 0-19 0c0 2.012.507 3.462 1.695 5.372.23.37 1.228 1.892 1.484 2.3.471.753.857 1.434 1.208 2.152 1.198 2.452 2.9 6.858 5.11 13.231z"/><circle fill-opacity="1" fill="#000" cx="10" cy="10" r="3.6"/></g></svg>'}),completed:r.divIcon({className:"icms-imelder-marker-completed",html:'<svg style="margin-left: -10px; margin-top: -35px;" width="20" height="35" viewBox="0 0 20 35" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"><defs><linearGradient x1="50%" y1="0%" x2="50%" y2="100%" id="icms-marker-d"></linearGradient><path d="M10 34.596c2.412-7.1 4.223-11.95 5.433-14.553C17.247 16.14 20 14.287 20 10c0-5.523-4.477-10-10-10S0 4.477 0 10c0 4.371 2.532 6.142 4.438 10.043 1.27 2.601 3.124 7.452 5.562 14.553z" id="icms-marker-dd"/></defs><g fill="none" fill-rule="evenodd"><use fill="url(#icms-marker-d)" xlink:href="#icms-marker-dd"/><path stroke-opacity=".243" stroke="#000" d="M9.997 33.055c2.184-6.368 3.843-10.773 4.982-13.223.42-.902.893-1.723 1.54-2.715.157-.24.994-1.493 1.217-1.84C18.975 13.344 19.5 11.927 19.5 10a9.5 9.5 0 0 0-19 0c0 2.012.507 3.462 1.695 5.372.23.37 1.228 1.892 1.484 2.3.471.753.857 1.434 1.208 2.152 1.198 2.452 2.9 6.858 5.11 13.231z"/><circle fill-opacity="1" fill="#000" cx="10" cy="10" r="3.6"/></g></svg>'}),newactive:r.divIcon({className:"icms-imelder-marker-new-active",html:'<svg style="margin-left: -10px; margin-top: -35px;" width="20" height="35" viewBox="0 0 20 35" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"><defs><linearGradient x1="50%" y1="0%" x2="50%" y2="100%" id="icms-marker-e"></linearGradient><path d="M10 34.596c2.412-7.1 4.223-11.95 5.433-14.553C17.247 16.14 20 14.287 20 10c0-5.523-4.477-10-10-10S0 4.477 0 10c0 4.371 2.532 6.142 4.438 10.043 1.27 2.601 3.124 7.452 5.562 14.553z" id="icms-marker-ee"/></defs><g fill="none" fill-rule="evenodd"><use fill="url(#icms-marker-e)" xlink:href="#icms-marker-aa"/><path stroke-opacity=".243" stroke="#000" d="M9.997 33.055c2.184-6.368 3.843-10.773 4.982-13.223.42-.902.893-1.723 1.54-2.715.157-.24.994-1.493 1.217-1.84C18.975 13.344 19.5 11.927 19.5 10a9.5 9.5 0 0 0-19 0c0 2.012.507 3.462 1.695 5.372.23.37 1.228 1.892 1.484 2.3.471.753.857 1.434 1.208 2.152 1.198 2.452 2.9 6.858 5.11 13.231z"/><circle fill-opacity="1" fill="#fff" cx="10" cy="10" r="3.6"/></g></svg>'}),pendingactive:r.divIcon({className:"icms-imelder-marker-pending-active",html:'<svg style="margin-left: -10px; margin-top: -35px;" width="20" height="35" viewBox="0 0 20 35" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"><defs><linearGradient x1="50%" y1="0%" x2="50%" y2="100%" id="icms-marker-f"></linearGradient><path d="M10 34.596c2.412-7.1 4.223-11.95 5.433-14.553C17.247 16.14 20 14.287 20 10c0-5.523-4.477-10-10-10S0 4.477 0 10c0 4.371 2.532 6.142 4.438 10.043 1.27 2.601 3.124 7.452 5.562 14.553z" id="icms-marker-ff"/></defs><g fill="none" fill-rule="evenodd"><use fill="url(#icms-marker-f)" xlink:href="#icms-marker-bb"/><path stroke-opacity=".243" stroke="#000" d="M9.997 33.055c2.184-6.368 3.843-10.773 4.982-13.223.42-.902.893-1.723 1.54-2.715.157-.24.994-1.493 1.217-1.84C18.975 13.344 19.5 11.927 19.5 10a9.5 9.5 0 0 0-19 0c0 2.012.507 3.462 1.695 5.372.23.37 1.228 1.892 1.484 2.3.471.753.857 1.434 1.208 2.152 1.198 2.452 2.9 6.858 5.11 13.231z"/><circle fill-opacity="1" fill="#000" cx="10" cy="10" r="3.6"/></g></svg>'}),processingactive:r.divIcon({className:"icms-imelder-marker-processing-active",html:'<svg style="margin-left: -10px; margin-top: -35px;" width="20" height="35" viewBox="0 0 20 35" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"><defs><linearGradient x1="50%" y1="0%" x2="50%" y2="100%" id="icms-marker-g"></linearGradient><path d="M10 34.596c2.412-7.1 4.223-11.95 5.433-14.553C17.247 16.14 20 14.287 20 10c0-5.523-4.477-10-10-10S0 4.477 0 10c0 4.371 2.532 6.142 4.438 10.
1043 1.27 2.601 3.124 7.452 5.562 14.553z" id="icms-marker-gg"/></defs><g fill="none" fill-rule="evenodd"><use fill="url(#icms-marker-g)" xlink:href="#icms-marker-cc"/><path stroke-opacity=".243" stroke="#000" d="M9.997 33.055c2.184-6.368 3.843-10.773 4.982-13.223.42-.902.893-1.723 1.54-2.715.157-.24.994-1.493 1.217-1.84C18.975 13.344 19.5 11.927 19.5 10a9.5 9.5 0 0 0-19 0c0 2.012.507 3.462 1.695 5.372.23.37 1.228 1.892 1.484 2.3.471.753.857 1.434 1.208 2.152 1.198 2.452 2.9 6.858 5.11 13.231z"/><circle fill-opacity="1" fill="#000" cx="10" cy="10" r="3.6"/></g></svg>'}),completedactive:r.divIcon({className:"icms-imelder-marker-completed-active",html:'<svg style="margin-left: -10px; margin-top: -35px;" width="20" height="35" viewBox="0 0 20 35" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"><defs><linearGradient x1="50%" y1="0%" x2="50%" y2="100%" id="icms-marker-h"></linearGradient><path d="M10 34.596c2.412-7.1 4.223-11.95 5.433-14.553C17.247 16.14 20 14.287 20 10c0-5.523-4.477-10-10-10S0 4.477 0 10c0 4.371 2.532 6.142 4.438 10.043 1.27 2.601 3.124 7.452 5.562 14.553z" id="icms-marker-hh"/></defs><g fill="none" fill-rule="evenodd"><use fill="url(#icms-marker-h)" xlink:href="#icms-marker-dd"/><path stroke-opacity=".243" stroke="#000" d="M9.997 33.055c2.184-6.368 3.843-10.773 4.982-13.223.42-.902.893-1.723 1.54-2.715.157-.24.994-1.493 1.217-1.84C18.975 13.344 19.5 11.927 19.5 10a9.5 9.5 0 0 0-19 0c0 2.012.507 3.462 1.695 5.372.23.37 1.228 1.892 1.484 2.3.471.753.857 1.434 1.208 2.152 1.198 2.452 2.9 6.858 5.11 13.231z"/><circle fill-opacity="1" fill="#000" cx="10" cy="10" r="3.6"/></g></svg>'})};function d(e){e&&e.poi&&e.poi.setIcon(e.icon)}function m(e){let t=document.createElement("div");return t.innerHTML=e,t.textContent||t.innerText||""}function p(e,t){if(t>0)return e.map((function(e){return p(e,t-1)}));let i=function(e,t){let i=(e-26e5)/1e6,n=(t-12e5)/1e6,a=16.9023892+3.238272*n-.270978*Math.pow(i,2)-.002528*Math.pow(n,2)-.0447*Math.pow(i,2)*n-.014*Math.pow(n,3),l=2.6779094+4.728982*i+.791484*i*n+.1306*i*Math.pow(n,2)-.0436*Math.pow(i,3);return r.latLng(100*a/36,100*l/36)}(e[0],e[1]);return[i.lng,i.lat]}function f(e){let t=e.split(",").map(Number);if(4!==t.length||!t.every(Number.isFinite))throw new Error("The iMeldeR search bounding box must contain four valid LV95 coordinates.");return t}function h(e){return e<2e6?e+2e6:e}function u(e){return e<1e6?e+1e6:e}function g(e,t){let i=0;return t.forEach((function(t){let n=!1;for(let i=0,r=t.length-1;i<t.length;r=i++){let a=t[i],l=t[r];a.lat>e.lat!=l.lat>e.lat&&e.lng<(l.lng-a.lng)*(e.lat-a.lat)/(l.lat-a.lat)+a.lng&&(n=!n)}n&&i++})),i%2==1}n('div[data-webpack-module="imelder"]').each((function(){let e,t=n(this),i=t.data("map-center").split(","),a=t.data("map-zoom"),x=function(e){let t=f(e);return t[0]=h(t[0]),t[1]=u(t[1]),t[2]=h(t[2]),t[3]=u(t[3]),t.join(",")}(t.data("search-bbox").replace(/[' ]*/g,"")),y=[],v=t.data("map-pois"),k=t.data("map-layers"),b=t.data("default-layer-group"),M=n("#icms-imedler-category"),C=t.data("translations"),S=t.find(".icms-imelder-poi-info"),z=t.find(".icms-imelder-new"),G=n("#inputAddress"),I=t.find(".icms-imelder-locate-btn"),T=t.find(".icms-imelder-new-btn"),E=t.find(".i-melder-list-load-more"),N=t.find(".i-melder-clear-search"),H={},L={},P=0,W=function(t,i){d(H),S.hide(),L&&i.removeLayer(L),L=r.marker(t,{icon:c.new}).addTo(i),i.setView(t),function(t){K(),e=v.slice();for(let i=0;i<e.length;i++)e[i].distance=V(t.lat,t.lng,e[i].latlon.split(",")[0],e[i].latlon.split(",")[1],"K");e.sort((function(e,t){return e.distance-t.distance}));for(let t=0;t<e.length;t++)e[t].distance>=.05&&(e.splice(t,1),t--);S.find(".icms-imelder-poi-list").html(""),0===e.length?S.find(".icms-imelder-poi-notimesnearby").show():(S.find(".icms-imelder-poi-near").show(),O(3));S.show()}(t),z.find("[name='latlon']").val(t.lat+", "+t.lng)},B=function(e,t){e.forEach((function(e,i){if(e.latlon){let i=c.pending,a=c.pendingactive;"beantwortet"===e.status||"erledigt"===e.status?(i=c.completed,a=c.completedactive):"inabklaerung"===e.status&&(i=c.processing,a=c.processingactive),r.marker({lat:e.latlon.split(",")[0],lng:e.latlon.split(",")[1]},{icon:i}).addTo(t).on("click",(function(i){d(H),H.poi=i.sourceTarget,H.icon=i.sourceTarget.getIcon(),i.sourceTarget.setIcon(a),r.popup().setLatLng(i.latlng).setContent(e.popup).openOn(t),n(".icms-imelder-poi-show-more").on("click",(function(t){t.preventDefault(),K(),S.find(".icms-imelder-poi-list").html(e.html),S.show(),E.hide()}))}))}}))},D={center:i,zoom:a},j=n(this).children(".icms-imelder-map")[0],A=r.map(j,D);A.attributionControl.setPrefix(""),function(e,t,i){let a=f(e),l=[(a[0]+a[2])/2,(a[1]+a[3])/2];n.get(o,{geometry:l.join(","),geometryFormat:"geojson",geometryType:"esriGeometryPoint",imageDisplay:"100,100,96",layers:"all:"+s,mapExtent:e,returnGeometry:!0,sr:2056,tolerance:0}).done((function(e){let n=(a=e.results).find((function(e){return e.properties&&!0===e.properties.is_current_jahr}))||a.reduce((function(e,t){if(!e)return t;let i=Number(e.properties&&e.properties.jahr)||0;return(Number(t.properties&&t.properties.jahr)||0)>i?t:e}),null);var a;if(!n||!n.geometry)return void console.error("No municipality boundary was found for the configured iMeldeR bounding box.");let l=function(e){let t="Polygon"===e.type?2:3;return{type:e.type,coordinates:p(e.coordinates,t)}}(n.geometry),o=("Polygon"===(s=l).type?s.coordinates:s.coordinates.reduce((function(e,t){return e.concat(t)}),[])).map((function(e){return e.map((function(e){return r.latLng(e[1],e[0])}))}));var s;r.geoJSON(l,{className:"icms-imelder-boundary",fill:!1,interactive:!1,pane:"overlayPane"}).addTo(t).bringToFront(),i(o)})).fail((function(){console.error("The municipality boundary could not be loaded from geo.admin.ch.")}))}(x,A,(function(e){y=e}));let X={};n.each(k,(function(e,t){let i=[];n.each(t.layers,(function(e,t){"wmts"===t.type?i.push(r.tileLayer(t.service,t.options)):i.push(r.tileLayer.wms(t.service,t.options))}));let a=r.layerGroup(i);X[t.name]=a,e===b&&a.addTo(A)})),r.control.layers(X,{},{collapsed:!1,hideSingleBase:!0,sortLayers:!1}).addTo(A),B(v,A);let Z=r.control({position:"bottomright"});function _(e){if(!g(e.latlng,y))return;W(e.latlng,A);let t=w.WGStoCH(e.latlng.lat,e.latlng.lng);t=t.map((function(e){return Math.round(100*e)/100})),n.get("https://api3.geo.admin.ch/rest/services/api/MapServer/identify?mapExtent=0,0,100,100&imageDisplay=100,100,100&tolerance=200&geometryType=esriGeometryPoint&layers=all:ch.bfs.gebaeude_wohnungs_register&returnGeometry=true&geometry="+t.join(","),(function(t){let i=z.find("[name='nearestaddress']").data("no-address-text");if(t.results.length>0){for(let i=0;i<t.results.length;i++){let n=w.CHtoWGS(t.results[i].geometry.x,t.results[i].geometry.y);t.results[i].distance=V(e.latlng.lat,e.latlng.lng,n[1],n[0],"K")}t.results.sort((function(e,t){return e.distance-t.distance}));let n=t.results[0];i=(n.attributes.strname&&n.attributes.strname[0]?n.attributes.strname[0]:"")+" "+(n.attributes.deinr?n.attributes.deinr+",":"")+" "+(n.attributes.dplz4?n.attributes.dplz4:"")+" "+(n.attributes.dplzname?n.attributes.dplzname:""),n.distance>.05&&(i=z.find("[name='nearestaddress']").data("no-address-near-text")+" "+i)}z.find("[name='nearestaddress']").val(i),G.val(i),N.show(),I.hide(),T.show()})),G.val("")}function F(){G.val(""),N.hide(),d(H),A.removeLayer(L),K(),I.show(),T.hide()}function K(){P=0,z.hide(),S.hide(),S.find(".icms-imelder-poi-recent").hide(),S.find(".icms-imelder-poi-near").hide(),S.find(".icms-imelder-poi-noitems").hide(),S.find(".icms-imelder-poi-notimesnearby").hide(),S.find(".i-melder-list-load-more").hide()}function V(e,t,i,n,r){let a=Math.PI*e/180,l=Math.PI*i/180,o=(Math.PI,Math.PI,t-n),s=Math.PI*o/180,c=Math.sin(a)*Math.sin(l)+Math.cos(a)*Math.cos(l)*Math.cos(s);return c=Math.acos(c),c=180*c/Math.PI,c=60*c*1.1515,"K"===r&&(c*=1.609344),"N"===r&&(c*=.8684),c}function O(t,i){i||(i=0);for(let n=i;n<t+i;n++)e[n]&&S.find(".icms-imelder-poi-list").append(e[n].html);P+=t,e[P]?E.show():E.hide()}function R(){K(),e=v.slice(),e.sort(((e,t)=>e.datum>t.datum?-1:e.datum<t.datum?1:0)),S.find(".icms-imelder-poi-list").html(""),0===e.length?S.find(".icms-imelder-poi-notimes").show():(S.find(".icms-imelder-poi-recent").show(),O(3)),S.show()}Z.onAdd=function(e){let t=r.DomUtil.create("div","imelder-legend leaflet-control-layers"),i=["inabklaerung","erledigt"],n=[C.status.inarbeit,C.status.erledigt];for(let e=0;e<i.length;e++)t.innerHTML+='<i class="marker marker-'+i[e]+'"></i> '+n[e]+"<br/>";return t},Z.addTo(A),A.on("click",(function(e){_(e)})),A.on("locationfound",(function(e){_(e)})),A.on("locationerror",(function(e){console.log("locationerror",e)})),G.on("input",(function(e){this.value.length>0?N.show():F()})),R(),N.on("click",(function(e){F(),R()})),E.on("click",(function(e){O(3,P)})),T.on("click",(function(e){K(),z.show();let t=location.href;location.href="#icms-imelder-new-form",history.replaceState(null,null,t)}
1)),G.typeahead({minLength:2,source:function(e,t){return n.get(l+"&bbox="+x+"&type=locations&searchText="+e,(function(e){return t(e.results.map((function(e){return{id:e.id,name:m(e.attrs.label),lon:e.attrs.lon,lat:e.attrs.lat}})))}))},afterSelect:function(e){let t=r.latLng(e.lat,e.lon);return!!g(t,y)&&(z.find("[name='nearestaddress']").val(e.name),W(t,A),I.hide(),T.show(),e)},item:'<li class="dropdown-item"><a class="dropdown-item" href="#" role="option"></a></li>'}),M.on("change",(function(e){"-1"===n(this).val()?n("#icms-imelder-submit").prop("disabled",!0):n("#icms-imelder-submit").prop("disabled",!1),z.find("[name='imeldercategory']").val(n(this).find(":selected").data("imelder-category-name"))})),I.on("click",(function(){A.locate({setView:!0,enableHighAccuracy:!0})}))}));var w={WGStoCH:function(e,t){return[this.WGStoCHy(e,t),this.WGStoCHx(e,t)]},WGStoCHx:function(e,t){var i=((e=this.DECtoSEX(e))-169028.66)/1e4,n=((t=this.DECtoSEX(t))-26782.5)/1e4;return 200147.07+308807.95*i+3745.25*Math.pow(n,2)+76.63*Math.pow(i,2)-194.56*Math.pow(n,2)*i+119.79*Math.pow(i,3)},WGStoCHy:function(e,t){var i=((e=this.DECtoSEX(e))-169028.66)/1e4,n=((t=this.DECtoSEX(t))-26782.5)/1e4;return 600072.37+211455.93*n-10938.51*n*i-.36*n*Math.pow(i,2)-44.54*Math.pow(n,3)},CHtoWGS:function(e,t){return[this.CHtoWGSlng(e,t),this.CHtoWGSlat(e,t)]},CHtoWGSlat:function(e,t){var i=(e-6e5)/1e6,n=(t-2e5)/1e6,r=16.9023892+3.238272*n-.270978*Math.pow(i,2)-.002528*Math.pow(n,2)-.0447*Math.pow(i,2)*n-.014*Math.pow(n,3);return r=100*r/36},CHtoWGSlng:function(e,t){var i=(e-6e5)/1e6,n=(t-2e5)/1e6,r=2.6779094+4.728982*i+.791484*i*n+.1306*i*Math.pow(n,2)-.0436*Math.pow(i,3);return r=100*r/36},DECtoSEX:function(e){var t=parseInt(e),i=parseInt(60*(e-t));return 60*(60*(e-t)-i)+60*i+3600*t}}}}]);
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.