PageSourceSearch

https://www.derma-tagungen.de/static/js/5533.c6a9f67d.chunk.js

js derma-tagungen.de collected 2026-10-05 02:41:03 UTC 13,451 bytes, 2 lines download raw bytes

1(self.webpackChunkvm2_app=self.webpackChunkvm2_app||[]).push([[5533],{10446:(e,t,n)=>{var o=/^\s+|\s+$/g,r=/^[-+]0x[0-9a-f]+$/i,s=/^0b[01]+$/i,i=/^0o[0-7]+$/i,a=parseInt,u="object"==typeof n.g&&n.g&&n.g.Object===Object&&n.g,c="object"==typeof self&&self&&self.Object===Object&&self,l=u||c||Function("return this")(),d=Object.prototype.toString,g=Math.max,p=Math.min,f=function(){return l.Date.now()};function h(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}function v(e){if("number"==typeof e)return e;if(function(e){return"symbol"==typeof e||function(e){return!!e&&"object"==typeof e}(e)&&"[object Symbol]"==d.call(e)}(e))return NaN;if(h(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=h(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=e.replace(o,"");var n=s.test(e);return n||i.test(e)?a(e.slice(2),n?2:8):r.test(e)?NaN:+e}e.exports=function(e,t,n){var o,r,s,i,a,u,c=0,l=!1,d=!1,m=!0;if("function"!=typeof e)throw new TypeError("Expected a function");function y(t){var n=o,s=r;return o=r=void 0,c=t,i=e.apply(s,n)}function S(e){var n=e-u;return void 0===u||n>=t||n<0||d&&e-c>=s}function w(){var e=f();if(S(e))return b(e);a=setTimeout(w,function(e){var n=t-(e-u);return d?p(n,s-(e-c)):n}(e))}function b(e){return a=void 0,m&&o?y(e):(o=r=void 0,i)}function I(){var e=f(),n=S(e);if(o=arguments,r=this,u=e,n){if(void 0===a)return function(e){return c=e,a=setTimeout(w,t),l?y(e):i}(u);if(d)return a=setTimeout(w,t),y(u)}return void 0===a&&(a=setTimeout(w,t)),i}return t=v(t)||0,h(n)&&(l=!!n.leading,s=(d="maxWait"in n)?g(v(n.maxWait)||0,t):s,m="trailing"in n?!!n.trailing:m),I.cancel=function(){void 0!==a&&clearTimeout(a),c=0,o=u=r=a=void 0},I.flush=function(){return void 0===a?i:b(f())},I}},13139:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});t.geocodeByAddress=function(e){var t=new window.google.maps.Geocoder,n=window.google.maps.GeocoderStatus.OK;return new Promise((function(o,r){t.geocode({address:e},(function(e,t){t!==n&&r(t),o(e)}))}))},t.getLatLng=function(e){return new Promise((function(t,n){try{t({lat:e.geometry.location.lat(),lng:e.geometry.location.lng()})}catch(o){n(o)}}))},t.geocodeByPlaceId=function(e){var t=new window.google.maps.Geocoder,n=window.google.maps.GeocoderStatus.OK;return new Promise((function(o,r){t.geocode({placeId:e},(function(e,t){t!==n&&r(t),o(e)}))}))}},15468:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},r=function(){function e(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(t,n,o){return n&&e(t.prototype,n),o&&e(t,o),t}}(),s=c(n(65043)),i=c(n(65173)),a=c(n(10446)),u=n(21139);function c(e){return e&&e.__esModule?e:{default:e}}var l=function(e){function t(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var n=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return n.init=function(){if(!window.google)throw new Error("[react-places-autocomplete]: Google Maps JavaScript API library must be loaded. See: https://github.com/kenny-hibino/react-places-autocomplete#load-google-library");if(!window.google.maps.places)throw new Error("[react-places-autocomplete]: Google Maps Places library must be loaded. Please add `libraries=places` to the src URL. See: https://github.com/kenny-hibino/react-places-autocomplete#load-google-library");n.autocompleteService=new window.google.maps.places.AutocompleteService,n.autocompleteOK=window.google.maps.places.PlacesServiceStatus.OK,n.setState((function(e){return e.ready?null:{ready:!0}}))},n.autocompleteCallback=function(e,t){if(n.setState({loading:!1}),t===n.autocompleteOK){var o=n.props.highlightFirstSuggestion;n.setState({suggestions:e.map((function(e,t){return{id:e.id,description:e.description,placeId:e.place_id,active:!(!o||0!==t),index:t,formattedSuggestion:(n=e.structured_formatting,{mainText:n.main_text,secondaryText:n.secondary_text}),matchedSubstrings:e.matched_substrings,terms:e.terms,types:e.types};var n}))})}else n.props.onError(t,n.clearSuggestions)},n.fetchPredictions=function(){var e=n.props.value;e.length&&(n.setState({loading:!0}),n.autocompleteService.getPlacePredictions(o({},n.props.searchOptions,{input:e}),n.autocompleteCallback))},n.clearSuggestions=function(){n.setState({suggestions:[]})},n.clearActive=function(){n.setState({suggestions:n.state.suggestions.map((function(e){return o({},e,{active:!1})}
1))})},n.handleSelect=function(e,t,o){n.clearSuggestions(),n.props.onSelect?n.props.onSelect(e,t,o):n.props.onChange(e)},n.getActiveSuggestion=function(){return n.state.suggestions.find((function(e){return e.active}))},n.selectActiveAtIndex=function(e){var t=n.state.suggestions.find((function(t){return t.index===e})).description;n.setActiveAtIndex(e),n.props.onChange(t)},n.selectUserInputValue=function(){n.clearActive(),n.props.onChange(n.state.userInputValue)},n.handleEnterKey=function(){var e=n.getActiveSuggestion();void 0===e?n.handleSelect(n.props.value,null,null):n.handleSelect(e.description,e.placeId,e)},n.handleDownKey=function(){if(0!==n.state.suggestions.length){var e=n.getActiveSuggestion();void 0===e?n.selectActiveAtIndex(0):e.index===n.state.suggestions.length-1?n.selectUserInputValue():n.selectActiveAtIndex(e.index+1)}},n.handleUpKey=function(){if(0!==n.state.suggestions.length){var e=n.getActiveSuggestion();void 0===e?n.selectActiveAtIndex(n.state.suggestions.length-1):0===e.index?n.selectUserInputValue():n.selectActiveAtIndex(e.index-1)}},n.handleInputKeyDown=function(e){switch(e.key){case"Enter":e.preventDefault(),n.handleEnterKey();break;case"ArrowDown":e.preventDefault(),n.handleDownKey();break;case"ArrowUp":e.preventDefault(),n.handleUpKey();break;case"Escape":n.clearSuggestions()}},n.setActiveAtIndex=function(e){n.setState({suggestions:n.state.suggestions.map((function(t,n){return o({},t,n===e?{active:!0}:{active:!1})}))})},n.handleInputChange=function(e){var t=e.target.value;n.props.onChange(t),n.setState({userInputValue:t}),t?n.props.shouldFetchSuggestions&&n.debouncedFetchPredictions():n.clearSuggestions()},n.handleInputOnBlur=function(){n.mousedownOnSuggestion||n.clearSuggestions()},n.getActiveSuggestionId=function(){var e=n.getActiveSuggestion();return e?"PlacesAutocomplete__suggestion-"+e.placeId:void 0},n.getIsExpanded=function(){return n.state.suggestions.length>0},n.getInputProps=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(e.hasOwnProperty("value"))throw new Error("[react-places-autocomplete]: getInputProps does not accept `value`. Use `value` prop instead");if(e.hasOwnProperty("onChange"))throw new Error("[react-places-autocomplete]: getInputProps does not accept `onChange`. Use `onChange` prop instead");var t={type:"text",autoComplete:"off",role:"combobox","aria-autocomplete":"list","aria-expanded":n.getIsExpanded(),"aria-activedescendant":n.getActiveSuggestionId(),disabled:!n.state.ready};return o({},t,e,{onKeyDown:(0,u.compose)(n.handleInputKeyDown,e.onKeyDown),onBlur:(0,u.compose)(n.handleInputOnBlur,e.onBlur),value:n.props.value,onChange:function(e){n.handleInputChange(e)}})},n.getSuggestionItemProps=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=n.handleSuggestionMouseEnter.bind(n,e.index),s=n.handleSuggestionClick.bind(n,e);return o({},t,{key:e.id,id:n.getActiveSuggestionId(),role:"option",onMouseEnter:(0,u.compose)(r,t.onMouseEnter),onMouseLeave:(0,u.compose)(n.handleSuggestionMouseLeave,t.onMouseLeave),onMouseDown:(0,u.compose)(n.handleSuggestionMouseDown,t.onMouseDown),onMouseUp:(0,u.compose)(n.handleSuggestionMouseUp,t.onMouseUp),onTouchStart:(0,u.compose)(n.handleSuggestionTouchStart,t.onTouchStart),onTouchEnd:(0,u.compose)(n.handleSuggestionMouseUp,t.onTouchEnd),onClick:(0,u.compose)(s,t.onClick)})},n.handleSuggestionMouseEnter=function(e){n.setActiveAtIndex(e)},n.handleSuggestionMouseLeave=function(){n.mousedownOnSuggestion=!1,n.clearActive()},n.handleSuggestionMouseDown=function(e){e.preventDefault(),n.mousedownOnSuggestion=!0}
1,n.handleSuggestionTouchStart=function(){n.mousedownOnSuggestion=!0},n.handleSuggestionMouseUp=function(){n.mousedownOnSuggestion=!1},n.handleSuggestionClick=function(e,t){t&&t.preventDefault&&t.preventDefault();var o=e.description,r=e.placeId;n.handleSelect(o,r,e),setTimeout((function(){n.mousedownOnSuggestion=!1}))},n.state={loading:!1,suggestions:[],userInputValue:e.value,ready:!e.googleCallbackName},n.debouncedFetchPredictions=(0,a.default)(n.fetchPredictions,e.debounce),n}return function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),r(t,[{key:"componentDidMount",value:function(){var e=this.props.googleCallbackName;e?window.google&&window.google.maps&&window.google.maps.places?this.init():window[e]=this.init:this.init()}},{key:"componentWillUnmount",value:function(){var e=this.props.googleCallbackName;e&&window[e]&&delete window[e]}},{key:"render",value:function(){return this.props.children({getInputProps:this.getInputProps,getSuggestionItemProps:this.getSuggestionItemProps,loading:this.state.loading,suggestions:this.state.suggestions})}}]),t}(s.default.Component);l.propTypes={onChange:i.default.func.isRequired,value:i.default.string.isRequired,children:i.default.func.isRequired,onError:i.default.func,onSelect:i.default.func,searchOptions:i.default.shape({bounds:i.default.object,componentRestrictions:i.default.object,location:i.default.object,offset:i.default.oneOfType([i.default.number,i.default.string]),radius:i.default.oneOfType([i.default.number,i.default.string]),types:i.default.array}),debounce:i.default.number,highlightFirstSuggestion:i.default.bool,shouldFetchSuggestions:i.default.bool,googleCallbackName:i.default.string},l.defaultProps={onError:function(e,t){return console.error("[react-places-autocomplete]: error happened when fetching data from Google Maps API.\nPlease check the docs here (https://developers.google.com/maps/documentation/javascript/places#place_details_responses)\nStatus: ",e)},searchOptions:{},debounce:200,highlightFirstSuggestion:!1,shouldFetchSuggestions:!0},t.default=l},19506:(e,t,n)=>{"use strict";t.rg=t.IU=void 0;var o,r=n(15468),s=(o=r)&&o.__esModule?o:{default:o},i=n(13139);t.IU=i.geocodeByAddress,i.geocodeByPlaceId,t.rg=i.getLatLng,t.Ay=s.default},21139:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});t.compose=function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return function(){for(var e=arguments.length,n=Array(e),o=0;o<e;o++)n[o]=arguments[o];t.forEach((function(e){return e&&e.apply(void 0,n)}))}},t.pick=function(e){for(var t=arguments.length,n=Array(t>1?t-1:0),o=1;o<t;o++)n[o-1]=arguments[o];return n.reduce((function(t,n){return e&&e.hasOwnProperty(n)&&(t[n]=e[n]),t}),{})}},85533:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>g});var o=n(65043),r=n(22166),s=n(19506),i=n(37174),a=n(50649),u=n(940),c=n(70579);const l=e=>{var t,n;return null===(t=e.appState.settings.appSettings)||void 0===t||null===(n=t.googleSettings)||void 0===n?void 0:n.googleMapsKey},d=e=>{const{styles:t,onSelect:n,value:i,placeholder:d}=e,g=(0,r.d4)(l),[p,f]=(0,o.useState)(String(null!==i&&void 0!==i?i:"")),[h,v]=(0,o.useState)("loading");(0,o.useEffect)((()=>{if(!g)return()=>null;const e=document.createElement("script");return e.src=`https://maps.googleapis.com/maps/api/js?key=${g}&libraries=places`,e.onload=()=>{v("ready")},e.onerror=()=>{v("error")},document.head.appendChild(e),()=>{document.head.removeChild(e)}}),[g]);return"loading"===h?(0,c.jsx)(a.Rh,{}):"error"===h?(0,c.jsx)("div",{children:"Error"}):(0,c.jsx)(s.Ay,{value:p,onChange:e=>{f(e)},onSelect:t=>{(0,s.IU)(t).then((e=>(0,s.rg)(e[0]))).then((o=>{const{lat:r,lng:s}=o;(0,u.dispatchVmEvents)(n,{dataBankExtend:{value:{latitude:r,longitude:s,address:t},props:e}})})).then((()=>{f(t)}))},children:e=>{let{getInputProps:n,suggestions:o,getSuggestionItemProps:r,loading:s}=e;return(0,c.jsxs)("div",{style:null===t||void 0===t?void 0:t.wrapper,className:"location-search-container",children:[(0,c.jsx)("input",{style:null===t||void 0===t?void 0:t.input,...n({placeholder:d,className:"location-search-input"})}),s&&(0,c.jsx)(a.Rh,{}),o.length>0&&(0,c.jsx)("div",{style:null===t||void 0===t?void 0:t.dropdownWrapper,className:"autocomplete-dropdown-container",children:o.map((e=>(0,c.jsx)("div",{className:"suggestion-item",...r(e,{className:e.active?"location-search-wrapper-suggestion-item--active":"location-search-wrapper-suggestion-item",style:e.active?null===t||void 0===t?void 0:t.itemActive:null===t||void 0===t?void 0:t.item}),children:(0,c.jsx)("span",{children:e.description})})))})]})}})};d.vmPropTypes={apiKey:i.mt.string,placeholder:i.mt.string,styles:i.mt.styles,value:i.mt.string,onSelect:i.mt.array};const g=d}}]);
2//# sourceMappingURL=5533.c6a9f67d.chunk.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.