1var standortmapareas = {}; 2 3 4 5/* 6Der Standort soll nicht mehr über window.location gewechselt werden. Stattdessen soll ein normaler Link zur Ziel-Domain generiert werden. 7 8$(document).ready(function(){ 9 // Standort-Widget 10 $(document).on('submit','form#standort-auswahl',function(event){ 11 event.preventDefault(); 12 var domain = $('#widget-standort-select :selected').data('www'); 13 14 // Zur ermittelten SVG springen - ausser auf der Telepass-K-Master-Seite, da soll nur der ASP ausgetauscht werden 15 if(window.location.host.indexOf('telepasskmaster')===-1){ 16 if( (typeof(domain)=='string') && (domain!='') ){ 17 window.location = 'https://'+domain+(window.location.pathname); 18 return; 19 } 20 } 21 22 $('#main-standort-modal').modal('hide'); 23 }); 24});*/ 25 26$(function() { 27 $(document).on('change', '#widget-standort-select', function() { 28 // Nur auÃerhalb der Telepass-K-Master-Seite tatsächlich einen Sprunglink erzeugen 29 if (window.location.host.indexOf('telepasskmaster') === -1) { 30 31 let url = 'https://'; 32 let domain = $('#widget-standort-select :selected').data('www'); 33 34 if (domain) { 35 url += domain + window.location.pathname; 36 $('#standort-select-link').prop('href', url).removeAttr('disabled').css('pointer-events', 'auto'); 37 } else { 38 $('#standort-select-link').attr('disabled', 'disabled').css('pointer-events', 'none'); 39 } 40 } 41 }); 42}); 43 44 45var standortKarteInitialized = false; 46$(window).on('load', function () { 47 48 $(document).on('click','[data-target="#main-standort-modal"]',function(){ 49 50 if( !standortKarteInitialized ){ 51 52// standortmap = function(elementId){ 53 //var vorauswahl = $('#'+elementId).text(); 54 var rsr = Raphael( 55 $('#standort-imagemap')[0] 56 , '230', '313' 57 ); 58 rsr.setViewBox(0, 0, 460.903, 626.35, true); 59 60 var group_a = rsr.set(); 61 var path_c = rsr.path("m210.75 108 30.25 4.25v4.5l15.5-4.5 17.75 6 3.625 18.375-9.625 8.125 15.5-1.25s-3.25 12.5-2.25 12.25 9-10 9-10l20 10.25 9.75-5.75 6.75-1-4.75-8.75 8.25-2 7.25 8-9 4-1.75 13.75-10 10.5-6.25 1.75 1 5h5.75l-.75 6.25-6.5 7.5 9.5 10.5-.25 9.25-14.5 10.5v5.75l-14.75-5.25-6-9.5 13-1.75 3.5-3.25-9.5-11.5-15.5.75-5 10.75-13.375 1.625-17.625-24.125-13-.25-5.5-11.75 8.75 1.5-4.75-9-3.5 1-2-4.75 6.75-9-13.75 1-3.5-5.25 7.5-5 7.25-5.5z").attr({fill:'#ffffff', stroke:'#000000', "stroke-miterlimit":'10', parent:'group_a', 'stroke-width':'3', 'stroke-opacity':'1'}).transform("t-67.796 -94.144") 62 .data('id', 'SVG Schleswig-Holstein').data('uid',48); 63 var path_d = rsr.path("m141.829 31.106 1.125-5-7.125.5-2.5 3.25z").attr({fill:'#ffffff', stroke:'#000000', "stroke-miterlimit":'10', parent:'group_a', 'stroke-width':'3', 'stroke-opacity':'1'}) 64 .data('id', 'SVG Schleswig-Holstein').data('uid',48); 65 var path_e = rsr.path("m130.704 29.981 3.625 6.5-2 .625-3.25-4.875z").attr({fill:'#ffffff', stroke:'#000000', "stroke-miterlimit":'10', parent:'group_a', 'stroke-width':'3', 'stroke-opacity':'1'}) 66 .data('id', 'SVG Schleswig-Holstein').data('uid',48); 67 var path_f = rsr.path("m146.829 45.856 1.5-4.625-7 2.25 2.375 3.875z").attr({fill:'#ffffff', stroke:'#000000', "stroke-miterlimit":'10', parent:'group_a', 'stroke-width':'3', 'stroke-opacity':'1'}) 68 .data('id', 'SVG Schleswig-Holstein').data('uid',48); 69 var path_g = rsr.path("m129.079 25.981 2.5-11 3.25 2.875 3.75-2.125-6.125-2.875.875-6.75 5.375-4.125-4.875-1.375-5.125 13.5z").attr({fill:'#ffffff', stroke:'#000000', "stroke-miterlimit":'10', parent:'group_a', 'stroke-width':'3', 'stroke-opacity':'1'}) 70 .data('id', 'SVG Schleswig-Holstein').data('uid',48); 71 72 var path_h = rsr.path("m190.413 119.022 12.541-1.666 5-10.75 15.5-.75 9.5 11.5-3.5 3.25-13 1.75 6 9.5-2.916 2.958-4.167.292-4.458-5.625-3.459 3.583-8.166-2.75-3.167-7.042z").attr({fill:'#ffffff', stroke:'#000000', "stroke-miterlimit":'10', parent:'group_a', 'stroke-width':'3', 'stroke-opacity':'1'}) 73 .data('id', 'SVG Hamburg').data('uid',36); 74 75 var path_i = rsr.path("m305.125 230.844-.125-5.344 14.5-10.5.25-9.25-9.5-10.5 6.5-7.5.375-3.333 9.875-5.292 8.375 2.542-.917 3.583 4.542-1.458 5.292 5.083 2.25-10.042 5.666-5.083-.375-2.625 3.167-3.667 7.375.709 11.583-3.584 11.375-9.291 4.084 4.041.166-4.333 5.917-5.583 13.833.25 3.167-5 4.5-1.917 4.75 13.583 7.5 2.167 9.667 8.75 10.416-4.083 12.584 7.416 12.25 13.167-16.417 5.167 8.5 6.5 11.333-.834-1.416 3.834 4.75 7.75 5.25 21.583-7.167 6.75-7.333 4.083-4.75 5.167-14.417 12.5-9 .333-11.333-11.583-8.5-5.083-3.917 5-16.333-4.667-10.417-1.75-19.333-9s-11.5 11.25-11.25 11.75 3.25 6.583 2.916 6.667-9.916 7.083-9.916 7.083l-4.75-8-13.334 4.25-6.25-5.5-3.25 3.417-17-12.75-.166-4.334z").attr({fill:'#ffffff', stroke:'#000000', "stroke-miterlimit":'10', parent:'group_a', 'stroke-width':'3', 'stroke-opacity':'1'}
75).transform("t-67.796 -94.144") 76 .data('id', 'SVG Mecklenburg-Vorpommern').data('uid',54); 77 var path_j = rsr.path("m318.704 58.772 4.75-4.75 2.25.75 5.584-4.166 13.5-1.584-17.5-.75-2.167-2.5-5 8.334z").attr({fill:'#ffffff', stroke:'#000000', "stroke-miterlimit":'10', parent:'group_a', 'stroke-width':'3', 'stroke-opacity':'1'}) 78 .data('id', 'SVG Mecklenburg-Vorpommern').data('uid',54); 79 var path_k = rsr.path("m421.75 147.667.333 3.5 1.5 3.916 11.167 3.584.333-6.25 8.084-4.334 3.916 2.417-1.25 2.667 4.75 1.5-.833-6.834a44.91 44.91 0 0 0 -3.333-3.75c-.25 0-2.834.5-2.834.5l-2.333-6.333 5.333-4-.166-3.583-2.667-1.25-8.5 1.75-3.833-6.167 3.666-2.167-8.333.75-4.583 9.25 1.333 4.167-2.917 4.667 5 1.833 2.667 4.167z").attr({fill:'#ffffff', stroke:'#000000', "stroke-miterlimit":'10', parent:'group_a', 'stroke-width':'3', 'stroke-opacity':'1'}).transform("t-67.796 -94.144") 80 .data('id', 'SVG Mecklenburg-Vorpommern').data('uid',54); 81 82 var path_l = rsr.path("m241.875 192-21.625 2.25-7.75-5.5-9.25 17.625 4.75 11.125-14.75-7.75-1.75 8.5h3.875l-4.042 10.583-9.333-9.333 7-1.5-7.875-16.5-36 3-9.75 11.875-2.375 13.25 11.5 2.75-3.75 29.375-6.5 11.375-1.375 13.75-17.25-1.25-.375 12.875 11.625 4.125 6.5-6.375 20.125 10.75 5.875-5.25 5 4.75-5.5 5.5 6 18.625 11.5 5.25 26.75-10.625-10.875-21.375 7.5-1 12.375-6.625.75 13.125s12.75-2 12.75-2.375 7.875-9.875 7.875-9.375.375 12.625.375 12.625l-9.5 8.75 24 34.375-3 14.625 14.625 6.375-2.125 8.625 14.625 7.125 23.75-17.125 12.625 2.875-2.125-6.375 15.25 2.625 4.125 14.25 16.75 1.875 7.5 8.625-7.125 6.5 8.25 8.25 21 4.75 15.5 7.125 3.125-10-7.375-13.25 2.125-26.125 41.625-8.25 5.375-3.75-2.25-15.125-25.375-10.25-17.75-3.5.5-23 .5-11.75-6.125 1.875-4-17.375h2.5l4-8.75-2-5.625-27.458-13.625-4.75-8-13.334 4.25-6.25-5.5-3.25 3.417-17-12.75-.166-4.334-5.542-1.239-.125.406-14.75-5.25-2.792 3-4.291.25-4.459-5.5-3.458 3.458-8.167-2.75-3.166-7.041-5.584-4.292h-.958z").attr({fill:'#ffffff', stroke:'#000000', "stroke-miterlimit":'10', parent:'group_a', 'stroke-width':'3', 'stroke-opacity':'1'}).transform("t-67.796 -94.144") 83 .data('id', 'SVG Niedersachsen/Sachsen-Anhalt').data('uid',38); 84 85 var path_m = rsr.path("m135.538 147.022 23.833 8-.833 10.5-13.834-3.666z").attr({fill:'#ffffff', stroke:'#000000', "stroke-miterlimit":'10', parent:'group_a', 'stroke-width':'3', 'stroke-opacity':'1'}) 86 .data('id', 'SVG Bremen').data('uid',32); 87 88 var path_n = rsr.path("m137.871 117.731 6.583-.313-.812 8.063-2.625 2.125-1.375-2.938.562-1.312z").attr({fill:'#ffffff', stroke:'#000000', "stroke-miterlimit":'10', parent:'group_a', 'stroke-width':'3', 'stroke-opacity':'1'}) 89 .data('id', 'path_n').data('uid',null); 90 91 var path_o = rsr.path("m112.892 350.356 2.375-3.563-1.969-4.031 7.75-7.781 3.75 2.468 5.469-5.093-1.281-1.844 5.125-5.938-.375-4.656 6.937.875 5.406-9.219-1.875-7.718-6.343 2.625-2.125-2.625 6.625-7.438 13.343-1.031-3.093-7.563 5.968-2.718 4.063 1.406-.25 3.875 3.625.812 10.687-11.718-1.593-2.094 5.406-2.156 11.687 5-2.125 8.625 14.625 7.125 2.459 7.833 3.958.292-.208 4.291 8.198 2.802-.615 5.49-.917-1.792-2.875.292.688 6.792 3.146 1.708-1.334 3.958-8.041-.916 2.333 4.291-6.542.375 5.584 5.375-4.25 3.917-3.792 10.667-.542 4.593 4.032.469-.698-3.062 5.125-.542 1.958 3.375-2.417 1.208.917 7.334-1.75 4.041-6.75 6.584-7.333-4.084-.334 11.417-4.916 3.417-.584 2.083-6.583-.583.667 11.416-6 1.167-1.667-4.25-10.75-1.083-7.917 3-.583 5 7.16
917 24-3.917 11.083 2.083 2.5.5 5.417-8.083.166-3.333 6.25-4.917-4.083.75-3.917-7-.833-1-6.833-6.5.25-2.667-6 2.667-1.5-4-2.417.917-2.333-2.75-.25-4-9.417 1.25-2.75-3.75-11.083-5.584 1.583-15 4.833-5.583-8 4.917-5.25 3.583 2.667-2.833-6.833 7.916-2.834-1.25-9.166-2.666.666-4.917-4.5 4.167-2.833 1.166 2.583 2.917-5.583-1.833-3.417 3.75-4.833 3.75 2.75 1.75-5.917z").attr({fill:'#ffffff', stroke:'#000000', "stroke-miterlimit":'10', parent:'group_a', 'stroke-width':'3', 'stroke-opacity':'1'}) 92 .data('id', 'SVG Hessen').data('uid',null); 93 94 var path_p = rsr.path("m98.25 350.167.625 2.021 10.562 1.062 10.188 6.688 5.187-1.313-9 15.937 1.875 7.376 8-6.563 7.5 9.25 1.438 9.937 11.187 5.563 4.75 10.5 10.5 2.563 5.313 15.5-2.292 3.4-3.083-.921-3.167 5.916-12.75 5.084-3-1.334-.666 6.334-7.084 1.416v-3.5l-4 4.834-4.25-.5-4 4.083-5 2.167 1.084 4.166s-2.334 1.25-2.834 1.084a25.364 25.364 0 0 1 -3-2.917l-2.416 1.083 2 9.417s-5.417 1.833-5.667 1.667-3.75-4.334-3.75-4.334-7.417 3.75-7.667 3.334-2.833-3.917-2.833-3.917l.667 4.917-3.584-4.417 1.167-4.083 1-.084v-1.833l-3.833-4.083a30.117 30.117 0 0 1 -4 .166c-.25-.166-2.334-4.916-2.334-4.916l6-4.667-5-1.083-3.583-7.834-3.417-.166-2.166-6.667 4.583-4.083 1-4.084-4.083-2 1.333-3.75-6.833-.166-.584-6.084 2.084-.583.916 3.083 1.834-.833.833-3.333 10.167-5.667-.25-2.917-4.917 1.75.25-5.333 6.75-8.25 1.333-13.333-6.25-9.25 2.834-3.667-4.917-.333-3.417-12.584 6.417-2.666 4.333 2.25-1.583-5.834 7.75 3.917z").attr({fill:'#ffffff', stroke:'#000000', "stroke-miterlimit":'10', parent:'group_a', 'stroke-width':'3', 'stroke-opacity':'1'}).transform("t-67.796 -94.144") 95 .data('id', 'SVG Nordrhein').data('uid',null); 96 97 var path_q = rsr.path("m19.329 376.231 5.542-.209-.667-4.916 2.834 3.916 7.666-3.333 3.75 4.333 5.667-1.666-2-9.417 2.417-1.083 3 2.916 2.833-1.083-1.083-4.167 5-2.166 4-4.084 4.25.5 4-4.833v3.5l7.083-1.417.667-6.333 3 1.333 12.75-5.083 3.166-5.917 3.084.917 2.291-3.396 10.813 14.438 3.5 1.375 1.146 6.666-1.75 5.917-3.75-2.75-3.75 4.833 1.833 3.417-2.917 5.583-1.166-2.583-4.167 2.833 4.917 4.5 2.666-.666 1.25 9.166-7.916 2.834 2.833 6.833-3.583-2.667-4.917 5.25 5.583 8 20.584-6.416 3.75 11.083-1.25 2.75 4 9.417 2.75.25-1.459 3.625-5 2 3 7.375-9 1.5-6.625-9.125-6.25-.375-11.25-8-6.5 9.875-5.25-2.125-13.375 11.625-15.375-8.25-19.625 8.25-14.625-3.375 10.75-19.75-13-7.25-6.75-14.125 2.625-11.375z").attr({fill:'#ffffff', stroke:'#000000', "stroke-miterlimit":'10', parent:'group_a', 'stroke-width':'3', 'stroke-opacity':'1'}) 98 .data('id', 'SVG Rheinland').data('uid',null); 99 100 var path_r = rsr.path("m114.871 488.272 14.5-26.416-3.792-24.25-9 1.5-6.625-9.125-6.25-.375-11.25-8-6.5 9.875-5.25-2.125-13.375 11.625-2.041 9.041 7.666 9.834 6.334-.5 1.083 4.333-4.083 7.083 8.5 10.334 16.333.75 8.083 5.166z").attr({fill:'#ffffff', stroke:'#000000', "stroke-miterlimit":'10', parent:'group_a', 'stroke-width':'3', 'stroke-opacity':'1'}) 101 .data('id', 'SVG Pfalz eG').data('uid',null); 102 103 var path_s = rsr.path("m18.038 437.939 14.291 3.042 19.625-8.25 15.375 8.25-2.041 9.041 7.666 9.834 6.334-.5 1.083 4.333-4.083 7.083-3.584-.75-6.583 4.834-9.833-1.417-3.334 1.417-.333-6.417-5.583-3.333-4.167.416-.667 6-6.083-3.166-6.167-9.667-3-11.083-8-3.334z").attr({fill:'#ffffff', stroke:'#000000', "stroke-miterlimit":'10', parent:'group_a', 'stroke-width':'3', 'stroke-opacity':'1'}) 104 .data('id', 'SVG Saar').data('uid',null); 105 106 var path_t = rsr.path("m237.417 520.167 8.833 3.708-1.5 6.125s-4.375-1.875-4.5-1.5-4.5 6-4.5 6l-6.25.083.5 5.417-8.083.167-3.334
1066.25-4.916-4.084.75-3.916-7-.834-1-6.833-6.5.25-2.667-6 2.667-1.5-4-2.417-.542 1.292-5 2 3 7.375 3.792 24.25-14.5 26.417-5.792 6.708-17.313 22.625-14.937 43.125 3.375 6.25-6.875 26s8.125 10.5 8.625 10.25 9.625-5 9.625-5l3.75 3.75 9.5-.375 7-5.5 7.625 5.125 11.75-3.125 1.625-5.375-9.375 2-1.313-4.5 8.938-8.563 9.25 4.688-1.5 4.375 4 1.75.875-4.5 4.125 6.75 7.125-3.875-6-3.5 6.375 1 4.375 2.625.5 3.5 5.75-1-3-5.25-5.375-8.125 1-1.75 4.25 5.125 4.687-1.125-2.125 6.25 7.313 5.75 2.375-.625s3.25-5.25 3.375-5.625-.25-6.375-.25-6.375l-10.25-13.5-11.188 8.125 7.313-7.125v-4.687l-6.75-5.563-8.125 7.5 3.5 3.75-4.375 3.437-15.75 3.688-.5-5.875 4.5-4.563-9.75-5.437 5.062-.813-5.937-10.187-13.438-3.687 9-.25 1.313-5.563-3.125-11.875-4.438-.062-1.812-11.688 7.062 1.938 8.313-14.25-9 .437 12.937-10.75 15.646 10.5-4.471-9.149 3.388-2.288-6.125-3.313 1.958-12.5 11.334 2.083 10.1-20.4 4.146 6.146 5.562-1.054-2.479-6.646 20.333-4.042 9.375-16.416-4.083-9.042-9.5 3.125 2-8.625z").attr({fill:'#ffffff', stroke:'#000000', "stroke-miterlimit":'10', parent:'group_a', 'stroke-width':'3', 'stroke-opacity':'1'}).transform("t-67.796 -94.144") 107 .data('id', 'SVG Baden').data('uid',null); 108 109 var path_u = rsr.path("m383.417 473.625-6.709-2.25-1.739-6.125-5.761 3.25-2.458-1.958-7.792 2.375-2.666-1.334-2.375 2.875-6.584-7.625 1.479-1.833 2.521-.708-7.166-1.917-1.417 3.083-3.417.667-1.291-1.25-2.667.917-2.667 5-5.791-1.459-2.625 4.25-11.75 2.334.541 3.25 6.292 4-.25 2.666-6.083-.875.125 3.5-6.25-1.958-.917-8.375-9.375-4.75-4.417-7.625-10.75-5.75-2.791 2.875-1.75 4.042-6.75 6.583-7.334-4.083-.333 11.416-4.917 3.417-.583 2.083-6.583-.583.666 11.417-6 1.166-1.666-4.25-10.75-1.083-7.917 3-.583 5 7.166 24-3.916 11.083 2.083 2.5 6.25-.083 4.812-6.188 4.188 1.688 1.5-6.125-8.25-3.687 19.75-2.938-2 8.625 9.5-3.125 4.083 9.042-9.375 16.416-20.333 4.042 2.475 6.65-5.562 1.062-4.146-6.146-10.1 20.4-11.334-2.083-1.958 12.492 6.125 3.313-3.388 2.288 4.471 9.149-15.646-10.5-12.937 10.75 9-.437-8.313 14.25-7.062-1.938 1.812 11.688 4.438.062 3.125 11.875-1.313 5.563-9 .25 13.438 3.687 5.937 10.187-5.062.813 9.75 5.437-4.5 4.563.5 5.875 15.75-3.688 4.375-3.437-3.5-3.75 8.125-7.5 6.75 5.563v4.687l-7.313 7.125 11.188-8.125 10.25 13.5.25 6.375-3.375 5.625 18.625 10.937.25-5.75 19.25 12.126.25 14.687s12.25-2.687 12.5-2.875 8.375-13.375 8.375-13.375l-2.75-7.437 8.187 2.25 17.125.062 4.938 11.25 32.625-11.188.187-5.687 32.688-2.313-4.25-6.624s6.75-4.188 6.812-3.938.125 5.312.125 5.312l10.125-1.812s3.438 5.375 3.625 5.438 4-.5 4-.5l1.188-3.376 7.875-.624 3.875 4.312-2.125 4.562 12.812 7.563 2-3.5 2-11.25-3.125-5.813-6.625 2.313 4.063-12.625-13.5-20.75 14-12.5 16.312-6.5 6.813-20.375 12.75 5 4.375-9.125-5.75-20.562-42.25-33.938-9.75-2.25-20.5-29.75 7-13.75-18.25-19.75z").attr({fill:'#ffffff', stroke:'#000000', "stroke-miterlimit":'10', parent:'group_a', 'stroke-width':'3', 'stroke-opacity':'1'}).transform("t-67.796 -94.144") 110 .data('id', 'SVG Süd').data('uid',null); 111 112 var path_v = rsr.path("m157.579 580.106 1-1.75 4.25 5.125 4.688-1.125-1.979 5.166-4.5-2.25z").attr({fill:'#ffffff', stroke:'#000000', "stroke-miterlimit":'10', parent:'group_a', 'stroke-width':'3', 'stroke-opacity':'1'}) 113 .data('id', 'path_v').data('uid',null); 114 115 group_a.attr({'fill':'#0088ff', 'stroke':'#504f4f', 'stroke-miterlimit':'10', 'name':'group_a'}); 116 // var group_b = rsr.set(); 117 var path_w = rsr.path("m486.167 227.75-7.167 6.75-7.333 4.083-4.75 5.167-14.417 12.5-9 .333-11.333-11.583-8.5-5.083-3.917 5-16.333-4.667-10.417-1.75-19.333-9-11.25 11.75 2.916 6.667-9.916 7.083 27.458 13.625 2 5.625-4 8.75h-2.5l4 17.375 6.125-1.875-1 34.75 17.75 3.5 25.375 10.25 2.25 15.125-5.375 3.75 8 9.458.25 10.667 10.583-4.833s6.917 4.833 7.167 4.916 21.75-1.083 21.75-1.083l6.833-13.833 9.917 2.166 10.5-6.25 4.75 2.834 3.75-3.417s2.417-2.25 2-2.417a13.146 13.146 0 0 1 -1.833-2.416l.75-1.5-2.667-3.417-3.417-6.75-3.25-2.25 6.334-10.167-1.75-2.416 2.75-7.5-4.334-4.334.584-10.166-5.75-1.9
11717-3.25-8.917 4.5-8.666-.417-6.167-2.75-2.917-12.25-10.166-6.917-5.167-4.666-.75s1.666-4.083 1.916-4.583-1-5.667-1-5.667l8.75-6.5 2.334-8.75-1.834-1.5 3.834-8.417-1.5-1.166z").attr({fill:'#ffffff', stroke:'#000000', "stroke-miterlimit":'10', parent:'group_a', 'stroke-width':'3', 'stroke-opacity':'1'}).transform("t-67.796 -94.144") 118 .data('id', 'SVG Berlin und Brandenburg').data('uid',31); 119 120 var path_x = rsr.path("m272.5 390.125 23.75-17.125 12.625 2.875-2.125-6.375 15.25 2.625 4.125 14.25 16.75 1.875 7.5 8.625-7.125 6.5 8.25 8.25 21 4.75 15.5 7.125 3.125-10-7.375-13.25 2.125-26.125 41.625-8.25 8 9.458.25 10.667 10.583-4.833 7.167 4.916 21.75-1.083 6.833-13.833 9.917 2.166 10.5-6.25 4.75 2.834 2.292-2.042 1.458 1.375.333 1.75 12.5 4.333.084 8.709 4.25 6.458-5.792 27.292-3.542 4.541-.291 4.625-9.75-1.958 1.791-4.667-4.666-.5 1.25-5.833-4.834-3.833-4.333 1.25-6.5-2.042-1.292 6.25 4.125.292-.5 2.333 4.084 1.125-1.75 3.083-6.625 1.375-.209 1.709-9.666 5-3.125-.375-4.125 2.166.75 3.667-18.709 3.875.959 3.875-3.573 4.906-4.761-3.531.084 1.875-6.459 3-2.291 7-8-.042-3.084 8.542-7.958-4.5-6 5.083-9.292.584-7.75 11.208-1.166 7.333-2.084-.625-4.333-7.666-3.083-3.667-2.25.375-6.709-2.25-1.739-6.125-5.761 3.25-2.458-1.958-7.792 2.375-2.666-1.334-2.375 2.875-6.584-7.625 1.667-1.833 2.333-.708-7.166-1.917-1.417 3.083-3.417.667-1.291-1.25-2.667.917-2.667 5-5.791-1.459-2.625 4.25-11.75 2.334.541 3.25 6.292 4-.25 2.666-6.083-.875.125 3.5s-6.334-1.583-6.25-1.958-.917-8.375-.917-8.375l-9.375-4.75-4.417-7.625-10.75-5.75-2.791 2.875-.917-7.333 2.417-1.209-1.959-3.375-5.125.542.7 3.062-4.031-.468.542-4.594 3.791-10.667 4.25-3.916-5.583-5.375 6.542-.375-2.334-4.292 8.042.917 1.333-3.959
120-3.146-1.708-.687-6.792 2.875-.291.917 1.791.614-5.489s-8.239-2.677-8.2-2.8.209-4.292.209-4.292l-3.959-.292z").attr({fill:'#ffffff', stroke:'#000000', "stroke-miterlimit":'10', parent:'group_a', 'stroke-width':'3', 'stroke-opacity':'1'}).transform("t-67.796 -94.144") 121 .data('id', 'SVG Sachsen und Thüringen').data('uid',null); 122 123 var path_y = rsr.path("m245.375 368 3-14.625-24-34.375 9.5-8.75-.375-12.625-7.875 9.375-12.75 2.375-.75-13.125-12.375 6.625-7.5 1 10.875 21.375-26.75 10.625-11.5-5.25-6-18.625 5.5-5.5-5-4.75-5.875 5.25-20.125-10.75-3.938 3.812 3.625 9.188-2.687 6.938 1.187 3.562-18.75 13.688 7.563 5.374-5.375 6.813-2.313-2.125-15.375 3.5 1.563 5.188 10.562 1.062s9.938 6.875 10.188 6.688 5.187-1.313 5.187-1.313l-9 15.937 1.875 7.376 8-6.563 7.5 9.25 1.438 9.937 11.187 5.563 4.75 10.5 10.5 2.563 5.313 15.5 10.812 14.437 3.5 1.375 2.375-3.562-1.968-4.032 7.75-7.781 3.75 2.469 5.468-5.094-1.281-1.844 5.125-5.937-.375-4.657 6.938.876 5.406-9.219-1.875-7.719-6.344 2.625-2.125-2.625 6.625-7.438 13.344-1.031-3.094-7.562 5.969-2.719 4.062 1.406-.25 3.875 3.625.813 10.688-11.719-1.594-2.094 5.406-2.156z").attr({fill:'#ffffff', stroke:'#000000', "stroke-miterlimit":'10', parent:'group_a', 'stroke-width':'3', 'stroke-opacity':'1'}).transform("t-67.796 -94.144") 124 .data('id', 'SVG Westfalen-Lippe').data('uid',null); 125 126 // group_b.attr({'fill':'#0088ff', 'stroke':'#504f4f', 'stroke-miterlimit':'10', 'parent':'group_a', 'name':'group_b'}); 127 // group_b.transform("t-67.796 -94.144"); 128 var rsrGroups = [group_a]; 129 group_a.push( path_c, path_d, path_e, path_f, path_g, path_h, path_i, path_j, path_k, path_l, path_m, path_n, path_o, path_p, path_q, path_r, path_s, path_t, path_u, path_v, path_w, path_x, path_y ); 130 131 //svg 132 /* 133 $(group_a).each(function(){ 134 this.attr({"fill": "#ff8800"}); 135 }); 136 */ 137 138 for (var i = 0; i < group_a.length; i++) { 139 140 // Showing off 141 group_a[i].mouseover(function(event){ 142 this.attr({"fill": "#F8D54D"}); 143 144 }); 145 146 group_a[i].mouseout(function(event){ 147 if(!this.data('active')){ 148 this.attr({"fill": "#ffffff"}); 149 } 150 }); 151 152 group_a[i].click(function(event){ 153 event.preventDefault(); 154 event.stopPropagation(); 155 156 $('#svg-searchplz-plz').val(''); 157 var option = $('#widget-standort-select option:contains("'+this.data('id')+'")'); 158 if( option.length ){ 159 option.prop('selected',true); 160 $('#widget-standort-select').trigger('change'); 161 //$('body').trigger('standortselect'); 162 } 163 164 var auswahl = this.data('id'); 165 for (var x = 0; x < group_a.length; x++) { 166 if( group_a[x].data('id') == auswahl ){ 167 group_a[x].data('active',true); 168 group_a[x].attr({"fill": "#F8D54D"}); 169 } else { 170 group_a[x].data('active',false); 171 group_a[x].attr({"fill": "#FFFFFF"}); 172 } 173 } 174 this.attr({"fill": "#F8D54D"}); 175 this.data('active',true); 176 }); 177 } 178 179 /* 180 // OBSOLET, Standortauswahl wird nicht mehr in Cookies festgehalten, sondern nur noch der Standort anhand Domains gewechselt 181 $(document).on('standortselect',function(){ 182 if(typeof(Cookies.get('standort'))!='undefined'){ 183 var vorauswahl = Cookies.get('standort'); 184 if(vorauswahl!==''){ 185 if(typeof(window.standortcache)!=='undefined'){ 186 for(var i=0; i<window.standortcache.SVGen.length; i++){ 187 var svg = window.standortcache.SVGen[i]; 188 if( svg.uid==vorauswahl ){ 189 //$('#standort-auswahl-button').text(svg.kurzname); 190 for (var x = 0; x < group_a.length; x++) { 191 if( group_a[x].data('id') == svg.kurzname ){ 192 group_a[x].data('active',true).attr({"fill": "#F8D54D"}); 193 } else { 194 group_a[x].data('active',false).attr({"fill": "#FFFFFF"}); 195 } 196 } 197 } 198 } 199 } 200 } 201 } 202 }); 203 */ 204 205 //
206 $('#widget-standort-select').change(function(){ 207 var auswahl = $('#widget-standort-select :selected').text(); 208 for (var x = 0; x < group_a.length; x++) { 209 if( group_a[x].data('id') == auswahl ){ 210 group_a[x].data('active',true).attr({"fill": "#F8D54D"}); 211 } else { 212 group_a[x].data('active',false).attr({"fill": "#FFFFFF"}); 213 } 214 215 } 216 }); 217 218 219 220// // Imagemap erzeugen 221// $('.standort-imagemap').each(function(){ 222// var elementid = $(this).prop('id'); 223// standortmap(elementid); 224// }); 225// 226 227 228/* 229 // Standort-Widget 230console.log('standort-auswahl geladen'); 231 $(document).on('submit','form#standort-auswahl',function(event){ 232 event.preventDefault(); 233console.log('standort-auswahl'); 234 //$('#main-standort-modal').modal('hide'); 235 236 // Domain ermitteln und mit dem gleichen Pfad dorthin wechseln 237 var standort = parseInt($('select#widget-standort-select').val(),10); 238 //console.log(standort,'standort'); 239 if((typeof(standortcache)=='object') && (standortcache.hasOwnProperty('SVGen'))){ 240 for(var i=0; i<window.standortcache.SVGen.length; i++){ 241 var svg = window.standortcache.SVGen[i]; 242 //console.log(svg,'svg'); 243 if( svg.uid==standort ){ 244 if(svg.standortauswahl=='2'){ 245//console.log('https://'+(svg.wwwvorschau)+(window.location.pathname),'standortauswahl vorschau'); return; 246 window.location = 'http://'+(svg.wwwvorschau)+(window.location.pathname); 247 } 248 if(svg.standortauswahl=='1'){ 249//console.log('https://'+(svg.wwwvorschau)+(window.location.pathname),'standortauswahl echte domain'); return; 250 window.location = 'https://'+(svg.www)+(window.location.pathname); 251 } 252 return; 253 //$('#standort-auswahl-button').text(svg.kurzname); 254 //Cookies.set('standort',parseInt($('select#widget-standort-select').val(),10)); 255 //$('body').trigger('standortselect'); 256 } 257 } 258 } 259 $('#main-standort-modal').modal('hide'); 260 }); 261 262*/ 263 // PLZ-Suche 264 $(document).on('keyup','input#svg-searchplz-plz',function(event){ 265 var plz = $('input#svg-searchplz-plz').val(); 266 var match = plz.match(/^[0-9]{5}$/); 267 $('#svg-searchplz-submit').prop('disabled',(match!==null?'':'disabled')); 268 }).find('input#svg-searchplz-plz').trigger('keyup'); 269 $(document).on('submit','form#standort-plzsuche',function(event){ 270 event.preventDefault(); 271 // PLZ-Suche per Ajax abfragen, 272 $('select#widget-standort-select').prop('disabled','disabled').val('0'); 273 $.ajax({ 274 url: $(this).prop('action'), 275 data: $(this).serialize(), 276 type: 'POST', 277 dataType: 'json', 278 success: function(data) { 279 var svg; 280 if(data.hasOwnProperty('svg') && (svg = parseInt(data.svg,10))){ 281 $('select#widget-standort-select').find('option[value="'+svg+'"]').prop('selected','selected').trigger('change'); 282 } 283 if(data.hasOwnProperty('error')){
284 $('select#widget-standort-select').find('option[value="0"]').prop('selected','selected').trigger('change'); 285 } 286 }, 287 error: function(){ 288 alert('Zu dieser Postleitzahl konnte kein Standort ermittelt werden, versuchen Sie es bitte mit der Postleitzahl der nächstgröÃeren Stadt.'); 289 }, 290 complete: function(){ 291 $('select#widget-standort-select').prop('disabled',''); 292 } 293 }); 294 }).on('change','select#widget-standort-select',function(event){ 295 $('#standort-select-submit').prop( 'disabled', ($(this).val()==='0'?'disabled':'') ); 296 }); 297 298 299 300 // Beim ändern des Standorts alle Standortabhängigen Teile der Seite austauschen 301/* 302 $(document).on('standortselect','body',function(){ 303 304 // Vorher: Auswahl per Cookie 305 // var standort = Cookies.get('standort'); 306var standort = parseInt($(':input#widget-standort-select').val(),10); 307 if(typeof(standort)!='undefined'){ 308 for(var i=0; i<window.standortcache.SVGen.length; i++){ 309 var svg = window.standortcache.SVGen[i]; 310 if( svg.uid==standort ){ 311 $('#standort-auswahl-button').text(svg.kurzname); 312 } 313 } 314 $('select.standort-select').find('option[value="'+standort+'"]').prop('selected','selected'); 315 $('select.standort-select:not(#widget-standort-select)').trigger('change'); 316 } 317 $('.handlebars-wrap').each(function(){ 318 var source = $(this).find('script').html(); 319 var template = Handlebars.compile(source); 320 var content = template($.extend({}, $(this).data(), { 321 cache: window.standortcache, 322 standort: standort 323 })); 324 if(content){ 325 $(this).find('.handlebars-content').html(content); 326 } 327 }); 328 }); 329*/ 330 }; 331 332 standortKarteInitialized = true; 333 //} 334 335 // Popup-Funktion, 336 // a.open-internal-in-modal -> 337 $('body').on('click','a.open-internal-in-modal',function(event){ 338 event.preventDefault(); 339 if(!$('#modal').length){ 340 $('<div class="modal fade" id="tx-svgbasis-modal" tabindex="-1" role="dialog" aria-labelledby="tx-svgbasis-modal-label" aria-hidden="true">'+ 341 '<div class="modal-dialog modal-lg">'+ 342 '<div class="modal-content">'+ 343 //'<div class="modal-header"><button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button><h4 class="modal-title">modal-title</h4></div>'+ 344 '<div class="modal-body"><div id="modal-ajax-content"></div></div>'+ 345 //'<div class="modal-footer"><button type="button" class="btn btn-default" data-dismiss="modal">Close</button><button type="button" class="btn btn-primary">Save changes</button></div>'+ 346 '</div>'+ 347 '</div>'+ 348 '</div>'+ 349 '').appendTo('#content'); 350 } 351 $.ajax({ 352 url: $(this).prop('href'), 353 type: 'GET', 354 beforeSend: function(){ 355 $('#modal-ajax-content').html('<div class="modal-loading">Wird geladen...</div>'); 356 $('#tx-svgbasis-modal').modal('show'); 357 } 358 }).done(function(result){ 359 $('#modal-ajax-content').html($(result).find('#page-content').html());
360 $('#modal-ajax-content').find('.popup-close').css('border','1px solid red;').text('Schliessen').click(function(event){ 361 event.preventDefault(); 362 $('#tx-svgbasis-modal').modal('hide'); 363 }); 364 }); 365 }); 366 367 /* 368 // Standort-Widget: alle Klicks auf Links und Form-Submits abfangen, per Ajax laden und im gleichen <div> ausgeben 369 if( $('#ajax-target').length ){ 370 $('#ajax-target').on('submit', 'form', function(event){ 371 event.preventDefault(); 372 initialXHR = $.ajax({ 373 context: this, 374 url: $(this).prop('action'), 375 data: $(this).serialize(), 376 type:'POST', 377 success: function(data){ 378 var content = $(data).find('#ajax-content'); 379 //console.log(content); 380 $('#ajax-target').html( 381 $(data).find('#ajax-content') 382 ); 383 } 384 }); 385 }).trigger('update'); 386 387 $('#ajax-target').on('click', 'a,button', function(event){ 388 if( $(this).is(':not(.no-ajax)') ){ 389 event.preventDefault(); 390 initialXHR = $.ajax({ 391 context: this, 392 url: $(this).prop('href'), 393 type:'GET', 394 success: function(data){ 395 var content = $(data).find('#ajax-content'); 396 //console.log(content); 397 $('#ajax-target').html( 398 $(data).find('#ajax-content') 399 ); 400 } 401 }); 402 } 403 }); 404 405 // Standort-Widget: beim Laden der Seite die persönliche SVG nachladen, sofern eine gewählt wurde 406 var initialXHR = null; 407 initialXHR = $.ajax({ 408 context: this, 409 url: $('#ajax-target').data('initialUrl'), 410 type:'GET', 411 success: function(data){ 412 var content = $(data).find('#ajax-content'); 413 //console.log(content); 414 $('#ajax-target').html( 415 $(data).find('#ajax-content') 416 ); 417 } 418 }); 419 } 420 */ 421 }); 422 423 424 425 426 427 428});
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.