PageSourceSearch

https://www.falck.de/dist/faq-block-DRpBGlbE.js

js falck.de collected 2026-09-26 06:50:11 UTC 13,694 bytes, 6 lines download raw bytes

1import{r as M,j as T}from"./index-ClpuwTcw.js";import Te from"./faq-item-BrG_5xNW.js";import"./svgChevronDown-FqGoTXPy.js";function Re(n,e){if(n==null)return{};var a={};for(var t in n)if({}.hasOwnProperty.call(n,t)){if(e.indexOf(t)!==-1)continue;a[t]=n[t]}return a}function U(){return U=Object.assign?Object.assign.bind():function(n){for(var e=1;e<arguments.length;e++){var a=arguments[e];for(var t in a)({}).hasOwnProperty.call(a,t)&&(n[t]=a[t])}return n},U.apply(null,arguments)}function te(n,e){return te=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(a,t){return a.__proto__=t,a},te(n,e)}function je(n,e){n.prototype=Object.create(e.prototype),n.prototype.constructor=n,te(n,e)}function B(n,e,a){if(a||arguments.length===2)for(var t=0,r=e.length,o;t<r;t++)(o||!(t in e))&&(o||(o=Array.prototype.slice.call(e,0,t)),o[t]=e[t]);return n.concat(o||Array.prototype.slice.call(e))}var V={};/*!
2 * content-type
3 * Copyright(c) 2015 Douglas Christopher Wilson
4 * MIT Licensed
5 */var oe;function qe(){if(oe)return V;oe=1;var n=/; *([!#$%&'*+.^_`|~0-9A-Za-z-]+) *= *("(?:[\u000b\u0020\u0021\u0023-\u005b\u005d-\u007e\u0080-\u00ff]|\\[\u000b\u0020-\u00ff])*"|[!#$%&'*+.^_`|~0-9A-Za-z-]+) */g,e=/^[\u000b\u0020-\u007e\u0080-\u00ff]+$/,a=/^[!#$%&'*+.^_`|~0-9A-Za-z-]+$/,t=/\\([\u000b\u0020-\u00ff])/g,r=/([\\"])/g,o=/^[!#$%&'*+.^_`|~0-9A-Za-z-]+\/[!#$%&'*+.^_`|~0-9A-Za-z-]+$/;V.format=s,V.parse=u;function s(i){if(!i||typeof i!="object")throw new TypeError("argument obj is required");var c=i.parameters,p=i.type;if(!p||!o.test(p))throw new TypeError("invalid type");var E=p;if(c&&typeof c=="object")for(var y,m=Object.keys(c).sort(),f=0;f<m.length;f++){if(y=m[f],!a.test(y))throw new TypeError("invalid parameter name");E+="; "+y+"="+g(c[y])}return E}function u(i){if(!i)throw new TypeError("argument string is required");var c=typeof i=="object"?l(i):i;if(typeof c!="string")throw new TypeError("argument string is required to be a string");var p=c.indexOf(";"),E=p!==-1?c.slice(0,p).trim():c.trim();if(!o.test(E))throw new TypeError("invalid media type");var y=new j(E.toLowerCase());if(p!==-1){var m,f,d;for(n.lastIndex=p;f=n.exec(c);){if(f.index!==p)throw new TypeError("invalid parameter format");p+=f[0].length,m=f[1].toLowerCase(),d=f[2],d.charCodeAt(0)===34&&(d=d.slice(1,-1),d.indexOf("\\")!==-1&&(d=d.replace(t,"$1"))),y.parameters[m]=d}if(p!==c.length)throw new TypeError("invalid parameter format")}return y}function l(i){var c;if(typeof i.getHeader=="function"?c=i.getHeader("content-type"):typeof i.headers=="object"&&(c=i.headers&&i.headers["content-type"]),typeof c!="string")throw new TypeError("content-type header is missing from object");return c}function g(i){var c=String(i);if(a.test(c))return c;if(c.length>0&&!e.test(c))throw new TypeError("invalid parameter value");return'"'+c.replace(r,"\\$1")+'"'}function j(i){this.parameters=Object.create(null),this.type=i}return V}var Ae=qe(),N=new Map,he=function(e){return e.cloneNode(!0)},ae=function(){return window.location.protocol==="file:"},ve=function(e,a,t){var r=new XMLHttpRequest;r.onreadystatechange=function(){try{if(!/\.svg/i.test(e)&&r.readyState===2){var o=r.getResponseHeader("Content-Type");if(!o)throw new Error("Content type not found");var s=Ae.parse(o).type;if(!(s==="image/svg+xml"||s==="text/plain"))throw new Error("Invalid content type: ".concat(s))}if(r.readyState===4){if(r.status===404||r.responseXML===null)throw new Error(ae()?"Note: SVG injection ajax calls do not work locally without adjusting security settings in your browser. Or consider using a local webserver.":"Unable to load SVG file: "+e);if(r.status===200||ae()&&r.status===0)t(null,r);else throw new Error("There was a problem injecting the SVG: "+r.status+" "+r.statusText)}}catch(u){if(r.abort(),u instanceof Error)t(u,r);else throw u}},r.open("GET",e),r.withCredentials=a,r.overrideMimeType&&r.overrideMimeType("text/xml"),r.send()},_={},se=function(e,a){_[e]=_[e]||[],_[e].push(a)},_e=function(e){for(var a=function(s,u){setTimeout(function(){if(Array.isArray(_[e])){var l=N.get(e),g=_[e][s];l instanceof SVGSVGElement&&g(null,he(l)),l instanceof Error&&g(l),s===_[e].length-1&&delete _[e]}},0)},t=0,r=_[e].length;t<r;t++)a(t)},Ce=function(e,a,t){if(N.has(e)){var r=N.get(e);if(r===void 0){se(e,t);return}if(r instanceof SVGSVGElement){t(null,he(r));return}}N.set(e,void 0),se(e,t),ve(e,a,function(o,s){var u;o?N.set(e,o):((u=s.responseXML)===null||u===void 0?void 0:u.documentElement)instanceof SVGSVGElement&&N.set(e,s.responseXML.documentElement),_e(e)}
5)},Ie=function(e,a,t){ve(e,a,function(r,o){var s;r?t(r):((s=o.responseXML)===null||s===void 0?void 0:s.documentElement)instanceof SVGSVGElement&&t(null,o.responseXML.documentElement)})},Oe=0,Ge=function(){return++Oe},R=[],ce={},Pe="http://www.w3.org/2000/svg",Y="http://www.w3.org/1999/xlink",ue=function(e,a,t,r,o,s,u){var l=e.getAttribute("data-src")||e.getAttribute("src");if(!l){u(new Error("Invalid data-src or src attribute"));return}if(R.indexOf(e)!==-1){R.splice(R.indexOf(e),1),e=null;return}R.push(e),e.setAttribute("src","");var g=r?Ce:Ie;g(l,o,function(j,i){if(!i){R.splice(R.indexOf(e),1),e=null,u(j);return}var c=e.getAttribute("id");c&&i.setAttribute("id",c);var p=e.getAttribute("title");p&&i.setAttribute("title",p);var E=e.getAttribute("width");E&&i.setAttribute("width",E);var y=e.getAttribute("height");y&&i.setAttribute("height",y);var m=Array.from(new Set(B(B(B([],(i.getAttribute("class")||"").split(" "),!0),["injected-svg"],!1),(e.getAttribute("class")||"").split(" "),!0))).join(" ").trim();i.setAttribute("class",m);var f=e.getAttribute("style");f&&i.setAttribute("style",f),i.setAttribute("data-src",l);var d=[].filter.call(e.attributes,function(S){return/^data-\w[\w-]*$/.test(S.name)});if(Array.prototype.forEach.call(d,function(S){S.name&&S.value&&i.setAttribute(S.name,S.value)}),t){var b={clipPath:["clip-path"],"color-profile":["color-profile"],cursor:["cursor"],filter:["filter"],linearGradient:["fill","stroke"],marker:["marker","marker-start","marker-mid","marker-end"],mask:["mask"],path:[],pattern:["fill","stroke"],radialGradient:["fill","stroke"]},O,w,q,h,A;Object.keys(b).forEach(function(S){O=S,q=b[S],w=i.querySelectorAll(O+"[id]");for(var Ee=function($,Fe){h=w[$].id,A=h+"-"+Ge();var k;Array.prototype.forEach.call(q,function(Z){k=i.querySelectorAll("["+Z+'*="'+h+'"]');for(var L=0,xe=k.length;L<xe;L++){var ie=k[L].getAttribute(Z);ie&&!ie.match(new RegExp('url\\("?#'+h+'"?\\)'))||k[L].setAttribute(Z,"url(#"+A+")")}});for(var D=i.querySelectorAll("[*|href]"),z=[],W=0,Se=D.length;W<Se;W++){var ne=D[W].getAttributeNS(Y,"href");ne&&ne.toString()==="#"+w[$].id&&z.push(D[W])}for(var Q=0,be=z.length;Q<be;Q++)z[Q].setAttributeNS(Y,"href","#"+A);w[$].id=A},H=0,we=w.length;H<we;H++)Ee(H)})}i.removeAttribute("xmlns:a");for(var x=i.querySelectorAll("script"),C=[],G,I,P=0,me=x.length;P<me;P++)I=x[P].getAttribute("type"),(!I||I==="application/ecmascript"||I==="application/javascript"||I==="text/javascript")&&(G=x[P].innerText||x[P].textContent,G&&C.push(G),i.removeChild(x[P]));if(C.length>0&&(a==="always"||a==="once"&&!ce[l])){for(var F=0,ye=C.length;F<ye;F++)new Function(C[F])(window);ce[l]=!0}var ge=i.querySelectorAll("style");if(Array.prototype.forEach.call(ge,function(S){S.textContent+=""}),i.setAttribute("xmlns",Pe),i.setAttribute("xmlns:xlink",Y),s(i),!e.parentNode){R.splice(R.indexOf(e),1),e=null,u(new Error("Parent node is null"));return}e.parentNode.replaceChild(i,e),R.splice(R.indexOf(e),1),e=null,u(null,i)})},Ne=function(e,a){var t=a===void 0?{}:a,r=t.afterAll,o=r===void 0?function(){}:r,s=t.afterEach,u=s===void 0?function(){}:s,l=t.beforeEach,g=l===void 0?function(){}:l,j=t.cacheRequests,i=j===void 0?!0:j,c=t.evalScripts,p=c===void 0?"never":c,E=t.httpRequestWithCredentials,y=E===void 0?!1:E,m=t.renumerateIRIElements,f=m===void 0?!0:m;if(e&&"length"in e)for(var d=0,b=0,O=e.length;b<O;b++)ue(e[b],p,f,i,y,g,function(w,q){u(w,q),e&&"length"in e&&e.length===++d&&o(d)});else e?ue(e,p,f,i,y,g,function(w,q){u(w,q),o(1),e=null}):o(0)},K={exports:{}},J,fe;function ke(){if(fe)return J;fe=1;var n="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";return J=n,J}var ee,le;function We(){if(le)return ee;le=1;var n=ke();function e(){}function a(){}return a.resetWarningCache=e,ee=function(){function t(s,u,l,g,j,i){if(i!==n){var c=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw c.name="Invariant Violation",c}}t.isRequired=t;function r(){return t}var o={array:t,bigint:t,bool:t,func:t,number:t,object:t,string:t,symbol:t,any:t,arrayOf:r,element:t,elementType:t,instanceOf:r,node:t,objectOf:r,oneOf:r,oneOfType:r,shape:r,exact:r,checkPropTypes:a,resetWarningCache:e};return o.PropTypes=o,o},ee}var pe;function Le(){return pe||(pe=1,K.exports=We()()),K.exports}var v=Le(),Me=function(e){var a=(e==null?void 0:e.ownerDocument)||document;return a.defaultView||window},Ve=function(e,a){for(var t in e)if(!(t in a))return!0;for(var r in a)if(e[r]!==a[r])return!0;return!1},Xe=["afterInjection","beforeInjection","desc","evalScripts","fallback","httpRequestWithCredentials","loading","renumerateIRIElements","src","title","useRequestCache","wrapper"],X="http://www.w3.org/2000/svg",de="http://www.w3.org/1999/xlink",re=(function(n){je(e,n);function e(){for(var t,r=arguments.length,o=new Array(r),s=0;s<r;s++)o[s]=arguments[s];return t=n.call.apply(n,[this].concat(o))||this,t.initialState={hasError:!1,isLoading:!0},t.state=t.initialState,t._isMounted=!1,t.reactWrapper=void 0,t.nonReactWrapper=void 0,t.refCallback=function(u){t.reactWrapper=u},t}var a=e.prototype;return a.renderSVG=function(){var r=this;if(this.reactWrapper instanceof Me(this.reactWrapper).Node){var o=this.props,s=o.desc,u=o.evalScripts,l=o.httpRequestWithCredentials,g=o.renumerateIRIElements,j=o.src,i=o.title,c=o.useRequestCache,p=this.props.onError,E=this.props.beforeInjection,y=this.props.afterInjection,m=this.props.wrapper,f,d;m==="svg"?(f=document.createElementNS(X,m),f.setAttribute("xmlns",X),f.setAttribute("xmlns:xlink",de),d=document.createElementNS(X,m)):(f=document.createElement(m),d=document.createElement(m)),f.appendChild(d),d.dataset.src=j,this.nonReactWrapper=this.reactWrapper.appendChild(f);var b=function(h){if(r.removeSVG(),!r._isMounted){p(h);return}r.setState(function(){return{hasError:!0,isLoading:!1}},function(){p(h)})},O=function(h,A){if(h){b(h);return}r._isMounted&&r.setState(function(){return{isLoading:!1}},function(){try{y(A)}catch(x){b(x)}})},w=function(h){if(h.setAttribute("role","img"),s){var A=h.querySelector(":scope > desc");A&&h.removeChild(A);var x=document.createElement("desc");x.innerHTML=s,h.prepend(x)}if(i){var C=h.querySelector(":scope > title");C&&h.removeChild(C);var G=document.createElement("title");G.innerHTML=i,h.prepend(G)}try{E(h)}catch(I){b(I)}};
5Ne(d,{afterEach:O,beforeEach:w,cacheRequests:c,evalScripts:u,httpRequestWithCredentials:l,renumerateIRIElements:g})}},a.removeSVG=function(){var r;(r=this.nonReactWrapper)!=null&&r.parentNode&&(this.nonReactWrapper.parentNode.removeChild(this.nonReactWrapper),this.nonReactWrapper=null)},a.componentDidMount=function(){this._isMounted=!0,this.renderSVG()},a.componentDidUpdate=function(r){var o=this;Ve(U({},r),this.props)&&this.setState(function(){return o.initialState},function(){o.removeSVG(),o.renderSVG()})},a.componentWillUnmount=function(){this._isMounted=!1,this.removeSVG()},a.render=function(){var r=this.props;r.afterInjection,r.beforeInjection,r.desc,r.evalScripts;var o=r.fallback;r.httpRequestWithCredentials;var s=r.loading;r.renumerateIRIElements,r.src,r.title,r.useRequestCache;var u=r.wrapper,l=Re(r,Xe),g=u;return M.createElement(g,U({},l,{ref:this.refCallback},u==="svg"?{xmlns:X,xmlnsXlink:de}:{}),this.state.isLoading&&s&&M.createElement(s,null),this.state.hasError&&o&&M.createElement(o,null))},e})(M.Component);re.defaultProps={afterInjection:function(){},beforeInjection:function(){},desc:"",evalScripts:"never",fallback:null,httpRequestWithCredentials:!1,loading:null,onError:function(){},renumerateIRIElements:!0,title:"",useRequestCache:!0,wrapper:"div"};re.propTypes={afterInjection:v.func,beforeInjection:v.func,desc:v.string,evalScripts:v.oneOf(["always","once","never"]),fallback:v.oneOfType([v.func,v.object,v.string]),httpRequestWithCredentials:v.bool,loading:v.oneOfType([v.func,v.object,v.string]),onError:v.func,renumerateIRIElements:v.bool,src:v.string.isRequired,title:v.string,useRequestCache:v.bool,wrapper:v.oneOf(["div","span","svg"])};function ze(n){var o;const e=(o=n.items)==null?void 0:o.map(s=>({...s,themeColor:n.themeColor})),a=T.jsx("img",{src:n.icon,className:"fa-section-heading__icon",alt:"icon"}),t=n.icon&&T.jsx(re,{src:n.icon,className:"fa-section-heading__icon","data-testid":"faq-block-svg-icon"}),r=()=>{var u;const s=(u=n==null?void 0:n.icon)==null?void 0:u.split(".").pop();return s==="png"?a:s==="svg"?t:null};return T.jsxs("div",{className:"booking-section fa-block",children:[T.jsx("div",{className:"booking-section-left",children:T.jsxs("div",{className:"fa-section-heading",children:[r(),T.jsxs("div",{className:"fa-section-heading__text",children:[T.jsx("h3",{className:"fa-section-heading__header",children:n.title}),T.jsx("p",{className:"fa-section-heading__subheader",dangerouslySetInnerHTML:{__html:n.showIconText?n.iconText:n.text}})]})]})}),T.jsx("div",{className:"booking-section-right",children:e==null?void 0:e.map((s,u)=>T.jsx(Te,{question:s.question,answer:s.answer.toString(),themeColor:s.themeColor},`${n.title}-item-${u}`))})]})}export{ze as default};
6//# sourceMappingURL=faq-block-DRpBGlbE.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.