1/*! For license information please see main.8944ee33507d0385d394.min.js.LICENSE.txt */ 2!function(e){e.camelCase||(e.camelCase=function(e){return e.replace(/-([a-z])/g,(function(e){return e[1].toUpperCase()}))}),e.fn.camelCase||(e.fn.camelCase=function(t){return e.camelCase(t)}),e.type||(e.type=function(e){return null==e?e+"":"object"==typeof e||"function"==typeof e?t[n.call(e)]||"object":typeof e});var t={},n=t.toString;"Boolean Number String Function Array Date RegExp Object Error Symbol".split(" ").forEach((function(e){t["[object "+e+"]"]=e.toLowerCase()}))}(jQuery),(self.webpackChunkmain=self.webpackChunkmain||[]).push([[8792],{71(e,t,n){n.d(t,{Lg:()=>p,sx:()=>h});var r=n(43977);function i(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function o(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=l(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=l(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==l(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function a(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,i,o,a,u=[],l=!0,c=!1;try{if(o=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(r=o.call(n)).done)&&(u.push(r.value),u.length!==t);l=!0);}catch(e){c=!0,i=e}finally{try{if(!l&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(c)throw i}}return u}}(e,t)||function(e,t){if(e){if("string"==typeof e)return u(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?u(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function u(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function l(e){return l="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},l(e)}var c=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"undefined"!=typeof window&&window.location&&window.location.pathname||"";if(!e)return"unknown";if("/"===e)return"frontpage";var t=(0,r.Op)(e);return t.startsWith("/search")?"search":t.startsWith("/community")?"community":t.startsWith("/checkout")?"checkout":t.startsWith("/meine-credits")?"credits":t.startsWith("/pricing-info")?"pricing_info":t.startsWith("/registrieren")?"auth":e.startsWith("/user/")?"user_profile":t.startsWith("/deal-anlegen")?"deal_create":e.includes("/urlaub-gegen-hilfe/")||e.includes("/wohnen-gegen-hilfe/")||e.includes("/hilfe-und-tausch/")||e.includes("/haustausch/")||e.includes("/socialbusiness/")||e.includes("/holiday-for-help/")||e.includes("/housing-for-help/")||e.includes("/vacances-pour-aide/")?"deal_detail":"other"},s=function(e){if(void 0!==e){if(null===e)return null;if(Array.isArray(e))return e.map((function(e){return s(e)})).filter((function(e){return void 0!==e}));if("object"===l(e)){var t={};return Object.entries(e).forEach((function(e){var n=a(e,2),r=n[0],i=n[1],o=s(i);void 0!==o&&(t[r]=o)})),t}return"string"==typeof e?e.slice(0,500):e}},f={signup_completed:"CompleteRegistration",search_submitted:"Search",community_search_submitted:"Search",deal_detail_view:"ViewContent",contact_owner_click:"Lead",checkout_started:"InitiateCheckout",checkout_success:"Purchase"},d=function(e,t,n){if("undefined"!=typeof window&&"function"==typeof window.fbq){var r=f[e],i=function(e,t){var n={};if(t.search_term&&(n.search_string=String(t.search_term).slice(0,100)),t.deal_id&&(n.content_ids=[String(t.deal_id)]),t.credits_package_id&&!n.content_ids&&(n.content_ids=[String(t.credits_package_id)]),t.deal_category&&(n.content_category=t.deal_category),"deal_detail_view"===e&&(n.content_type="product"),null!=t.quantity&&""!==t.quantity){var r=Number(t.quantity);Number.isFinite(r)&&r>0&&(n.num_items=r)}return n}(e,t),o=n?{eventID:n}:void 0;r?window.fbq("track",r,i,o):"deal_created"===e&&window.fbq("trackCustom","deal_created",i,o)}},p=function(){"undefined"!=typeof window&&"function"==typeof window.fbq&&window.fbq("track","PageView")},h=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if("undefined"!=typeof window){window.dataLayer=window.dataLayer||[];var n=s(t)||{},r=n.user_state||(n.user_id?"logged_in":"anonymous"),a="undefined"!=typeof crypto&&"function"==typeof crypto.randomUUID?crypto.randomUUID():"evt-".concat(Date.now(),"-").concat(Math.random().toString(36).slice(2,10));window.dataLayer.push(function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};
2t%2?i(Object(n),!0).forEach((function(t){o(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):i(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({event:e,event_id:a,event_time:(new Date).toISOString(),page_type:n.page_type||c(),user_state:r,event_version:"2026-03-lean-mvp"},n)),d(e,n,a)}}},1588(e,t,n){n.d(t,{IR:()=>d,R6:()=>y,TW:()=>h,Vd:()=>s,nJ:()=>o.nJ,wq:()=>p,xl:()=>f,yA:()=>o.yA});var r=n(79494),i=n(85621),o=n(74695);function a(e){return a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},a(e)}function u(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function l(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?u(Object(n),!0).forEach((function(t){c(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):u(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function c(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=a(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=a(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==a(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var s=["/urlaub-gegen-hilfe","/wohnen-gegen-hilfe","/hilfe-und-tausch","/haustausch","/socialbusiness"],f=window.innerWidth>990,d=window.innerWidth>768,p=window.innerWidth<390,h=((0,o.nJ)((0,o.yA)()),["search","lat","lng","location","radius","boundingbox","sortby","sortdirection","page","memberoffer","membersearch","verified","checkbox_filter","date_filter","hide_expired","slider_filter","checkbox_filter_connector"]),m=[{value:"all",label:(0,r.t)("ui.search.all_categories"),filters:[{label:(0,r.t)("ui.constants.filter.offer"),type:"checkbox",items:["field_ughhost_category","field_ughhelfer_search","field_wghhost_category","field_wghhelfer_search","field_hghhelfer_search","field_hthost_category","field_deal_offer_orga"],relation:"and"},{label:(0,r.t)("ui.constants.filter.search"),type:"checkbox",items:["field_ughhost_offer","field_ughhelfer_offer","field_wghhost_offer","field_wghhelfer_offer","field_hghhelfer_offer","field_hthost_offer","field_deal_offer_comp"],relation:"and"},{label:(0,r.t)("ui.constants.filter.period"),type:"datepicker",items:["field_ughhost_period_from","field_ughhost_period_to","field_ughhelfer_period_from","field_ughhelfer_period_to","field_wghhost_period_from","field_wghhost_period_to","field_wghhelfer_period_from","field_wghhelfer_period_to","field_hghhelfer_period_from","field_hghhelfer_period_to","field_hthost_period_from","field_hthost_period_to","field_deal_period_from","field_deal_period_to"],relation:null},{label:(0,r.t)("ui.constants.filter.duration"),type:"checkbox",items:["field_ughhost_duration","field_ughhelfer_duration","field_wghhost_duration","field_wghhelfer_duration","field_hthost_duration","field_deal_duration"],relation:"and"},{label:(0,r.t)("ui.constants.filter.availability"),type:"checkbox",items:["field_ughhost_availability","field_ughhelfer_availability","field_wghhost_availability","field_wghhelfer_availability","field_hghhelfer_availability","field_hthost_availability","field_deal_availability"],relation:"and"},{label:(0,r.t)("ui.constants.filter.furnishing"),type:"checkbox",items:["field_ughhost_furnishing","field_wghhost_furnishing","field_hthost_furnishing"],relation:"and"},{label:(0,r.t)("ui.constants.filter.catering"),type:"checkbox",items:["field_ughhost_catering","field_wghhost_catering"],relation:"and"}
2,{label:(0,r.t)("ui.constants.filter.particularities"),type:"checkbox",items:["field_ughhost_particularities","field_wghhost_particularities","field_hthost_particularities"],relation:"and"},{label:(0,r.t)("ui.constants.filter.location"),type:"checkbox",items:["field_ughhost_location","field_ughhelfer_desiredlocation","field_wghhost_location","field_wghhelfer_desiredlocat","field_hthost_location"],relation:"and"},{label:(0,r.t)("ui.constants.filter.persons"),type:"slider",items:["field_ughhost_nr_people","field_ughhelfer_nr_people","field_wghhost_nr_people","field_wghhelfer_nr_people","field_hthost_nr_people"],values:[1,20],relation:null},{label:(0,r.t)("ui.constants.filter.consideration"),type:"slider",items:["field_ughhost_considerationhd","field_ughhelfer_considerationhd","field_wghhost_considerationhd","field_wghhelfer_considerationhd","field_hghhelfer_considerationh","field_deal_considerationhd"],values:[1,6],relation:null}]},{value:"ugh",label:(0,i.getCategoryName)("ugh"),filters:[{label:(0,r.t)("ui.constants.filter.offer"),type:"checkbox",items:["field_ughhost_category","field_ughhelfer_search"],relation:"and"},{label:(0,r.t)("ui.constants.filter.search"),type:"checkbox",items:["field_ughhost_offer","field_ughhelfer_offer"],relation:"and"},{label:(0,r.t)("ui.constants.filter.period"),type:"datepicker",items:["field_ughhost_period_from","field_ughhost_period_to","field_ughhelfer_period_from","field_ughhelfer_period_to"],relation:null},{label:(0,r.t)("ui.constants.filter.duration"),type:"checkbox",items:["field_ughhost_duration","field_ughhelfer_duration"],relation:"and"},{label:(0,r.t)("ui.constants.filter.availability"),type:"checkbox",items:["field_ughhost_availability"],relation:"and"},{label:(0,r.t)("ui.constants.filter.furnishing"),type:"checkbox",items:["field_ughhost_furnishing"],relation:"and"},{label:(0,r.t)("ui.constants.filter.catering"),type:"checkbox",items:["field_ughhost_catering"],relation:"and"}
2,{label:(0,r.t)("ui.constants.filter.particularities"),type:"checkbox",items:["field_ughhost_particularities"],relation:"and"},{label:(0,r.t)("ui.constants.filter.location"),type:"checkbox",items:["field_ughhost_location","field_ughhelfer_desiredlocation"],relation:"and"},{label:(0,r.t)("ui.constants.filter.persons"),type:"slider",items:["field_ughhost_nr_people","field_ughhelfer_nr_people"],values:[1,20],relation:null},{label:(0,r.t)("ui.constants.filter.consideration"),type:"slider",items:["field_ughhost_considerationhd","field_ughhelfer_considerationhd"],values:[1,6],relation:null}],sub_categories:[{label:(0,r.t)("ui.constants.find_host"),value:"ugh_host_content",filters:[{label:(0,r.t)("ui.constants.filter.offer"),type:"checkbox",items:"field_ughhost_category",relation:"and"},{label:(0,r.t)("ui.constants.filter.search"),type:"checkbox",items:"field_ughhost_offer",relation:"and"},{label:(0,r.t)("ui.constants.filter.period"),type:"datepicker",items:["field_ughhost_period_from","field_ughhost_period_to"],relation:null},{label:(0,r.t)("ui.constants.filter.duration"),type:"checkbox",items:"field_ughhost_duration",relation:"and"},{label:(0,r.t)("ui.constants.filter.availability"),type:"checkbox",items:"field_ughhost_availability",relation:"and"},{label:(0,r.t)("ui.constants.filter.furnishing"),type:"checkbox",items:"field_ughhost_furnishing",relation:"and"},{label:(0,r.t)("ui.constants.filter.catering"),type:"checkbox",items:"field_ughhost_catering",relation:"and"}
2,{label:(0,r.t)("ui.constants.filter.particularities"),type:"checkbox",items:"field_ughhost_particularities",relation:"and"},{label:(0,r.t)("ui.constants.filter.location"),type:"checkbox",items:"field_ughhost_location",relation:"and"},{label:(0,r.t)("ui.constants.filter.persons"),type:"slider",items:["field_ughhost_nr_people"],values:[1,20],relation:null},{label:(0,r.t)("ui.constants.filter.consideration"),type:"slider",items:["field_ughhost_considerationhd"],values:[1,6],relation:null}]},{label:(0,r.t)("ui.constants.find_helper"),value:"ugh_helfer_content",filters:[{label:(0,r.t)("ui.constants.filter.offer"),type:"checkbox",items:"field_ughhelfer_search",relation:"and"},{label:(0,r.t)("ui.constants.filter.search"),type:"checkbox",items:"field_ughhelfer_offer",relation:"and"},{label:(0,r.t)("ui.constants.filter.period"),type:"datepicker",items:["field_ughhelfer_period_from","field_ughhelfer_period_to"],relation:null},{label:(0,r.t)("ui.constants.filter.duration"),type:"checkbox",items:"field_ughhelfer_duration",relation:"and"},{label:(0,r.t)("ui.constants.filter.availability"),type:"checkbox",items:"field_ughhelfer_availability",relation:"and"},{label:(0,r.t)("ui.constants.filter.location"),type:"checkbox",items:"field_ughhelfer_desiredlocation",relation:"and"},{label:(0,r.t)("ui.constants.filter.persons"),type:"slider",items:["field_ughhelfer_nr_people"],values:[1,20],relation:null},{label:(0,r.t)("ui.constants.filter.consideration"),type:"slider",items:["field_ughhelfer_considerationhd"],values:[1,6],relation:null}]}]},{value:"wgh",label:(0,i.getCategoryName)("wgh"),filters:[{label:(0,r.t)("ui.constants.filter.offer"),type:"checkbox",items:["field_wghhost_category","field_wghhelfer_search"],relation:"and"},{label:(0,r.t)("ui.constants.filter.search"),type:"checkbox",items:["field_wghhost_offer","field_wghhelfer_offer"],relation:"and"},{label:(0,r.t)("ui.constants.filter.period"),type:"datepicker",items:["field_wghhost_period_from","field_wghhost_period_to","field_wghhelfer_period_from","field_wghhelfer_period_to"],relation:null},{label:(0,r.t)("ui.constants.filter.duration"),type:"checkbox",items:["field_wghhost_duration","field_wghhelfer_duration"],relation:"and"},{label:(0,r.t)("ui.constants.filter.availability"),type:"checkbox",items:["field_wghhost_availability","field_wghhelfer_availability"],relation:"and"},{label:(0,r.t)("ui.constants.filter.furnishing"),type:"checkbox",items:["field_wghhost_furnishing"],relation:"and"},{label:(0,r.t)("ui.constants.filter.catering"),type:"checkbox",items:["field_wghhost_catering"],relation:"and"}
2,{label:(0,r.t)("ui.constants.filter.particularities"),type:"checkbox",items:["field_wghhost_particularities"],relation:"and"},{label:(0,r.t)("ui.constants.filter.location"),type:"checkbox",items:["field_wghhost_location","field_wghhelfer_desiredlocat"],relation:"and"},{label:(0,r.t)("ui.constants.filter.persons"),type:"slider",items:["field_wghhost_nr_people","field_wghhelfer_nr_people"],values:[1,20],relation:null},{label:(0,r.t)("ui.constants.filter.consideration"),type:"slider",items:["field_wghhost_considerationhd","field_wghhelfer_considerationhd"],values:[1,6],relation:null}],sub_categories:[{label:(0,r.t)("ui.constants.find_host"),value:"wgh_host_content",filters:[{label:(0,r.t)("ui.constants.filter.offer"),type:"checkbox",items:"field_wghhost_category",relation:"and"},{label:(0,r.t)("ui.constants.filter.search"),type:"checkbox",items:"field_wghhost_offer",relation:"and"},{label:(0,r.t)("ui.constants.filter.period"),type:"datepicker",items:["field_wghhost_period_from","field_wghhost_period_to"],relation:null},{label:(0,r.t)("ui.constants.filter.duration"),type:"checkbox",items:"field_wghhost_duration",relation:"and"},{label:(0,r.t)("ui.constants.filter.availability"),type:"checkbox",items:"field_wghhost_availability",relation:"and"},{label:(0,r.t)("ui.constants.filter.furnishing"),type:"checkbox",items:"field_wghhost_furnishing",relation:"and"},{label:(0,r.t)("ui.constants.filter.catering"),type:"checkbox",items:"field_wghhost_catering",relation:"and"}
2,{label:(0,r.t)("ui.constants.filter.particularities"),type:"checkbox",items:"field_wghhost_particularities",relation:"and"},{label:(0,r.t)("ui.constants.filter.location"),type:"checkbox",items:"field_wghhost_location",relation:"and"},{label:(0,r.t)("ui.constants.filter.persons"),type:"slider",items:["field_wghhost_nr_people"],values:[1,20],relation:null},{label:(0,r.t)("ui.constants.filter.consideration"),type:"slider",items:["field_wghhost_considerationhd"],values:[1,6],relation:null}]},{label:(0,r.t)("ui.constants.find_helper"),value:"wgh_helfer_content",filters:[{label:(0,r.t)("ui.constants.filter.offer"),type:"checkbox",items:"field_wghhelfer_search",relation:"and"},{label:(0,r.t)("ui.constants.filter.search"),type:"checkbox",items:"field_wghhelfer_offer",relation:"and"},{label:(0,r.t)("ui.constants.filter.period"),type:"datepicker",items:["field_wghhelfer_period_from","field_wghhelfer_period_to"],relation:null},{label:(0,r.t)("ui.constants.filter.duration"),type:"checkbox",items:"field_wghhelfer_duration",relation:"and"},{label:(0,r.t)("ui.constants.filter.availability"),type:"checkbox",items:"field_wghhelfer_availability",relation:"and"},{label:(0,r.t)("ui.constants.filter.location"),type:"checkbox",items:"field_wghhelfer_desiredlocat",relation:"and"},{label:(0,r.t)("ui.constants.filter.persons"),type:"slider",values:[1,20],items:["field_wghhelfer_nr_people"],relation:null},{label:(0,r.t)("ui.constants.filter.consideration"),type:"slider",values:[1,6],items:["field_wghhelfer_considerationhd"],relation:null}]}]},{value:"hgh_helfer_content",label:(0,i.getCategoryName)("hgh"),filters:[{label:(0,r.t)("ui.constants.filter.offer"),type:"checkbox",items:"field_hghhelfer_search",relation:"and"},{label:(0,r.t)("ui.constants.filter.search"),type:"checkbox",items:"field_hghhelfer_offer",relation:"and"},{label:(0,r.t)("ui.constants.filter.period"),type:"datepicker",items:["field_hghhelfer_period_from","field_hghhelfer_period_to"],relation:null},{label:(0,r.t)("ui.constants.filter.availability"),type:"checkbox",items:"field_hghhelfer_availability",relation:"and"},{label:(0,r.t)("ui.constants.filter.consideration"),type:"slider",values:[1,10],items:["field_hghhelfer_considerationh"],relation:null}]},{value:"ht_host_content",label:(0,i.getCategoryName)("ht"),filters:[{label:(0,r.t)("ui.constants.filter.offer"),type:"checkbox",items:"field_hthost_category",relation:"and"},{label:(0,r.t)("ui.constants.filter.search"),type:"checkbox",items:"field_hthost_offer",relation:"and"},{label:(0,r.t)("ui.constants.filter.period"),type:"datepicker",items:["field_hthost_period_from","field_hthost_period_to"],relation:null},{label:(0,r.t)("ui.constants.filter.duration"),type:"checkbox",items:"field_hthost_duration",relation:"and"},{label:(0,r.t)("ui.constants.filter.availability"),type:"checkbox",items:"field_hthost_availability",relation:"and"},{label:(0,r.t)("ui.constants.filter.furnishing"),type:"checkbox",items:"field_hthost_furnishing",relation:"and"}
2,{label:(0,r.t)("ui.constants.filter.particularities"),type:"checkbox",items:"field_hthost_particularities",relation:"and"},{label:(0,r.t)("ui.constants.filter.location"),type:"checkbox",items:"field_hthost_location",relation:"and"},{label:(0,r.t)("ui.constants.filter.persons"),type:"slider",items:["field_hthost_nr_people"],values:[1,20],relation:null}]},{value:"mgg",label:(0,i.getCategoryName)("sb"),filters:[{label:(0,r.t)("ui.constants.filter.offer"),type:"checkbox",items:["field_deal_offer_orga","field_deal_offer_comp"],relation:"and"},{label:(0,r.t)("ui.constants.filter.search"),type:"checkbox",items:["field_deal_offer_orga","field_deal_offer_comp"],relation:"and"},{label:(0,r.t)("ui.constants.filter.period"),type:"datepicker",items:["field_deal_period_from","field_deal_period_to"],relation:null},{label:(0,r.t)("ui.constants.filter.duration"),type:"checkbox",items:["field_deal_duration"],relation:"and"},{label:(0,r.t)("ui.constants.filter.availability"),type:"checkbox",items:["field_deal_availability"],relation:"and"},{label:(0,r.t)("ui.constants.filter.consideration"),type:"slider",items:["field_deal_considerationhd"],values:[1,6],relation:null}],sub_categories:[{label:(0,r.t)("ui.constants.find_organisation"),value:"sb_organisation_content",filters:[{label:(0,r.t)("ui.constants.filter.offer"),type:"checkbox",items:"field_deal_offer_comp",relation:"and"},{label:(0,r.t)("ui.constants.filter.search"),type:"checkbox",items:"field_deal_offer_orga",relation:"and"},{label:(0,r.t)("ui.constants.filter.period"),type:"datepicker",items:["field_deal_period_from","field_deal_period_to"],relation:null},{label:(0,r.t)("ui.constants.filter.duration"),type:"checkbox",items:"field_deal_duration",relation:"and"},{label:(0,r.t)("ui.constants.filter.availability"),type:"checkbox",items:"field_deal_availability",relation:"and"},{label:(0,r.t)("ui.constants.filter.consideration"),type:"slider",items:"field_deal_considerationhd",values:[1,6],relation:null}]},{label:(0,r.t)("ui.constants.find_company"),value:"sb_company_content",filters:[{label:(0,r.t)("ui.constants.filter.offer"),type:"checkbox",items:"field_deal_offer_orga",relation:"and"},{label:(0,r.t)("ui.constants.filter.search"),type:"checkbox",items:"field_deal_offer_comp",relation:"and"},{label:(0,r.t)("ui.constants.filter.period"),type:"datepicker",items:["field_deal_period_from","field_deal_period_to"],relation:null},{label:(0,r.t)("ui.constants.filter.duration"),type:"checkbox",items:"field_deal_duration",relation:"and"},{label:(0,r.t)("ui.constants.filter.availability"),type:"checkbox",items:"field_deal_availability",relation:"and"},{label:(0,r.t)("ui.constants.filter.consideration"),type:"slider",items:"field_deal_considerationhd",values:[1,6],relation:null}]}]}],y=m.map((function(e,t){var n=l(l({},e),{},{key:"key-".concat(e.value,"-").concat(t)});return e.filters&&(n.filters=e.filters.map((function(t,n){return l(l({},t),{},{key:"key-".concat(e.value,"-filter-").concat(n)})}))),e.sub_categories&&(n.sub_categories=e.sub_categories.map((function(t,n){var r=l(l({},t),{},{key:"key-".concat(e.value,"-sub-").concat(n)});return t.filters&&(r.filters=t.filters.map((function(t,r){return l(l({},t),{},{key:"key-".concat(e.value,"-sub-").concat(n,"-filter-").concat(r)})}))),r}))),n}))},4956(e,t,n){n.d(t,{o:()=>o,r:()=>a});var r=n(96540),i=(0,r.createContext)({isOverlay:!1,onClose:null});function o(e){var t=e.isOverlay,n=void 0!==t&&t,o=e.onClose,a=void 0===o?null:o,u=e.children,l=(0,r.useMemo)((function(){return{isOverlay:Boolean(n),onClose:"function"==typeof a?a:null}}),[n,a]);return r.createElement(i.Provider,{value:l},u)}function a(){return(0,r.useContext)(i)}},10256(e,t,n){n.d(t,{Z:()=>i});var r=n(96540),i=function(){(0,r.useEffect)((function(){if("ontouchstart"in window||navigator.maxTouchPoints>0){var e=!1,t=new Map,n=function(){var n=document.querySelector(".ant-select-dropdown:not(.ant-select-dropdown-hidden)"),r=e;!(e=!!n)&&r&&t.clear()},r=function(t){if(!e||!t)return!1;var n=document.querySelector(".ant-select-dropdown:not(.ant-select-dropdown-hidden)");return!!n&&n.contains(t)},i=function(n){e&&(document.querySelector(".ant-select-dropdown:not(.ant-select-dropdown-hidden
2)")&&Array.from(n.touches).forEach((function(e){var n=document.elementFromPoint(e.clientX,e.clientY),i=r(n);t.set(e.identifier,{startedInsideDropdown:i,element:n})})))},o=function(n){e&&(document.querySelector(".ant-select-dropdown:not(.ant-select-dropdown-hidden)")&&Array.from(n.changedTouches).forEach((function(e){var i=t.get(e.identifier);if(i){var o=document.elementFromPoint(e.clientX,e.clientY),a=r(o);i.startedInsideDropdown?a||n.preventDefault():a&&n.preventDefault()}})))},a=function(e){Array.from(e.changedTouches).forEach((function(e){t.delete(e.identifier)}))},u=function(e){Array.from(e.changedTouches).forEach((function(e){t.delete(e.identifier)}))},l=new MutationObserver(n);l.observe(document.body,{childList:!0,subtree:!0,attributes:!0,attributeFilter:["class"]});var c=function(){setTimeout(n,100)},s=setInterval(n,200);return document.addEventListener("touchstart",i,{passive:!0}),document.addEventListener("touchmove",o,{passive:!1}),document.addEventListener("touchend",a,{passive:!0}),document.addEventListener("touchcancel",u,{passive:!0}),document.addEventListener("click",c),function(){l.disconnect(),clearInterval(s),document.removeEventListener("touchstart",i),document.removeEventListener("touchmove",o),document.removeEventListener("touchend",a),document.removeEventListener("touchcancel",u),document.removeEventListener("click",c),t.clear()}}}),[])}},12811(e,t,n){n.d(t,{j:()=>i,w:()=>r});var r=function(){try{var e,t=null===(e=window.drupalSettings)||void 0===e||null===(e=e.helpindeal)||void 0===e?void 0:e.auth,n=Number((null==t?void 0:t.uid)||0);return{uid:n,isAuthenticated:Boolean(null==t?void 0:t.isAuthenticated)&&n>0}}catch(e){return{uid:0,isAuthenticated:!1}}},i=function(){var e=r(),t=e.uid;if(e.isAuthenticated)return{uid:t,name:""}}},18109(e,t,n){n.d(t,{Th:()=>y,g_:()=>m,jr:()=>g});var r=n(79494),i=n(69562),o=n(85621);function a(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,i,o,a,u=[],l=!0,c=!1;try{if(o=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(r=o.call(n)).done)&&(u.push(r.value),u.length!==t);l=!0);}catch(e){c=!0,i=e}finally{try{if(!l&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(c)throw i}}return u}}(e,t)||function(e,t){if(e){if("string"==typeof e)return u(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?u(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function u(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function l(e){return l="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},l(e)}var c=function(e){return"string"==typeof e&&""!==e&&"null"!==e&&"undefined"!==e},s=function(e){if(!e||"object"!==l(e)||Array.isArray(e))return null;var t={};return Object.entries(e).forEach((function(e){var n=a(e,2),r=n[0],i=n[1];r&&c(i)&&(t[r]=i)})),Object.keys(t).length?t:null},f="helpindeal-jsonld",d=function(e,t){if(t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2]?"property":"name",r=document.querySelector("meta[".concat(n,'="').concat(e,'"]'));r||((r=document.createElement("meta")).setAttribute(n,e),document.head.appendChild(r)),r.getAttribute("content")!==t&&r.setAttribute("content",t)}},p=function(e){if(c(e)){var t=document.querySelector('link[rel="canonical"]');t||((t=document.createElement("link")).setAttribute("rel","canonical"),document.head.appendChild(t)),t.getAttribute("href")!==e&&t.setAttribute("href",e)}},h=function(e,t){var n,i;if("undefined"!=typeof document){document.querySelectorAll('link[data-helpindeal-hreflang="1"]').forEach((function(e){return e.remove()}));var o=s(t)||s((0,r.S5)());
2if(o)return(0,r.ks)(o),void Object.entries(o).forEach((function(e){var t=a(e,2),n=t[0],r=t[1],i=document.createElement("link");i.setAttribute("rel","alternate"),i.setAttribute("hreflang",n),i.setAttribute("data-helpindeal-hreflang","1"),i.setAttribute("href",r),document.head.appendChild(i)}));if(c(e)){var u,l=(null===(n=window.drupalSettings)||void 0===n||null===(n=n.helpindeal)||void 0===n||null===(n=n.i18n)||void 0===n?void 0:n.languages)||{de:"Deutsch",en:"English"},f=(0,r.um)(),d=(null===(i=window.drupalSettings)||void 0===i||null===(i=i.helpindeal)||void 0===i||null===(i=i.i18n)||void 0===i?void 0:i.fallback)||"de";try{var p=new URL(e,window.location.origin);p.searchParams.delete(f),u=p.toString()}catch(t){u=e}var h={};Object.keys(l).forEach((function(e){var t=document.createElement("link");t.setAttribute("rel","alternate"),t.setAttribute("hreflang",e),t.setAttribute("data-helpindeal-hreflang","1");try{var n=new URL(u);e!==d&&n.searchParams.set(f,e);var r=n.toString();h[e]=r,t.setAttribute("href",r)}catch(n){h[e]=u,t.setAttribute("href",u)}document.head.appendChild(t)}));var m=document.createElement("link");m.setAttribute("rel","alternate"),m.setAttribute("hreflang","x-default"),m.setAttribute("data-helpindeal-hreflang","1"),m.setAttribute("href",u),document.head.appendChild(m),h["x-default"]=u,(0,r.ks)(h)}else(0,r.ks)(null)}},m=function(e){if(e){var t=document.getElementById(f);t||((t=document.createElement("script")).id=f,t.type="application/ld+json",document.head.appendChild(t)),t.textContent=JSON.stringify(e)}},y=function(e){var t=e.title,n=e.description,r=e.canonical,o=e.ogType,a=void 0===o?"website":o,u=e.ogImage,l=e.keywords,c=e.hreflang;t&&document.title!==t&&(document.title=t),n&&d("description",n),l&&d("keywords",l);var s=r||window.location.href;d("og:type",a,!0),d("og:title",t,!0),d("og:description",n,!0),d("og:url",s,!0),d("og:site_name","helpindeal",!0),d("og:locale",(0,i.Bt)(),!0),u&&d("og:image",u,!0),d("twitter:card","summary_large_image"),d("twitter:title",t),d("twitter:description",n),u&&d("twitter:image",u),p(s),h(s,c)};function g(e,t){return function(){var n=e();return t((function(){var e,t=n.pathname||"";if(!function(e){return String(e||"").split("/").filter(Boolean).length>=3&&null!==(0,o.codeFromPath)(e)}(t)&&!t.startsWith("/user/")){var a="".concat(window.location.origin).concat(n.pathname).concat(n.search),u=(0,r.Xo)(),l=(0,r.um)(),c=(null===(e=window.drupalSettings)||void 0===e||null===(e=e.helpindeal)||void 0===e||null===(e=e.i18n)||void 0===e?void 0:e.fallback)||"de",s="".concat(window.location.origin).concat(n.pathname);if(u!==c){var f=new URL(s);f.searchParams.set(l,u),new URLSearchParams(n.search).forEach((function(e,t){t!==l&&f.searchParams.set(t,e)})),s=f.toString()}else{var m=new URLSearchParams(n.search);m.delete(l);var y=m.toString();y&&(s+="?".concat(y))}p(s),h(a),d("og:url",s,!0),d("og:locale",(0,i.Bt)(),!0)}}),[n.pathname,n.search]),null}}},21155(e,t,n){function r(e){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(e)}var i="hid_chunk_reload";function o(e){if(!e)return!1;var t="object"===r(e)?String(e.name||""):"",n=String("object"===r(e)?e.message||"":e);return"ChunkLoadError"===t||/Loading chunk [\w.-]+ failed/i.test(n)||/Failed to fetch dynamically imported module/i.test(n)||/error loading dynamically imported module/i.test(n)}function a(){try{var e=parseInt(sessionStorage.getItem(i)||"0",10);if(e&&Date.now()-e<15e3)return;sessionStorage.setItem(i,String(Date.now()))}catch(e){}window.location.reload()}window.addEventListener("unhandledrejection",(function(e){o(e.reason)&&a()})),window.addEventListener("error",(function(e){(o(e.error)||o(e.message))&&a()}));var u=n(52708),l=n(85015),c=n(96540),s=n(5338),f=n(37865),d=n(97665),p=n(63369),h=n(10256),m=n(87959);function y(e){return function(e){if(Array.isArray(e))return g(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(e){if("string"==typeof e)return g(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?g(e,t):void 0}}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function g(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function w(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function v(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};
2t%2?w(Object(n),!0).forEach((function(t){b(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):w(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function b(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=L(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=L(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==L(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function L(e){return L="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},L(e)}var M=".ant-message-notice",x=!1,j=function(e,t,n){if(r=e,Boolean(r)&&"object"===L(r)&&!(0,c.isValidElement)(r)&&"content"in r)return v({pauseOnHover:!1},e);var r,i={content:e,pauseOnHover:!1};return"function"==typeof t?i.onClose=t:(void 0!==t&&(i.duration=t),n&&(i.onClose=n)),i},E=function(){if(!x){x=!0,m.Ay.config({pauseOnHover:!1});var e=m.Ay.open.bind(m.Ay);m.Ay.open=function(t){return e(v({pauseOnHover:!1},t))},["info","success","warning","error","loading"].forEach((function(e){var t=m.Ay[e].bind(m.Ay);m.Ay[e]=function(e,n,r){return t(j(e,n,r))}}))}},S=function(e){return e.classList.contains("ant-message-notice-loading")||Boolean(e.querySelector(".anticon-loading, .ant-message-loading"))},A=function(e){if("1"!==e.dataset.hidSwipeBound&&!S(e)){e.dataset.hidSwipeBound="1",e.classList.add("hid-message-swipeable");var t=0,n=0,r=0,i=0,o=!1,a=!1,u=function(){e.classList.remove("hid-message-swiping"),e.style.transition="transform 0.2s ease-out, opacity 0.2s ease-out",e.style.transform="",e.style.opacity=""},l=function(){if(o){var n=i-t,l=Math.max(Date.now()-r,1),c=Math.abs(n)/l;o=!1,a&&(Math.abs(n)>=72||c>=.45)?function(e,t){var n=Math.max(e.getBoundingClientRect().width,1);e.classList.add("hid-message-dismissing"),e.style.transition="transform 0.2s ease-out, opacity 0.2s ease-out",e.style.transform="translateX(".concat(t*(n+48),"px)"),e.style.opacity="0",window.setTimeout((function(){m.Ay.destroy()}),180)}(e,n>=0?1:-1):u()}};e.addEventListener("touchstart",(function(u){if(!e.classList.contains("hid-message-dismissing")){var l=u.changedTouches[0];l&&(t=l.clientX,n=l.clientY,i=t,r=Date.now(),o=!0,a=!1,e.style.transition="none")}}),{passive:!0}),e.addEventListener("touchmove",(function(r){if(o){var l=r.touches[0]||r.changedTouches[0];if(l){var c=l.clientX-t,s=l.clientY-n;if(i=l.clientX,!a){if(Math.abs(c)<8&&Math.abs(s)<8)return;if(Math.abs(c)<1.15*Math.abs(s))return o=!1,void u();a=!0,e.classList.add("hid-message-swiping")}r.cancelable&&r.preventDefault();var f=Math.max(e.getBoundingClientRect().width,1);e.style.transform="translateX(".concat(c,"px)"),e.style.opacity=String(Math.max(.35,1-Math.abs(c)/f))}}}),{passive:!1}),e.addEventListener("touchend",l,{passive:!0}),e.addEventListener("touchcancel",l,{passive:!0})}},k=function(){(0,c.useEffect)((function(){E();var e=new WeakMap,t=function(t){!function(e,t){S(e)||t.has(e)||t.set(e,window.setTimeout((function(){document.body.contains(e)&&m.Ay.destroy()}),15e3))}(t,e),"undefined"!=typeof window&&("ontouchstart"in window||navigator.maxTouchPoints>0)&&A(t)};document.querySelectorAll(M).forEach(t);var n=new MutationObserver((function(n){n.forEach((function(n){n.addedNodes.forEach((function(e){var n,r;e instanceof HTMLElement&&(null!==(n=e.matches)&&void 0!==n&&n.call(e,M)&&t(e),null===(r=e.querySelectorAll)||void 0===r||r.call(e,M).forEach(t))})),n.removedNodes.forEach((function(t){var n,r;t instanceof HTMLElement&&[].concat(y(null!==(n=t.matches)&&void 0!==n&&n.call(t,M)?[t]:[]),y((null===(r=t.querySelectorAll)||void 0===r?void 0:r.call(t,M))||[])).forEach((function(t){var n=e.get(t);n&&(window.clearTimeout(n),e.delete(t))}))}))}))}));return n.observe(document.body,{childList:!0,subtree:!0}),function(){return n.disconnect()}}),[])};E();var _,D,C,N,O,T,z,I,P,Y,U,B,W,F=n(69562),Q=n(47071),R=n(47767),H=n(84976),G=n(38267),q=n(52555),Z=n(6754),J=n(81427),K=n(50400),V=n(30761),X=n(93532);function $(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}var ee=G.Ay.div.withConfig({shouldForwardProp:function(e){return"$elevated"!==e}})(_||(_=$(["\n pointer-events: none;\n transition: transform 0.3s ease-in, background-color 0.3s linear;\n position: fixed;\n top: 0;\n left: 0;\n right: 0;\n z-index: ",";\n"])),(function(e){return e.$elevated?1300:100})),te=(0,G.Ay)(V.A)(D||(D=$(["\n line-height: 51px;\n .ant-dropdown-menu-item {\n line-height: 40px;\n padding: 0 24px;\n }\n"]))),ne=(0,G.Ay)(q.CS.div).withConfig({shouldForwardProp:function(e){return!["position","isTop","isAdmin","isAdminTray"].includes(e)}})(C||(C=$(["\n position: ",";\n width: 100%;\n ",";\n"])),(function(e){return e.position}),(function(e){return e.isAdmin&&"\n &::before {\n content: '';\n display: block;\n width: 100%;\n height: ".concat(e.isAdminTray?"80px":"40px",";\n background-color: #9f1c62;\n }\n ")})),re=(0,G.Ay)(X.A)(N||(N=$(["\n line-height: inherit;\n color: inherit;\n\n a,\n a:visited,\n a:hover,\n a:active {\n color: inherit;\n }\n"]))),ie=G.Ay.span(O||(O=$(["\n margin: 0;\n display: inline-flex;\n align-items: center;\n justify-content: center;\n position: relative;\n transition: transform 0.25s ease;\n width: 44px;\n height: 44px;\n line-height: 0;\n flex-shrink: 0;\n"]))),oe=(0,G.Ay)(ie)(T||(T=$(["\n margin: 0;\n width: 44px;\n height: 44px;\n"]))),ae=((0,G.Ay)(Z.A)(z||(z=$(["\n transform: rotate(180deg);\n display: inline-flex;\n align-items: center;\n justify-content: center;\n width: "," !important;\n height: "," !important;\n transition: width 0.5s ease, height 0.5s ease, transform 1s ease;\n\n /* Animate the inner SVG stroke changes */\n .ant-progress-inner .ant-progress-circle-path {\n transition: stroke-dashoffset 0.7s ease, stroke 0.5s ease;\n }\n .ant-progress-inner .ant-progress-circle-trail {\n transition: stroke 0.5s ease;\n }\n"])),(function(e){return e.size?"".concat(e.size,"px"):"44px"}),(function(e){return e.size?"".concat(e.size,"px"):"44px"})),G.Ay.div(I||(I=$(["\n position: absolute;\n top: 50%;\n left: 50%;\n transform: translate(-50%, -50%) rotate(180deg);\n display: inline-flex;\n align-items: center;\n justify-content: center;\n width: ",";\n height: ",";\n z-index: 1;\n transition: width 0.5s ease, height 0.5s ease, transform 1s ease;\n"])),(function(e){return e.$size?"".concat(e.$size,"px"):"44px"}),(function(e){return e.$size?"".concat(e.$size,"px"):"44px"})),G.Ay.span(P||(P=$(["\n position: absolute;\n top: 50%;\n left: 50%;\n transform: translate(-50%, -50%);\n width: ",";\n height: ",";\n border-radius: 50%;\n overflow: hidden;\n display: inline-flex;\n align-items: center;\n justify-content: center;\n"])),(function(e){return e.$size?"".concat(e.$size,"px"):"44px"}),(function(e){return e.$size?"".concat(e.$size,"px"):"44px"}))),ue=(0,G.Ay)(J.A)(Y||(Y=$(["\n width: ",";\n height: ",";\n filter: grayscale(","%);\n transition: filter 0.25s ease;\n"])),(function(e){return e.$size?"".concat(e.$size,"px"):"44px"}),(function(e){return e.$size?"".concat(e.$size,"px"):"44px"}),(function(e){return e.$grayscale||0})),le=G.Ay.span(U||(U=$(["\n position: absolute;\n top: 50%;\n left: 50%;\n transform: translate(-50%, -50%);\n z-index: 3;\n color: #fff;\n font-weight: 600;\n font-size: 12px;\n line-height: 1;\n text-shadow: 0 0 2px rgba(0,0,0,0.6);\n opacity: ",";\n transition: opacity "," ease;\n pointer-events: none;\n"])),(function(e){return e.$visible?1:0}),(function(e){return e.$visible?"0.25s":"4s"})),ce=(0,G.Ay)(K.Ay)(B||(B=$(["\n width: 44px;\n height: 44px;\n margin: 0;\n min-width: 44px !important;\n padding: 0 !important;\n line-height: 1 !important;\n /* Do NOT set display:!important â that overrides .menuButton { display:none } on desktop */\n align-items: center;\n justify-content: center;\n overflow: visible;\n"]))),se=(0,G.Ay)(K.Ay)(W||(W=$(["\n height: 52px;\n /* Do NOT set display:!important â that overrides .menuButtonDesktop { display:none } on mobile */\n align-items: center;\n margin: 0;\n overflow: visible;\n padding: 0 14px;\n font-size: 1em;\n line-height: 1;\n\n /* Authenticated pill: 52px ring forms the left cap, avatar gets an even 6px inset */\n &.menuButtonDesktopUser {\n min-width: 0 !important;\n /* 3px puts the 52px ring flush to the pill edge (44px cluster + 1px border) */\n padding: 0 19px 0 3px !important;\n /* Ant adds gap:8px between icon and label â spacing is set on the icon instead */\n gap: 0 !important;\n overflow: visible;\n\n /* ApexCharts renders its canvas 1px taller than requested â would show\n as a sliver below the pill now that the ring is flush with its edge. */\n .apexcharts-canvas,\n .apexcharts-canvas svg {\n display: block;\n height: 52px !important;\n }\n\n > .ant-btn-icon {\n /* Tighter to the avatar than the padding on the right side */\n margin-inline-end: 9px !important;\n margin: 0 9px 0 0 !important;\n line-height: 0 !important;\n display: inline-flex !important;\n align-items: center !important;\n justify-content: center !important;\n }\n }\n"]))),fe=n(69134),de=n(40961),pe=n(99515),he=n(55140),me=n(25019),ye=n(75182),ge=n(26555),we=n(42877),ve=n(45448),be=n(47152),Le=n(16370),Me=n(87206),xe=n(81138);function je(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,i,o,a,u=[],l=!0,c=!1;try{if(o=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;
2!(l=(r=o.call(n)).done)&&(u.push(r.value),u.length!==t);l=!0);}catch(e){c=!0,i=e}finally{try{if(!l&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(c)throw i}}return u}}(e,t)||function(e,t){if(e){if("string"==typeof e)return Ee(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Ee(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Ee(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function Se(){var e,t,n="function"==typeof Symbol?Symbol:{},r=n.iterator||"@@iterator",i=n.toStringTag||"@@toStringTag";function o(n,r,i,o){var l=r&&r.prototype instanceof u?r:u,c=Object.create(l.prototype);return Ae(c,"_invoke",function(n,r,i){var o,u,l,c=0,s=i||[],f=!1,d={p:0,n:0,v:e,a:p,f:p.bind(e,4),d:function(t,n){return o=t,u=0,l=e,d.n=n,a}};function p(n,r){for(u=n,l=r,t=0;!f&&c&&!i&&t<s.length;t++){var i,o=s[t],p=d.p,h=o[2];n>3?(i=h===r)&&(l=o[(u=o[4])?5:(u=3,3)],o[4]=o[5]=e):o[0]<=p&&((i=n<2&&p<o[1])?(u=0,d.v=r,d.n=o[1]):p<h&&(i=n<3||o[0]>r||r>h)&&(o[4]=n,o[5]=r,d.n=h,u=0))}if(i||n>1)return a;throw f=!0,r}return function(i,s,h){if(c>1)throw TypeError("Generator is already running");for(f&&1===s&&p(s,h),u=s,l=h;(t=u<2?e:l)||!f;){o||(u?u<3?(u>1&&(d.n=-1),p(u,l)):d.n=l:d.v=l);try{if(c=2,o){if(u||(i="next"),t=o[i]){if(!(t=t.call(o,l)))throw TypeError("iterator result is not an object");if(!t.done)return t;l=t.value,u<2&&(u=0)}else 1===u&&(t=o.return)&&t.call(o),u<2&&(l=TypeError("The iterator does not provide a '"+i+"' method"),u=1);o=e}else if((t=(f=d.n<0)?l:n.call(r,d))!==a)break}catch(t){o=e,u=1,l=t}finally{c=1}}return{value:t,done:f}}}(n,i,o),!0),c}var a={};function u(){}function l(){}function c(){}t=Object.getPrototypeOf;var s=[][r]?t(t([][r]())):(Ae(t={},r,(function(){return this})),t),f=c.prototype=u.prototype=Object.create(s);function d(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,c):(e.__proto__=c,Ae(e,i,"GeneratorFunction")),e.prototype=Object.create(f),e}return l.prototype=c,Ae(f,"constructor",c),Ae(c,"constructor",l),l.displayName="GeneratorFunction",Ae(c,i,"GeneratorFunction"),Ae(f),Ae(f,i,"Generator"),Ae(f,r,(function(){return this})),Ae(f,"toString",(function(){return"[object Generator]"})),(Se=function(){return{w:o,m:d}})()}function Ae(e,t,n,r){var i=Object.defineProperty;try{i({},"",{})}catch(e){i=0}Ae=function(e,t,n,r){function o(t,n){Ae(e,t,(function(e){return this._invoke(t,n,e)}))}t?i?i(e,t,{value:n,enumerable:!r,configurable:!r,writable:!r}):e[t]=n:(o("next",0),o("throw",1),o("return",2))},Ae(e,t,n,r)}function ke(e,t,n,r,i,o,a){try{var u=e[o](a),l=u.value}catch(e){return void n(e)}u.done?t(l):Promise.resolve(l).then(r,i)}function _e(e){return function(){var t=this,n=arguments;return new Promise((function(r,i){var o=e.apply(t,n);function a(e){ke(o,r,i,a,u,"next",e)}function u(e){ke(o,r,i,a,u,"throw",e)}a(void 0)}))}}var De={duration:100},Ce=function(){var e=_e(Se().m((function e(t,n){return Se().w((function(e){for(;;)switch(e.n){case 0:return e.n=1,t({transform:"translate(0px, 9px) rotate(0deg)",config:De});case 1:return e.n=2,t({transform:n?"translate(0px, 9px) rotate(-45deg)":"translate(0px, 0px) rotate(0deg)",config:q.$W.wobbly});case 2:return e.a(2)}}),e)})));return function(t,n){return e.apply(this,arguments)}}(),Ne=function(){var e=_e(Se().m((function e(t,n){return Se().w((function(e){for(;;)switch(e.n){case 0:return e.n=1,t({to:{opacity:n?0:1},delay:!n&&100,config:De});case 1:return e.a(2)}}),e)})));return function(t,n){return e.apply(this,arguments)}}(),Oe=function(){var e=_e(Se().m((function e(t,n){return Se().w((function(e){for(;;)switch(e.n){case 0:return e.n=1,t({transform:"translate(0px, -9px) rotate(0deg)",config:De});case 1:return e.n=2,t({transform:n?"translate(0px, -9px) rotate(-135deg)":"translate(0px, 0px) rotate(0deg)",config:q.$W.wobbly});case 2:return e.a(2)}}),e)})));return function(t,n){return e.apply(this,arguments)}}
2(),Te=[Ce,Ne,Oe],ze=(0,c.memo)((function(e){var t=e.isOpen,n=e.onClick,r=(0,q.mX)(3,(function(e){return{to:(n=_e(Se().m((function n(r){return Se().w((function(n){for(;;)switch(n.n){case 0:return n.n=1,Te[e](r,t);case 1:return n.a(2)}}),n)}))),function(e){return n.apply(this,arguments)})};var n}),[t]),i=je(r,1)[0];return c.createElement("svg",{onClick:n,width:"24",height:"20",viewBox:"0 0 24 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:"burgerIcon"},i.map((function(e,t,n){return c.createElement(q.CS.rect,{key:t,y:9*t,width:"24",height:"2",rx:"1",fill:"#FFF",style:e})})))}));const Ie=ze;var Pe=n(79494),Ye=n(5131),Ue=n(77153),Be=n(87450),We=n(70436);function Fe(e){return Fe="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Fe(e)}function Qe(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,i,o,a,u=[],l=!0,c=!1;try{if(o=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(r=o.call(n)).done)&&(u.push(r.value),u.length!==t);l=!0);}catch(e){c=!0,i=e}finally{try{if(!l&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(c)throw i}}return u}}(e,t)||function(e,t){if(e){if("string"==typeof e)return Re(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Re(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Re(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}var He=function(e,t,n){return Math.min(Math.max(e,t),n)},Ge=function(e){var t=e.ringSize,n=e.hollowSize,r=e.displayPercent,i=e.animKey,o=e.ringColor,a=e.trackColor,u=e.keyPrefix;return t?c.createElement("div",{style:{width:t,height:t,position:"absolute",top:"50%",left:"50%",transform:"translate(-50%, -50%)",pointerEvents:"none",lineHeight:0}},c.createElement(Ue.A,{key:"".concat(u,"-").concat(i),type:"radialBar",height:t,width:t,series:[r],options:{chart:{toolbar:{show:!1},sparkline:{enabled:!0},animations:{enabled:!0,dynamicAnimation:{enabled:!0,speed:700}}},colors:[o],plotOptions:{radialBar:{startAngle:-180,endAngle:180,hollow:{size:n,margin:0},track:{background:a,strokeWidth:"92%",margin:0},dataLabels:{show:!1}}},stroke:{lineCap:"round"},labels:[]}})):null};const qe=function(e){var t=e.isAuthentificated,n=e.currentUser,r=e.isDesktopResolution,i=e.userName,o=e.balance,a=void 0===o?0:o,u=e.lastOrderAmount,l=void 0===u?0:u,s=Ye.A.useToken().token,f=Number(l)>0,d=f?Number(l):0,p=Math.max(0,Number(a)||0),h=f?He(p,0,d):0,m=f?He(h/d*100,0,100):0,y=Qe((0,c.useState)(0),2),g=y[0],w=y[1],v=Qe((0,c.useState)(0),2),b=v[0],L=v[1],M=Qe((0,c.useState)(!1),2),x=M[0],j=M[1],E=(0,c.useRef)(f);(0,c.useEffect)((function(){var e=Number(m.toFixed(2)),t=E.current;if(f&&!t){w(0),L(Date.now());var n=setTimeout((function(){return w(e)}),50);j(!0);var r=setTimeout((function(){return j(!1)}),3e3);return E.current=f,function(){clearTimeout(n),clearTimeout(r)}}if(f){w(e),j(!0);var i=setTimeout((function(){return j(!1)}),3e3);return function(){return clearTimeout(i)}}w(0),j(!1),E.current=f}),[f,m]);var S=m>50?0:Math.round((50-m)/50*100),A="#00a09a",k=f?r?52:58:0,_=r?"77%":"70%",D=f?40:44,C=n&&"object"===Fe(n)?n:{},N="string"==typeof C.user_picture&&C.user_picture.trim()?C.user_picture:void 0,O=c.createElement(ue,{src:N,icon:c.createElement("img",{src:We.A,alt:""}),$grayscale:S,$size:D}),T=c.createElement(Be.A,{style:{color:"#fff",fontSize:24}});if(r){var z=t&&i||"";return c.createElement(se,{className:t?"menuButtonDesktop menuButtonDesktopUser":"menuButtonDesktop",type:"primary",shape:"round",icon:t?c.createElement(oe,null,c.createElement(ae,{$size:D},O),c.createElement(Ge,{keyPrefix:"rb-d",ringSize:k,hollowSize:_,displayPercent:g,animKey:b,ringColor:A,trackColor:s.colorFillAlter}),c.createElement(le,{$visible:x&&f},Math.round(g),"%")):T,style:t?{minWidth:0,transition:"none",height:52,lineHeight:1}:void 0},z)}return c.createElement(ce,{className:"menuButton",type:"primary",shape:"circle",size:"large",icon:t?c.createElement(ie,null,c.createElement(ae,{$size:D},O),c.createElement(le,{$visible:x&&f},Math.round(g),"%"),c.createElement(Ge,{keyPrefix:"rb-m",ringSize:k,hollowSize:_,displayPercent:g,animKey:b,ringColor:A,trackColor:s.colorFillAlter})):T})};function Ze(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Je(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};
2t%2?Ze(Object(n),!0).forEach((function(t){Ke(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Ze(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Ke(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=Ve(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=Ve(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==Ve(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Ve(e){return Ve="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Ve(e)}var Xe=function(e){return"string"==typeof e?e.trim().toLowerCase()===(0,Pe.t)("ui.menueheader.menu.messages").toLowerCase():Array.isArray(e)?e.some(Xe):!!c.isValidElement(e)&&Xe(null===(t=e.props)||void 0===t?void 0:t.children);var t},$e=function(e,t){return n=e,!c.isValidElement(n)||n.type!==re&&(null===(r=n.type)||void 0===r?void 0:r.styledComponentId)!==(null==re?void 0:re.styledComponentId)?c.createElement(re,{size:"small",count:t,offset:[11,11],color:"#9f1c62"},e):c.cloneElement(e,{count:t});var n,r},et=function(e,t){return Array.isArray(e)?e.map((function(e){if(!e||"object"!==Ve(e))return e;var n=Je({},e);return Array.isArray(n.children)&&n.children.length>0&&(n.children=et(n.children,t)),function(e){return!(!e||"object"!==Ve(e))&&("string"==typeof e.link&&e.link.toLowerCase().includes("/chat")||Xe(e.label))}(n)&&(n.label=$e(n.label,t)),n})):[]};const tt=function(e){var t=e.accountMenuData,n=e.userMenuOpen,r=e.onUserMenuOpenChange,i=e.isAuthentificated,o=e.currentUser,a=e.isDesktopResolution,u=e.userName,l=e.balance,s=e.lastOrderAmount,f=e.notiBadgeCount,d=e.isDetailOverlayOpen,p=void 0!==d&&d,h=(0,c.useMemo)((function(){var e=Array.isArray(t)?t:[];return null==f?e:et(e,f)}),[t,f]);return c.createElement(te,{menu:{items:h,onClick:function(){return r(!1)}},trigger:["click"],open:n,onOpenChange:r,getPopupContainer:function(){return document.body},destroyOnHidden:!0,placement:"bottom",overlayStyle:"undefined"!=typeof document&&document.body.classList.contains("hid-tour-user-menu-open")?{zIndex:1050}:p?{zIndex:1310}:void 0,classNames:{root:"user-menu-dropdown"},styles:{root:Je({background:"rgb(79 79 79 / 100%)",padding:"0 12px",borderRadius:"8px"},!p||"undefined"!=typeof document&&document.body.classList.contains("hid-tour-user-menu-open")?{}:{zIndex:1310})}},c.createElement("span",{"data-tour":"user-menu",style:Je({display:"inline-flex",alignItems:"center",height:52,lineHeight:1},p?{position:"relative",zIndex:1310}:{})},c.createElement(qe,{isAuthentificated:i,currentUser:o,isDesktopResolution:a,userName:u,balance:l,lastOrderAmount:s})))};var nt=n(97286),rt=n(88730);const it=function(){var e=(0,nt.I)({queryKey:["currentUser"],queryFn:rt.HW,initialData:{},staleTime:3e4}).data,t=Number((null==e?void 0:e.uid)||0),n=t>0,r=(null==e?void 0:e.name)||"",i=!(null==e||!e.is_social_business_user),o=(0,nt.I)({queryKey:["aggregatedMenus",t,(0,Pe.Xo)()],queryFn:function(){return(0,rt.EQ)({cacheBuster:t||"guest"})},initialData:{}}).data||{},a=o.sideMenuData,u=void 0===a?[]:a,l=o.accountMenuData,c=void 0===l?[]:l,s=o.horizontalMenuData,f=void 0===s?[]:s,d=o.bottomMenuData;return{sideMenuData:u,accountMenuData:c,horizontalMenuData:f,bottomMenuData:void 0===d?[]:d,currentUser:e,isAuthentificated:n,userName:r,isSocialBusinessUser:i}};var ot=n(54228),at=n(58171),ut=n(82441),lt=n(50770),ct=n(43977);function st(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,i,o,a,u=[],l=!0,c=!1;try{if(o=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(r=o.call(n)).done)&&(u.push(r.value),u.length!==t);l=!0);}catch(e){c=!0,i=e}
2finally{try{if(!l&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(c)throw i}}return u}}(e,t)||function(e,t){if(e){if("string"==typeof e)return ft(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?ft(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function ft(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}var dt=[function(){return Promise.all([n.e(3180),n.e(4714),n.e(6801),n.e(1271),n.e(1764),n.e(5714),n.e(5095),n.e(7096),n.e(3170),n.e(1061),n.e(4986)]).then(n.bind(n,94986))},function(){return Promise.all([n.e(4714),n.e(6801),n.e(1271),n.e(1764),n.e(5714),n.e(2413),n.e(6832)]).then(n.bind(n,36832))},function(){return Promise.all([n.e(4714),n.e(6801),n.e(273)]).then(n.bind(n,40273))}],pt=[function(){return Promise.all([n.e(3180),n.e(4714),n.e(6801),n.e(1271),n.e(1764),n.e(5714),n.e(5095),n.e(7096),n.e(3170),n.e(1061),n.e(7888)]).then(n.bind(n,57888))},function(){return Promise.all([n.e(3180),n.e(4714),n.e(6801),n.e(1271),n.e(1764),n.e(5714),n.e(5095),n.e(7096),n.e(3170),n.e(1061),n.e(424)]).then(n.bind(n,424))},function(){return Promise.all([n.e(3180),n.e(4714),n.e(6801),n.e(1271),n.e(1764),n.e(5714),n.e(5095),n.e(7096),n.e(3170),n.e(1061),n.e(9728)]).then(n.bind(n,19728))},function(){return Promise.all([n.e(3180),n.e(4714),n.e(6801),n.e(1271),n.e(1764),n.e(5714),n.e(5095),n.e(7096),n.e(3170),n.e(1061),n.e(9326)]).then(n.bind(n,9326))},function(){return Promise.all([n.e(3180),n.e(4714),n.e(6801),n.e(1271),n.e(1764),n.e(5714),n.e(5095),n.e(7096),n.e(3170),n.e(1061),n.e(6452)]).then(n.bind(n,6452))},function(){return Promise.all([n.e(4714),n.e(6801),n.e(1271),n.e(1764),n.e(5714),n.e(5095),n.e(7096),n.e(9636)]).then(n.bind(n,89636))},function(){return Promise.all([n.e(3180),n.e(4714),n.e(6801),n.e(9142),n.e(9792)]).then(n.bind(n,49792))},function(){return Promise.all([n.e(3180),n.e(4714),n.e(6801),n.e(3744),n.e(8948)]).then(n.bind(n,18948))},function(){return Promise.all([n.e(4714),n.e(6801),n.e(4885)]).then(n.bind(n,64885))},function(){return Promise.all([n.e(4714),n.e(6801),n.e(1271),n.e(2413),n.e(7201)]).then(n.bind(n,67201))}],ht=[function(){return Promise.all([n.e(4714),n.e(6801),n.e(2393),n.e(4685)]).then(n.bind(n,94685))},function(){return Promise.all([n.e(4714),n.e(6801),n.e(2393),n.e(4606)]).then(n.bind(n,34606))},function(){return Promise.all([n.e(4714),n.e(6801),n.e(3744),n.e(8345)]).then(n.bind(n,48345))},function(){return Promise.all([n.e(3180),n.e(4714),n.e(6801),n.e(9142),n.e(8978)]).then(n.bind(n,98978))},function(){return Promise.all([n.e(4714),n.e(6801),n.e(4767)]).then(n.bind(n,44767))},function(){return Promise.all([n.e(3180),n.e(4714),n.e(6801),n.e(7523)]).then(n.bind(n,47523))},function(){return Promise.all([n.e(4714),n.e(6801),n.e(8026)]).then(n.bind(n,68026))},function(){return Promise.all([n.e(4714),n.e(6801),n.e(1187)]).then(n.bind(n,11187))},function(){return Promise.all([n.e(3180),n.e(4714),n.e(6801),n.e(2393),n.e(4685),n.e(1704)]).then(n.bind(n,51704))},function(){return Promise.all([n.e(4714),n.e(6801),n.e(9e3)]).then(n.bind(n,49e3))},function(){return Promise.all([n.e(4714),n.e(7397)]).then(n.bind(n,97397))},function(){return n.e(7821).then(n.bind(n,97821))}];function mt(e){return"function"==typeof window.requestIdleCallback?window.requestIdleCallback(e,{timeout:3e3}):window.setTimeout(e,300)}function yt(e,t){var n=0,r=function(){n>=e.length?t&&t():(e[n++](),mt(r))};mt(r)}function gt(){var e,t=(null===(e=navigator)||void 0===e?void 0:e.connection)||{};return t.saveData||/(2g)/i.test(t.effectiveType||"")}var wt={"/search":function(){return Promise.all([n.e(3180),n.e(4714),n.e(6801),n.e(1271),n.e(1764),n.e(5714),n.e(5095),n.e(7096),n.e(3170),n.e(1061),n.e(4986)]).then(n.bind(n,94986))},"/urlaub-gegen-hilfe":function(){return Promise.all([n.e(3180),n.e(4714),n.e(6801),n.e(1271),n.e(1764),n.e(5714),n.e(5095),n.e(7096),n.e(3170),n.e(1061),n.e(7888)]).then(n.bind(n,57888))},"/wohnen-gegen-hilfe":function(){return Promise.all([n.e(3180),n.e(4714),n.e(6801),n.e(1271),n.e(1764),n.e(5714),n.e(5095),n.e(7096),n.e(3170),n.e(1061),n.e(424)]).then(n.bind(n,424))},"/hilfe-und-tausch":function(){return Promise.all([n.e(3180),n.e(4714),n.e(6801),n.e(1271),n.e(1764),n.e(5714),n.e(5095),n.e(7096),n.e(3170),n.e(1061),n.e(9728)]).then(n.bind(n,19728))},"/haustausch":function(){return Promise.all([n.e(3180),n.e(4714),n.e(6801),n.e(1271),n.e(1764),n.e(5714),n.e(5095),n.e(7096),n.e(3170),n.e(1061),n.e(9326)]).then(n.bind(n,9326))},"/socialbusiness":function(){return Promise.all([n.e(3180),n.e(4714),n.e(6801),n.e(1271),n.e(1764),n.e(5714),n.e(5095),n.e(7096),n.e(3170),n.e(1061),n.e(6452)]).then(n.bind(n,6452))},"/community":function(){return Promise.all([n.e(4714),n.e(6801),n.e(1271),n.e(1764),n.e(5714),n.e(5095),n.e(7096),n.e(9636)]).then(n.bind(n,89636))},"/pricing-info":function(){return Promise.all([n.e(3180),n.e(4714),n.e(6801),n.e(9142),n.e(9792)]).then(n.bind(n,49792))},"/meine-credits":function(){return Promise.all([n.e(3180),n.e(4714),n.e(6801),n.e(9142),n.e(8978)]).then(n.bind(n,98978))},"/meine-bestellungen":function(){return Promise.all([n.e(4714),n.e(6801),n.e(4767)]).then(n.bind(n,44767))},"/meine-deals":function(){return Promise.all([n.e(3180),n.e(4714),n.e(6801),n.e(3744),n.e(8948)]).then(n.bind(n,18948))},"/meine-matches":function(){return Promise.all([n.e(4714),n.e(6801),n.e(4885)]).then(n.bind(n,64885))},"/favoriten":function(){return Promise.all([n.e(4714),n.e(6801),n.e(3744),n.e(8345)]).then(n.bind(n,48345))},"/mein-profil":function(){return Promise.all([n.e(3180),n.e(4714),n.e(6801),n.e(7523)]).then(n.bind(n,47523))},"/account":function(){return Promise.all([n.e(4714),n.e(6801),n.e(8026)]).then(n.bind(n,68026))},"/deal-anlegen":function(){return Promise.all([n.e(4714),n.e(6801),n.e(2393),n.e(4685)]).then(n.bind(n,94685))},"/deal-bearbeiten":function(){return Promise.all([n.e(4714),n.e(6801),n.e(2393),n.e(4606)]).then(n.bind(n,34606))},"/chat":function(){return Promise.all([n.e(4714),n.e(6801),n.e(273)]).then(n.bind(n,40273))},"/user/":function(){return Promise.all([n.e(4714),n.e(6801),n.e(1271),n.e(2413),n.e(7201)]).then(n.bind(n,67201))},"/checkout":function(){return Promise.all([n.e(4714),n.e(6801),n.e(1187)]).then(n.bind(n,11187))},"/registrieren":function(){return Promise.all([n.e(3180),n.e(4714),n.e(6801),n.e(2393),n.e(4685),n.e(1704)]).then(n.bind(n,51704))},"/downloads":function(){return Promise.all([n.e(4714),n.e(6801),n.e(9e3)]).then(n.bind(n,49e3))}},vt=new Set;function bt(e){var t=function(){return function(e){if(e&&!vt.has(e))for(var t=0,n=Object.entries(wt);t<n.length;t++){var r=st(n[t],2),i=r[0],o=r[1];if(e===i||e.startsWith(i+"/")||e.startsWith(i+"?"))return vt.add(e),void o()}}(e)};return{onMouseEnter:t,onFocus:t,onTouchStart:t}}var Lt,Mt=n(89595),xt=n(74114),jt=n(58618),Et=n(46387);function St(){var e,t,n="function"==typeof Symbol?Symbol:{},r=n.iterator||"@@iterator",i=n.toStringTag||"@@toStringTag";function o(n,r,i,o){var l=r&&r.prototype instanceof u?r:u,c=Object.create(l.prototype);return At(c,"_invoke",function(n,r,i){var o,u,l,c=0,s=i||[],f=!1,d={p:0,n:0,v:e,a:p,f:p.bind(e,4),d:function(t,n){return o=t,u=0,l=e,d.n=n,a}};function p(n,r){for(u=n,l=r,t=0;!f&&c&&!i&&t<s.length;t++){var i,o=s[t],p=d.p,h=o[2];n>3?(i=h===r)&&(l=o[(u=o[4])?5:(u=3,3)],o[4]=o[5]=e):o[0]<=p&&((i=n<2&&p<o[1])?(u=0,d.v=r,d.n=o[1]):p<h&&(i=n<3||o[0]>r||r>h)&&(o[4]=n,o[5]=r,d.n=h,u=0))}if(i||n>1)return a;throw f=!0,r}return function(i,s,h){if(c>1)throw TypeError("Generator is already running");for(f&&1===s&&p(s,h),u=s,l=h;(t=u<2?e:l)||!f;){o||(u?u<3?(u>1&&(d.n=-1),p(u,l)):d.n=l:d.v=l);try{if(c=2,o){if(u||(i="next"),t=o[i]){if(!(t=t.call(o,l)))throw TypeError("iterator result is not an object");
2if(!t.done)return t;l=t.value,u<2&&(u=0)}else 1===u&&(t=o.return)&&t.call(o),u<2&&(l=TypeError("The iterator does not provide a '"+i+"' method"),u=1);o=e}else if((t=(f=d.n<0)?l:n.call(r,d))!==a)break}catch(t){o=e,u=1,l=t}finally{c=1}}return{value:t,done:f}}}(n,i,o),!0),c}var a={};function u(){}function l(){}function c(){}t=Object.getPrototypeOf;var s=[][r]?t(t([][r]())):(At(t={},r,(function(){return this})),t),f=c.prototype=u.prototype=Object.create(s);function d(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,c):(e.__proto__=c,At(e,i,"GeneratorFunction")),e.prototype=Object.create(f),e}return l.prototype=c,At(f,"constructor",c),At(c,"constructor",l),l.displayName="GeneratorFunction",At(c,i,"GeneratorFunction"),At(f),At(f,i,"Generator"),At(f,r,(function(){return this})),At(f,"toString",(function(){return"[object Generator]"})),(St=function(){return{w:o,m:d}})()}function At(e,t,n,r){var i=Object.defineProperty;try{i({},"",{})}catch(e){i=0}At=function(e,t,n,r){function o(t,n){At(e,t,(function(e){return this._invoke(t,n,e)}))}t?i?i(e,t,{value:n,enumerable:!r,configurable:!r,writable:!r}):e[t]=n:(o("next",0),o("throw",1),o("return",2))},At(e,t,n,r)}function kt(e,t,n,r,i,o,a){try{var u=e[o](a),l=u.value}catch(e){return void n(e)}u.done?t(l):Promise.resolve(l).then(r,i)}function _t(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,i,o,a,u=[],l=!0,c=!1;try{if(o=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(r=o.call(n)).done)&&(u.push(r.value),u.length!==t);l=!0);}catch(e){c=!0,i=e}finally{try{if(!l&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(c)throw i}}return u}}(e,t)||function(e,t){if(e){if("string"==typeof e)return Dt(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Dt(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Dt(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}var Ct,Nt,Ot,Tt,zt,It,Pt="#9f1c62",Yt="rgb(250, 246, 248)",Ut=(0,G.DU)(Lt||(Ct=["\n .hid-language-dropdown .ant-dropdown-menu-item:active,\n .hid-language-dropdown .ant-dropdown-menu-item:active a,\n .hid-language-dropdown .ant-dropdown-menu-item a:active {\n color: "," !important;\n background: "," !important;\n }\n"],Nt||(Nt=Ct.slice(0)),Lt=Object.freeze(Object.defineProperties(Ct,{raw:{value:Object.freeze(Nt)}}))),Pt,Yt);function Bt(e){var t=e.children,n=_t((0,c.useState)(!1),2),r=n[0],i=n[1],o=_t((0,c.useState)(!1),2),a=o[0],l=o[1],s=(0,c.useMemo)((function(){return(0,Pe.hK)()}),[]),f=(0,Pe.Xo)(),d="session"===(0,Pe.Ee)();(0,c.useEffect)((function(){if(r){var e=function(){return i(!1)};return window.addEventListener("scroll",e,!0),function(){window.removeEventListener("scroll",e,!0)}}}),[r]);var p=function(){var e,t=(e=St().m((function e(t){var n,r,o;return St().w((function(e){for(;;)switch(e.p=e.n){case 0:if(n=t.key,(r=t.domEvent).preventDefault(),r.stopPropagation(),o=String(n),i(!1),o&&o!==f&&!a){e.n=1;break}return e.a(2);case 1:if(d){e.n=2;break}return(0,Pe.xC)(o),e.a(2);case 2:return l(!0),e.p=3,e.n=4,(0,rt.uw)({accountLanguage:o});case 4:(0,Pe.xC)(o),e.n=6;break;case 5:e.p=5,e.v,m.Ay.error((0,Pe.t)("ui.account.language_save_error")),l(!1);case 6:return e.a(2)}}),e,null,[[3,5]])})),function(){var t=this,n=arguments;return new Promise((function(r,i){var o=e.apply(t,n);function a(e){kt(o,r,i,a,u,"next",e)}function u(e){kt(o,r,i,a,u,"throw",e)}a(void 0)}))});return function(e){return t.apply(this,arguments)}}(),h=s.map((function(e){return{key:e.value,label:c.createElement("a",{href:(0,Pe.ag)(e.value),hrefLang:e.value},e.label)}}));return c.createElement(u.Ay,{theme:{token:{colorPrimary:Pt,colorBgElevated:"#fff",colorText:"#333",colorBgTextActive:Yt,borderRadius:6,fontSize:13},components:{Dropdown:{controlItemBgActive:Yt,controlItemBgActiveHover:Yt,zIndexPopup:1501},Menu:{itemActiveBg:Yt,itemHoverBg:Yt,itemSelectedBg:Yt,itemSelectedColor:Pt}}}},c.createElement(Ut,null),r&&(0,de.createPortal)(c.createElement("button",{type:"button","aria-label":(0,Pe.t)("ui.menueheader.language"),onClick:function(){return i(!1)},style:{position:"fixed",inset:0,zIndex:1500,border:0,padding:0,background:"transparent"}}),document.body),c.createElement(V.A,{open:r,onOpenChange:i,trigger:["click"],placement:"topRight",autoAdjustOverflow:!0,overlayClassName:"hid-language-dropdown",getPopupContainer:function(){return document.body},overlayStyle:{zIndex:1501,minWidth:"max-content",maxWidth:"calc(100vw - 16px)"},menu:{items:h,selectable:!0,selectedKeys:[f],onClick:p,style:{padding:4}}},t))}function Wt(){return Wt=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Wt.apply(null,arguments)}function Ft(e){return function(e){if(Array.isArray(e))return Qt(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(e){if("string"==typeof e)return Qt(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Qt(e,t):void 0}}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Qt(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function Rt(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}var Ht="hid:language",Gt=G.Ay.div(Ot||(Ot=Rt(["\n color: rgb(159, 28, 98);\n font-size: 11px;\n margin-top: -20px;\n\n a {\n color: rgb(159, 28, 98);\n }\n"]))),qt=(0,G.Ay)(X.A)(Tt||(Tt=Rt(["\n color: #fff;\n line-height: initial !important;\n"]))),Zt=(0,G.Ay)(lt.Ay.Group)(zt||(zt=Rt(["\n .ant-radio-button-wrapper {\n color: #fff;\n transition: background-color 0.3s ease;\n\n &:hover {\n background-color: rgb(250, 246, 248) !important;\n }\n }\n\n .ant-radio-button-wrapper-checked {\n &::before {\n background-color: #d9d9d9;\n }\n }\n"]))),Jt=G.Ay.div(It||(It=Rt(["\n svg {\n color: rgb(159, 28, 98);\n width: 18px;\n height: 18px;\n }\n"])));function Kt(e){var t=Array.isArray(e)?Ft(e):[];return t.some((function(e){return function(e){if(!e||"string"!=typeof e)return!1;try{return"/search"===(0,ct.Op)(e)}catch(t){return e.includes("/search")}}(e.link)}))||t.unshift({key:"guest-search",link:(0,Pe.$y)((0,ct.qP)("/search")),label:(0,Pe.t)("ui.menueheader.search"),icon:c.createElement(we.A,null)}),t.some((function(e){return e.link===Ht}
2))||t.push({key:"guest-language",link:Ht,label:(0,Pe.t)("ui.menueheader.language"),icon:c.createElement(ut.A,null)}),t}const Vt=function(e){var t=e.bottomMenuData,n=(e.isSmallestMobile,e.notiBadgeCount),r=e.matchesBadgeCount,i=e.isDesktopResolution,o=(0,fe.Qk)(),a=(0,Et.J)(),u=a.currentUser,l=!a.isLoading&&!Array.isArray(u)&&u&&Number((null==u?void 0:u.uid)||0)>0,s=(0,c.useMemo)((function(){return l?t||[]:Kt(t)}),[t,l]),f="".concat(100/Math.max(s.length,1),"%");return c.createElement(c.Fragment,null,c.createElement(Zt,{size:"large",style:{width:i?"500px":"100%",height:"52px",pointerEvents:"all"}},s.map((function(e){var t=e.link===Ht,i=c.createElement(lt.Ay.Button,Wt({value:e.link,style:{width:f,height:"52px",border:"none",padding:"0px",boxShadow:"rgb(131 45 91 / 30%) 0px 0px 16px",background:"rgb(255, 255, 255)"},onClick:t?function(e){return e.preventDefault()}:function(){return t=e.link,void((0,jt.Jk)(t)?(0,xt.d)(l):(0,Mt.A)(t,o,l));var t}},t?{}:bt(e.link)),e.link.includes("chat")?c.createElement(qt,{count:n,size:"small",color:"#00a09a",offset:[5,0]},c.createElement(Jt,null,e.icon)):e.link.includes("meine-matches")?c.createElement(qt,{count:r,size:"small",color:"#00a09a",offset:[5,0]},c.createElement(Jt,null,e.icon)):c.createElement(qt,{style:{visibility:"none"},offset:[5,0]},c.createElement(Jt,null,e.icon)),c.createElement(Gt,null,e.label));return t?c.createElement(Bt,{key:e.key||e.link},i):c.cloneElement(i,{key:e.key||e.link})}))))};var Xt,$t,en=n(15197);function tn(){return tn=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},tn.apply(null,arguments)}function nn(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}var rn=(0,n(63783).rU)((function(e){var t=e.prefixCls,n=e.css;return{communityGradientButton:n(Xt||(Xt=nn(["\n &.","-btn-primary:not([disabled]):not(.","-btn-dangerous) {\n position: relative;\n \n > span {\n position: relative;\n z-index: 1;\n }\n\n * {\n position: relative;\n z-index: 2;\n color: #fff !important;\n }\n\n &::before {\n content: '';\n background: linear-gradient(135deg, #00a09a, #006b67);\n position: absolute;\n inset: 0;\n opacity: 1;\n transition: all 0.3s;\n border-radius: inherit;\n z-index: 0;\n }\n\n }\n "])),t,t),otherGradientButton:n($t||($t=nn(["\n &.","-btn-primary:not([disabled]):not(.","-btn-dangerous) {\n position: relative;\n \n > span {\n position: relative;\n z-index: 2;\n }\n\n * {\n position: relative;\n z-index: 2;\n color: #fff !important;\n }\n\n &::before {\n content: '';\n background: linear-gradient(135deg,#99195d, #660f3f);\n position: absolute;\n inset: 0;\n opacity: 1;\n transition: all 0.3s;\n border-radius: inherit;\n z-index: 0;\n }\n\n }\n "])),t,t)}}));const on=function(e){var t=e.horizontalMenuData,n=(0,R.zy)(),r=(0,fe.Qk)(),i=rn().styles;return t?c.createElement(u.Ay,{renderEmpty:function(){return c.createElement(c.Fragment,null)}},c.createElement("div",{style:{width:"100%",height:"40px",minHeight:"40px",overflowX:"auto",overflowY:"hidden",whiteSpace:"nowrap",WebkitOverflowScrolling:"touch"}},c.createElement("div",{style:{display:"flex",alignItems:"center",height:"40px",width:"max-content",minWidth:"100%",justifyContent:"center"}},t.map((function(e){var t=n.pathname.replace(/\/$/,""),o=e.link.split("?")[0].replace(/\/$/,""),a=t===o,l="/community"===(0,ct.Op)(o);return c.createElement("span",tn({key:e.link,style:{margin:"0 5px",display:"inline-flex",alignItems:"center",flexShrink:0}},bt(e.link)),l?c.createElement(u.Ay,{theme:{components:{Button:{colorPrimary:"#00a09a",colorPrimaryHover:"#33c5bc"}}},button:{className:a?i.communityGradientButton:""}},c.createElement(K.Ay,{type:"primary",shape:"round",size:"small",onClick:function(){return(0,pe.F_)(e.link)?r(e.link):window.location.assign(e.link)},style:{zIndex:"2",borderColor:"#0f9a95",color:"#fff"}},e.displayLabel)):c.createElement(u.Ay,{theme:{components:{Button:{colorPrimary:"#9f1c62",colorPrimaryHover:"#c96694"}}},button:{className:a?i.otherGradientButton:""}},c.createElement(K.Ay,{type:"primary",shape:"round",size:"small",onClick:function(){return(0,pe.F_)(e.link)?r(e.link):window.location.assign(e.link)},style:{color:"#fff"}},e.displayLabel)))}))))):c.createElement("div",{style:{height:"40px",width:"100%",backgroundColor:"#fff"}})};var an=["horizontalMenuData","openSearch","children"];function un(){return un=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},un.apply(null,arguments)}function ln(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,i,o,a,u=[],l=!0,c=!1;try{if(o=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;
2!(l=(r=o.call(n)).done)&&(u.push(r.value),u.length!==t);l=!0);}catch(e){c=!0,i=e}finally{try{if(!l&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(c)throw i}}return u}}(e,t)||function(e,t){if(e){if("string"==typeof e)return cn(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?cn(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function cn(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}const sn=function(e){var t=e.horizontalMenuData,n=e.openSearch,r=(e.children,function(e,t){if(null==e)return{};var n,r,i=function(e,t){if(null==e)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(-1!==t.indexOf(r))continue;n[r]=e[r]}return n}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r<o.length;r++)n=o[r],-1===t.indexOf(n)&&{}.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}(e,an)),i=ln((0,c.useState)(!0),2),o=(i[0],i[1]),a=ln((0,c.useState)(!1),2),u=(a[0],a[1]),l=ln((0,c.useState)(!1),2),s=(l[0],l[1],(0,en.useGesture)({onDrag:function(e){var t=e.down,n=ln(e.direction,2)[1],r=ln(e.delta,1)[0],i=Math.abs(r)>=1;!t&&i&&o((n>0?-1:1)<0)}})),f=(0,q.zh)({marginTop:n?0:-49,fontSize:n?"1em":"0em",fontColor:n?"rgb(126, 87, 194)":"rgb(252, 250, 255)",config:{mass:1,tension:400,friction:30},onStart:function(){u(!0)},onRest:function(e){!0===e.finished&&u(!1)}});return c.createElement("div",{style:{position:"absolute",width:"100%",top:"".concat(r.isAdmin&&r.isAdminTray?"160px":r.isAdmin?"120px":"80px"),background:"#9f1c6280",pointerEvents:"all"}},c.createElement(q.CS.div,un({},s(),{touchaction:"none",className:"flex-container"}),c.createElement(q.CS.div,{style:f,className:"tabs-container"},c.createElement(be.A,null,c.createElement(on,{horizontalMenuData:t})))))};var fn=n(30234),dn=n(65619),pn=n(74336),hn=n(36191),mn=n(90751),yn=n(99705),gn=n(29248),wn=n(21348),vn=n(40261),bn=n(5954),Ln=n(87942),Mn=n(26762),xn=n(56179),jn=n(71301),En=n(78602),Sn=n(46325),An=n(62786),kn=n(47910),_n=n(30403);function Dn(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,i,o,a,u=[],l=!0,c=!1;try{if(o=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(r=o.call(n)).done)&&(u.push(r.value),u.length!==t);l=!0);}catch(e){c=!0,i=e}finally{try{if(!l&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(c)throw i}}return u}}(e,t)||function(e,t){if(e){if("string"==typeof e)return Cn(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Cn(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Cn(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}var Nn={"/mein-profil":"my_profile","/profileview":"profile_view","/meine-credits":"credits","/chat":"messages","/bmldn":"logout","/ausloggen":"logout","/community":"community_deals","/deal-anlegen":"create_deal","/faqs":"faqs","/blog":"blog","/einloggen":"login","/registrieren":"register","/favoriten":"favorites","/meine-deals":"my_deals","/meine-matches":"matching","/account":"account","/meine-bestellungen":"my_orders","/bewertungen":"reviews","/downloads":"deal_agreement","/search":"search","/sfnktnrts":"how_it_works","/so-funktionierts":"how_it_works"};function On(e,t){var n=function(e){if(!e||"string"!=typeof e)return"";var t=e.trim();t.startsWith("internal:")&&(t=t.slice(9));try{if(t.startsWith("http://")||t.startsWith("https://"))return new URL(t).hash.replace(/^#/,"")}catch(e){}var n=t.indexOf("#");return-1===n?"":t.slice(n+1).split("?")[0]}(t),r=n?(0,ct._0)(n)||n:"",i={packages:"pricing","help-cards":"fair_value","hid-start-tour":"platform_tour","community-deals":"newest_deals","unsere-partner":"partners"};if(r&&i[r])return i[r];var o=function(e){if(!e||"string"!=typeof e)return"";var t=e.trim();
2if(t.startsWith("internal:")&&(t=t.slice(9)),t.startsWith("entity:")||t.startsWith("route:"))return"";try{(t.startsWith("http://")||t.startsWith("https://"))&&(t=new URL(t).pathname)}catch(e){}if(""===(t=t.split("?")[0].split("#")[0]))return"/";t.startsWith("/")||(t="/".concat(t)),t=t.replace(/\/+$/,"")||"/";try{return(0,ct.Op)(t)}catch(e){return t}}(t);if(o&&Nn[o])return Nn[o];var a=function(e){if(!e)return null;for(var t=0,n=[["profile_view","ui.menueheader.menu.profile_view"],["my_profile","ui.menueheader.menu.my_profile"],["my_credits","ui.menueheader.menu.my_credits"],["credits","ui.menueheader.menu.credits"],["messages","ui.menueheader.menu.messages"],["logout","ui.menueheader.menu.logout"],["home","ui.menueheader.menu.home"],["community_deals","ui.menueheader.menu.community_deals"],["create","ui.menueheader.menu.create"],["create_deal","ui.menueheader.menu.create_deal"],["deal_categories","ui.menueheader.menu.deal_categories"],["how_it_works","ui.menueheader.menu.how_it_works"],["platform_tour","ui.menueheader.menu.platform_tour"],["credits_prices","ui.menueheader.menu.credits_prices"],["fair_value","ui.menueheader.menu.fair_value"],["pricing","ui.menueheader.menu.pricing"],["faqs","ui.menueheader.menu.faqs"],["blog","ui.menueheader.menu.blog"],["our_portal","ui.menueheader.menu.our_portal"],["newest_deals","ui.menueheader.menu.newest_deals"],["login","ui.menueheader.menu.login"],["become_member","ui.menueheader.menu.become_member"],["register","ui.menueheader.menu.register"],["favorites","ui.menueheader.menu.favorites"],["my_deals","ui.menueheader.menu.my_deals"],["matching","ui.menueheader.menu.matching"],["my_matches","ui.menueheader.menu.my_matches"],["account","ui.menueheader.menu.account"],["account_typo","ui.menueheader.menu.account_typo"],["my_orders","ui.menueheader.menu.my_orders"],["reviews","ui.menueheader.menu.reviews"],["deal_agreement","ui.menueheader.menu.deal_agreement"],["search","ui.menueheader.menu.search"]];t<n.length;t++){var r=Dn(n[t],2),i=r[0],o=r[1];if(e===(0,Pe.t)(o))return i}return{"Unser Portal":"our_portal","Deal Rubriken":"deal_categories","Die neusten Deals":"newest_deals","Mein Profil":"my_profile","Meine Credits":"my_credits",Nachrichten:"messages",Abmelden:"logout",Startseite:"home","Community-Deals":"community_deals",Erstellen:"create","Deal anlegen":"create_deal","Deal erstellen":"create_deal",FAQs:"faqs","Unser Blog":"blog",Einloggen:"login","Mitglied werden":"become_member",Registrieren:"register",Favoriten:"favorites","Meine Deals":"my_deals",Matching:"matching","Meine Matches":"matching",Kontoeinstellungen:"account","Meine Bestellungen":"my_orders",Bewertungen:"reviews","Deal-Vereinbarung":"deal_agreement",Suche:"search",Credits:"credits",Pricing:"pricing","Unser Fair-Wert":"fair_value","Plattform Tour":"platform_tour","So funktioniert's":"how_it_works","Meine Profilansicht":"profile_view"}[e]||null}(e);return a||("/"===o?"home":null)}function Tn(e,t){switch(On(e,t)){case"profile_view":return c.createElement(fn.A,null);case"my_profile":return c.createElement(Be.A,null);case"my_credits":case"credits":case"credits_prices":case"pricing":return c.createElement(_n.Zm,{size:18});case"messages":return c.createElement(dn.A,null);case"logout":return c.createElement(pn.A,null);case"home":return c.createElement(hn.A,null);case"community_deals":return c.createElement(mn.A,null);case"create":case"create_deal":return c.createElement(he.A,null);case"deal_categories":return c.createElement(yn.A,null);case"how_it_works":case"platform_tour":return c.createElement(gn.A,null);case"fair_value":return c.createElement(_n.pF,{size:18});case"faqs":return c.createElement(wn.A,null);case"blog":return c.createElement(vn.A,null);case"our_portal":return c.createElement(bn.A,null);case"newest_deals":return c.createElement(Ln.A,null);case"login":return c.createElement(ge.A,null);case"become_member":case"register":return c.createElement(ye.A,null);case"favorites":return c.createElement(Mn.A,null);case"my_deals":return c.createElement(xn.A,null);case"matching":case"my_matches":return c.createElement(jn.A,null);case"account":case"account_typo":return c.createElement(En.A,null);case"my_orders":return c.createElement(Sn.A,null);case"reviews":return c.createElement(An.A,null);case"deal_agreement":return c.createElement(kn.A,null);case"search":return c.createElement(we.A,null);default:return null}}var zn=n(71265),In=n(85621);function Pn(){var e,t,n="function"==typeof Symbol?Symbol:{},r=n.iterator||"@@iterator",i=n.toStringTag||"@@toStringTag";function o(n,r,i,o){var l=r&&r.prototype instanceof u?r:u,c=Object.create(l.prototype);return Yn(c,"_invoke",function(n,r,i){var o,u,l,c=0,s=i||[],f=!1,d={p:0,n:0,v:e,a:p,f:p.bind(e,4),d:function(t,n){return o=t,u=0,l=e,d.n=n,a}};function p(n,r){for(u=n,l=r,t=0;!f&&c&&!i&&t<s.length;t++){var i,o=s[t],p=d.p,h=o[2];n>3?(i=h===r)&&(l=o[(u=o[4])?5:(u=3,3)],o[4]=o[5]=e):o[0]<=p&&((i=n<2&&p<o[1])?(u=0,d.v=r,d.n=o[1]):p<h&&(i=n<3||o[0]>r||r>h)&&(o[4]=n,o[5]=r,d.n=h,u=0))}if(i||n>1)return a;throw f=!0,r}return function(i,s,h){if(c>1)throw TypeError("Generator is already running");for(f&&1===s&&p(s,h),u=s,l=h;(t=u<2?e:l)||!f;){o||(u?u<3?(u>1&&(d.n=-1),p(u,l)):d.n=l:d.v=l);try{if(c=2,o){if(u||(i="next"),t=o[i]){if(!(t=t.call(o,l)))throw TypeError("iterator result is not an object");
2if(!t.done)return t;l=t.value,u<2&&(u=0)}else 1===u&&(t=o.return)&&t.call(o),u<2&&(l=TypeError("The iterator does not provide a '"+i+"' method"),u=1);o=e}else if((t=(f=d.n<0)?l:n.call(r,d))!==a)break}catch(t){o=e,u=1,l=t}finally{c=1}}return{value:t,done:f}}}(n,i,o),!0),c}var a={};function u(){}function l(){}function c(){}t=Object.getPrototypeOf;var s=[][r]?t(t([][r]())):(Yn(t={},r,(function(){return this})),t),f=c.prototype=u.prototype=Object.create(s);function d(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,c):(e.__proto__=c,Yn(e,i,"GeneratorFunction")),e.prototype=Object.create(f),e}return l.prototype=c,Yn(f,"constructor",c),Yn(c,"constructor",l),l.displayName="GeneratorFunction",Yn(c,i,"GeneratorFunction"),Yn(f),Yn(f,i,"Generator"),Yn(f,r,(function(){return this})),Yn(f,"toString",(function(){return"[object Generator]"})),(Pn=function(){return{w:o,m:d}})()}function Yn(e,t,n,r){var i=Object.defineProperty;try{i({},"",{})}catch(e){i=0}Yn=function(e,t,n,r){function o(t,n){Yn(e,t,(function(e){return this._invoke(t,n,e)}))}t?i?i(e,t,{value:n,enumerable:!r,configurable:!r,writable:!r}):e[t]=n:(o("next",0),o("throw",1),o("return",2))},Yn(e,t,n,r)}function Un(e,t,n,r,i,o,a){try{var u=e[o](a),l=u.value}catch(e){return void n(e)}u.done?t(l):Promise.resolve(l).then(r,i)}function Bn(e){return function(){var t=this,n=arguments;return new Promise((function(r,i){var o=e.apply(t,n);function a(e){Un(o,r,i,a,u,"next",e)}function u(e){Un(o,r,i,a,u,"throw",e)}a(void 0)}))}}function Wn(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,i,o,a,u=[],l=!0,c=!1;try{if(o=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(r=o.call(n)).done)&&(u.push(r.value),u.length!==t);l=!0);}catch(e){c=!0,i=e}finally{try{if(!l&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(c)throw i}}return u}}(e,t)||qn(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Fn(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Qn(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Fn(Object(n),!0).forEach((function(t){Rn(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Fn(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Rn(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=Hn(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=Hn(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==Hn(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Hn(e){return Hn="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Hn(e)}function Gn(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=qn(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,i=function(){};return{s:i,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,a=!0,u=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return a=e.done,e},e:function(e){u=!0,o=e},f:function(){try{a||null==n.return||n.return()}finally{if(u)throw o}}}}function qn(e,t){if(e){if("string"==typeof e)return Zn(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Zn(e,t):void 0}}function Zn(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}var Jn=ve.A.Header;function Kn(e,t){return function(e,t){var n=On(e,t);return"our_portal"===n||"deal_categories"===n}(e,t)}function Vn(e,t){if(!e)return null;var n,r=t.toLowerCase(),i=Gn(e);try{for(i.s();!(n=i.n()).done;){var o=n.value;if((o.title||"").toString().trim().toLowerCase().includes(r))return String(o.key);var a=Vn(o.below,t);if(a)return a}}catch(e){i.e(e)}finally{i.f()}return null}function Xn(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:new Set;if(!e)return t;var n,r=Gn(e);try{for(r.s();!(n=r.n()).done;){var i,o=n.value,a=o.relative||o.uri||o.link||"";(null===(i=o.below)||void 0===i?void 0:i.length)>0&&Kn(o.title,a)&&t.add(String(o.key)),Xn(o.below,t)}}catch(e){r.e(e)}finally{r.f()}return t}function $n(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=n.isBottomMenu,i=void 0!==r&&r,o=n.notiBadgeCount,a=void 0===o?null:o,u=n.isSocialBusinessUser,l=void 0!==u&&u;if(!e)return[];var s=t&&"object"===Hn(t)?Qn({uid:0,name:""},t):{uid:0};return e.reduce((function(e,t){var n=t.key,r=t.title,o=t.description,u=t.below,f=t.relative,d=0!==s.uid&&"authenticated"===o,p=0===s.uid&&"anonymous"===o,h=null===o,m=f||"";if(m.includes("insertformsmgg")&&!l)return e;if(!d&&!p&&!h)return e;var y=(0,ct.qP)(function(e){switch(e){case"/sfnktnrts":return"/so-funktionierts";case"/brns":return"/ueber-uns";case"/kntkt":return"/kontakt";case"/imprssm":return"/impressum";case"/agbs":return"/allgemeine-bedingungen";case"/dtnschtz":return"/datenschutz";case"/nd78":return"/node/78";case"/bmldn":return"/ausloggen";default:return e}}(m)),g=(0,Pe.$y)(function(e,t,n){t||(t=0);var r,i=(r=n)?r.toString().normalize("NFD").replace(/[\u0300-\u036f]/g,"").toLowerCase().replace(/[^a-z0-9]+/g,"-").replace(/^-+|-+$/g,"").replace(/-+/g,"-"):"",o={"/mein-profil":"/mein-profil","/mein-profil#picmodify#picmodify":"/mein-profil","/mein-profil#dealprofilmodify#dealprofilmodify":"/mein-profil","/mein-profil#notificationsmodify#notificationsmodify":"/account#notifications","/mein-profil#pwdmodify#pwdmodify":"/account#password","/mein-profil#accountdelete#accountdelete":"/account#delete","/account":"/account","/chat":"/ch
2at","/bewertungen":i?"/user/".concat(i,"#reviews"):"/bewertungen/".concat(t),"/profileview":i?"/user/".concat(i):"/profileview/".concat(t),"/insertformsughhost":"/deal-anlegen","/insertformsughhelfer":"/deal-anlegen","/insertformswghhost":"/deal-anlegen","/insertformswghhelfer":"/deal-anlegen","/insertformshghhelfer":"/deal-anlegen","/insertformshthost":"/deal-anlegen","/insertformsmgg":"/deal-anlegen","/favoriten":"/favoriten"};return o[e]?o[e]:e}(y,s.uid,s.name)),w=(r||"").toString().trim().toLowerCase();["kontoeinstellungen","kontoinstellungen"].includes(w)&&(g=(0,Pe.$y)((0,ct.qP)("/account")));var v,b=(0,ct.Op)(g||"/");if("/ckscnfg"===g)v=c.createElement("div",{href:"#",onClick:function(){var e,t;return null===(e=window.CCM)||void 0===e||null===(t=e.openWidget)||void 0===t||t.call(e),!1}},r);else if((0,jt.Jk)(g)){var L=0!==s.uid;v=c.createElement("a",{href:g,style:{color:"inherit"},onClick:function(e){return(0,xt.d)(L,e)}},r)}else v="/chat"!==b||i||null===a?(0,pe.F_)(g)?c.createElement(H.N_,{to:g},r):c.createElement("a",{href:g,target:"_self"},r):c.createElement(re,{size:"small",count:a,offset:[11,11],color:"#9f1c62"},(0,pe.F_)(g)?c.createElement(H.N_,{to:g,style:{color:"inherit"}},r):c.createElement("a",{href:g,style:{color:"inherit"}},r));"faqs"!==w&&"/faqs"!==b||(v=c.createElement("span",{"data-tour":"portal-faq"},v));var M={key:n,label:v,icon:Tn(r,g||f),link:g||"#"};if(u&&u.length>0){var x=$n(u,s,{isBottomMenu:i,notiBadgeCount:a,isSocialBusinessUser:l});M.children=x;var j=c.createElement("span",{style:{marginRight:"10px",opacity:"0.5"}},x.length),E={display:"flex",width:"100%",justifyContent:"space-between",alignItems:"center",gap:12};if(Kn(r,g||f))M.label=c.createElement("div",{style:E},c.createElement("span",{style:{color:"inherit"}},r),j);else{var S=(0,pe.F_)(g)?c.createElement(H.N_,{to:g,style:{color:"inherit"}},r):c.createElement("a",{href:g||"#",target:"_self",style:{color:"inherit"}},r);M.label=c.createElement("div",{style:E},S,j)}}return e.push(M),e}),[])}var er={"/search":"ui.menueheader.horizontal.all_categories"};function tr(){return(arguments.length>0&&void 0!==arguments[0]?arguments[0]:[]).map((function(e){var t,n=e.key,r=e.title,i=e.description,o=e.relative,a=e.options,u=o||"",l=(null==a?void 0:a.query)&&Object.keys(a.query).length>0?(0,ct.zf)(u,a.query):u,s=(0,Pe.$y)((0,ct.qP)(l)),f=u.split("?")[0].replace(/\/$/,"")||"/",d=(0,ct.Op)(f)||f,p=(0,In.codeFromPath)(d)||(0,In.codeFromPath)(f),h=er[d];return{key:n,icon:i,displayLabel:t="/"===d||"home"===r?c.createElement(me.A,null):p?(0,In.getCategoryName)(p)||r||i||"":h?(0,Pe.t)(h):r||i||"",label:(0,pe.F_)(s)?c.createElement(H.N_,{to:s},t):c.createElement("a",{href:s,target:"_self"},t),link:s||"#"}}))}const nr=function(){var e,t=Wn((0,c.useState)(!1),2),n=t[0],r=t[1],i=Wn((0,c.useState)(!1),2),o=i[0],a=i[1],l=Wn((0,c.useState)(!0),2),s=l[0],f=(l[1],Wn((0,c.useState)(null),2)),h=f[0],m=f[1],y=Wn((0,c.useState)(null),2),g=y[0],w=y[1],v=(0,c.useRef)(null),b=Wn((0,c.useState)([]),2),L=b[0],M=b[1],x=((0,d.jE)(),(0,fe.Qk)()),j=(0,p.b)(),E=j.scrollDirection,S=j.isHeaderVisible,A=j.isTop,k=j.isDetailOverlayOpen;(0,c.useEffect)((function(){var e=!S||"down"===E;document.body.classList.toggle("header-collapsed",e)}),[S,E]);var _=(0,ot.N)("(min-width:800px)",!0),D=(0,ot.N)("(max-width:390px)",!0),C=it(),N=C.sideMenuData,O=C.accountMenuData,T=C.horizontalMenuData,z=C.bottomMenuData,I=C.currentUser,P=C.isAuthentificated,Y=C.userName,U=C.isSocialBusinessUser,B=(0,c.useMemo)((function(){return Xn(N)}),[N]),W=Number((null==I?void 0:I.credit_balance)||0),F=Number((null==I||null===(e=I.last_order)||void 0===e?void 0:e.amount)||0),Q=null!==document.getElementById("toolbar-bar"),R=0!==document.getElementsByClassName("toolbar-tray-horizontal is-active").length;(0,c.useEffect)((function(){var e=!0,t=null,n=Number((null==I?void 0:I.uid)||0);if(!P||n<=0)return m(0),function(){};var r=function(){var n=Bn(Pn().m((function n(){var i,o,a,u;return Pn().w((function(n){for(;;)switch(n.p=n.n){case 0:return n.p=0,n.n=1,(0,rt.gY)();case 1:if(i=n.v,e){n.n=2;break}return n.a(2);case 2:o=i&&"object"===Hn(i)?Number(i.count)||0:Number(i)||0,m(o),a=i&&"object"===Hn(i)&&Number(i.next_poll_seconds)||30,t=setTimeout(r,1e3*a),n.n=4;break;case 3:n.p=3,u=n.v,console.error("Error fetching chat bubble message:",u),e&&(t=setTimeout(r,6e4));case 4:return n.a(2)}}),n,null,[[0,3]])}
2)));return function(){return n.apply(this,arguments)}}();return r(),function(){e=!1,t&&clearTimeout(t)}}),[P,null==I?void 0:I.uid]),(0,c.useEffect)((function(){var e=!0,t=null,n=Number((null==I?void 0:I.uid)||0);if(!P||n<=0)return w(0),function(){};var r=function(){var n=Bn(Pn().m((function n(){var i,o;return Pn().w((function(n){for(;;)switch(n.p=n.n){case 0:return n.p=0,n.n=1,(0,rt.n_)();case 1:if(i=n.v,e){n.n=2;break}return n.a(2);case 2:w(Number(null==i?void 0:i.count)||0),o=Number(null==i?void 0:i.next_poll_seconds)||120,t=setTimeout(r,1e3*o),n.n=4;break;case 3:n.p=3,n.v,e&&(t=setTimeout(r,12e4));case 4:return n.a(2)}}),n,null,[[0,3]])})));return function(){return n.apply(this,arguments)}}();return r(),function(){e=!1,t&&clearTimeout(t)}}),[P,null==I?void 0:I.uid]),(0,c.useEffect)((function(){var e=function(){v.current&&(clearInterval(v.current),v.current=null)},t=function(t){var n,r=Math.max(0,Number(null==t||null===(n=t.detail)||void 0===n?void 0:n.count)||0);e(),w((function(t){var n=Number(t)||0;if(r>=n)return r;var i=Math.max(1,Math.ceil((n-r)/30));return v.current=setInterval((function(){w((function(t){var n=Math.max(r,(Number(t)||0)-i);return n<=r&&e(),n}))}),45),n}))};return window.addEventListener("helpindeal:matches-badge",t),function(){window.removeEventListener("helpindeal:matches-badge",t),e()}}),[]),(0,c.useEffect)((function(){"down"===E&&(r(!1),a(!1))}),[E]);var G=function(){r(!n),o&&a(!1)};(0,c.useEffect)((function(){var e=function(e){var t,n=null==e||null===(t=e.detail)||void 0===t?void 0:t.action;if("open-user-menu"===n)return document.body.classList.add("hid-tour-user-menu-open"),void a(!0);if("close-user-menu"===n)return document.body.classList.remove("hid-tour-user-menu-open"),void a(!1);if("open-portal-faq"===n){document.body.classList.add("hid-tour-side-menu-open"),a(!1),r(!0);var i=Vn(N,"portal");return M(i?[i]:[]),void window.setTimeout((function(){var e=document.querySelector(".hid-side-menu-panel"),t=document.querySelector('[data-tour="portal-faq"]');if(t)try{if(e&&"function"==typeof e.scrollTo){var n=e.getBoundingClientRect(),r=t.getBoundingClientRect(),i=e.scrollTop+(r.top-n.top)-n.height/3;e.scrollTo({top:Math.max(0,i),behavior:"smooth"})}else t.scrollIntoView({block:"center",inline:"nearest"})}catch(e){}}),120)}"close-side-menu"===n&&(document.body.classList.remove("hid-tour-side-menu-open"),r(!1),M([]))};return window.addEventListener("helpindeal:tour-prepare",e),function(){window.removeEventListener("helpindeal:tour-prepare",e),document.body.classList.remove("hid-tour-user-menu-open","hid-tour-side-menu-open")}}),[N]);var Z,J=(0,q.zh)({top:(0,zn.m2)(S,E),config:zn.U9}),V=(0,q.zh)({transform:"translateX(".concat(n?"0%":"100%",")"),config:{tension:500,friction:30}});return c.createElement(u.Ay,{theme:{token:{colorText:"#fff",colorBgElevated:"#4f4f4f"},components:{Button:{colorBgContainer:"#9f1c62",defaultBorderColor:"#9f1c62",defaultColor:"#fff",defaultHoverBorderColor:"#cc3184",defaultHoverColor:"#fff"},Menu:{itemBg:"rgba(0,0,0,0.0)",itemSelectedColor:"#fff",darkItemColor:"#fff",darkItemSelectedBg:"rgba(0,0,0,0.3)",darkItemBg:"rgb(79 79 79 / 100%)",darkSubMenuItemBg:"rgb(255 255 255 / 5%)"},Dropdown:{paddingBlock:45},Radio:{buttonSolidCheckedHoverBg:"#eee"}}}},c.createElement(ve.A,{style:{background:"none",overflow:"hidden",pointerEvents:"none"}},c.createElement(ne,{"data-hid-header":"main",style:J,position:A?"relative":"fixed",isAdmin:Q,isAdminTray:R},c.createElement("div",{style:{width:"100%",backgroundColor:"#9f1c62",height:"80px"}}),c.createElement(Jn,{style:{pointerEvents:"all",marginTop:"-80px",lineHeight:1,paddingInline:0}},c.createElement(be.A,{align:"middle",justify:"space-between",wrap:!1,style:{height:80,maxWidth:1400,margin:"0 auto",padding:"0 12px",alignItems:"center"}},c.createElement(Le.A,{flex:"auto",style:{display:"flex",alignItems:"center",minWidth:0,lineHeight:0,height:80}},c.createElement(H.N_,{to:"/",style:{display:"inline-flex",alignItems:"center",lineHeight:0,flexShrink:0,height:52}},c.createElement("img",{src:xe.A,alt:(0,Pe.t)("ui.menueheader.logo_alt"),style:{display:"block",height:52,width:"auto",maxWidth:"100%",objectFit:"contain",objectPosition:"left center",marginTop:-7}}))),c.createElement(Le.A,{flex:"0 0 auto",style:{display:"flex",alignItems:"center",height:80}},c.createElement(be.A,{align:"middle",justify:"end",wrap:!1,gutter:0,style:{display:"flex",flexWrap:"nowrap",alignItems:"center",height:52,lineHeight:1,gap:12}},!P&&c.createElement(c.Fragment,null,c.createElement(Le.A,{style:{display:"flex",alignItems:"center"}},c.createElement(K.Ay,{onClick:function(){return x((0,at.hL)())},className:"menuButtonDesktop",shape:"round",type:"primary",icon:c.createElement(ye.A,{style:{color:"#fff",fontSize:24}}),style:{height:52,margin:"0 0 0 12px",padding:"0 14px",display:"inline-flex",alignItems:"center",fontSize:"1em",lineHeight:1}},(0,Pe.t)("ui.menueheader.become_member"))),c.createElement(Le.A,{style:{display:"flex",alignItems:"center"}},c.createElement(K.Ay,{onClick:function(){return window.open((0,at.Zi)(),"_self")},className:"menuButtonDesktop buttonNavEinloggen",shape:"round",type:"primary",icon:c.createElement(ge.A,{style:{color:"#fff",fontSize:24}}),style:{height:52,margin:"0 0 0 12px",padding:"0 14px",display:"inline-flex",alignItems:"center",fontSize:"1em",lineHeight:1}},(0,Pe.t)("ui.menueheader.login"))),c.createElement(Le.A,{style:{display:"flex",alignItems:"center"}},c.createElement(K.Ay,{onClick:function(){return x("/search")},className:"menuButtonDesktop",shape:"round",type:"primary",icon:c.createElement(we.A,{style:{color:"#fff",fontSize:24}}),style:{height:52,margin:"0 0 0 12px",padding:"0 14px",display:"inline-flex",alignItems:"center",fontSize:"1em",lineHeight:1}},(0,Pe.t)("ui.menueheader.search")))),P&&c.createElement(Le.A,{style:{display:"flex",alignItems:"center"}},c.createElement(tt,{accountMenuData:(Z=$n(O,I,{notiBadgeCount:h}),Z.flatMap((function(e){var t=(0,ct.Op)(e.link||"");if("/meine-bestellungen"===t)return[e,{type:"divider",key:"account-menu-divider"}];if("/account"===t)return[e,{type:"divider",key:"account-settings-divider"}];if("/deal-anlegen"===t){var n,r="string"==typeof(null===(n=e.label)||void 0===n||null===(n=n.props)||void 0===n?void 0:n.children)?e.label.props.children:(0,Pe.t)("ui.menueheader.create_deal");return[Qn(Qn({},e),{},{className:"user-menu-cta",icon:null,label:c.createElement(H.N_,{to:e.link,style:{display:"block"}},c.createElement(K.Ay,{block:!0,type:"primary",size:"small",icon:c.createElement(he.A,null)},r))})]}return[e]}))),userMenuOpen:o,onUserMenuOpenChange:function(e){a(e),e&&n&&r(!1)},isAuthentificated:P,currentUser:I,isDesktopResolution:_,userName:Y,balance:W,lastOrderAmount:F,notiBadgeCount:h,isDetailOverlayOpen:k})),c.createElement(Le.A,{style:{display:"flex",alignItems:"center",gap:12,flexShrink:0,lineHeight:1}},!_&&!P&&c.createElement(K.Ay,{className:"menuButton",onClick:function(){return x((0,at.uT)("/registrieren#regmask",{type:"register"}))},type:"primary",shape:"circle",size:"large",icon:c.createElement(ye.A,{style:{color:"#fff",fontSize:24}}),style:{width:44,height:44,minWidth:44,padding:0,margin:0,lineHeight:1,alignItems:"center",justifyContent:"center"}}),_?c.createElement(K.Ay,{className:P?"menuButtonDesktop":"menuButtonDesktop menuButtonDesktopBurger",onClick:G,type:"primary",shape:P?"round":"circle",icon:c.createElement(Ie,{isOpen:n,onClick:G}),style:P?{height:52,margin:0,padding:"0 14px",alignItems:"center",fontSize:"1em",flexShrink:0,lineHeight:1,minWidth:96,transition:"none"}:{width:52,height:52,minWidth:52,margin:0,padding:0,alignItems:"center",justifyContent:"center",flexShrink:0,lineHeight:1,borderRadius:"50%"}},P?"Menu":null):c.createElement(K.Ay,{className:"menuButton",onClick:G,type:"primary",shape:"circle",size:"large",icon:c.createElement(Ie,{isOpen:n,onClick:G}),style:{width:44,height:44,minWidth:44,padding:0,margin:0,lineHeight:1,alignItems:"center",justifyContent:"center"}})))))),c.createElement(sn,{collapsed:n,openSearch:s,horizontalMenuData:tr(T),isAdmin:Q,isAdminTray:R})),c.createElement(q.CS.div,{className:"hid-side-menu-panel",style:Qn({position:"fixed",top:"80px",right:0,zIndex:10},V)},c.createElement(Me.A,{theme:"dark",style:{width:262,pointerEvents:"all",borderRadius:"8px",position:"static"},defaultSelectedKeys:["1"],openKeys:L,onOpenChange:function(e){var t=e.find((function(e){return-1===L.indexOf(e)}));M(t?[t]:0===e.length?[]:[e[e.length-1]])},onClick:function(e){var t=e.key;B.has(String(t))||(r(!1),M([]))},mode:"inline",items:$n(N,I,{notiBadgeCount:h,isSocialBusinessUser:U})}))),!(_&&!P)&&(0,de.createPortal)(c.createElement("div",{className:"hid-menueheader-bottom-nav".concat("down"===E?" is-hidden":"")},c.createElement(Vt,{bottomMenuData:$n(z,I,{isBottomMenu:!0,notiBadgeCount:h,isSocialBusinessUser:U}),isSmallestMobile:D,isDesktopResolution:_,notiBadgeCount:h,matchesBadgeCount:g})),document.body))};var rr,ir=n(29029);
2var or=G.Ay.div(rr||(rr=function(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}(["\n position: relative;\n min-height: 80vh;\n display: flex;\n align-items: center;\n justify-content: center;\n background-color: rgba(255, 255, 255, 0.8);\n"])));const ar=function(){return c.createElement(or,null,c.createElement(ir.A,{size:"large"}))};var ur=n(88683);function lr(){var e,t,n="function"==typeof Symbol?Symbol:{},r=n.iterator||"@@iterator",i=n.toStringTag||"@@toStringTag";function o(n,r,i,o){var l=r&&r.prototype instanceof u?r:u,c=Object.create(l.prototype);return cr(c,"_invoke",function(n,r,i){var o,u,l,c=0,s=i||[],f=!1,d={p:0,n:0,v:e,a:p,f:p.bind(e,4),d:function(t,n){return o=t,u=0,l=e,d.n=n,a}};function p(n,r){for(u=n,l=r,t=0;!f&&c&&!i&&t<s.length;t++){var i,o=s[t],p=d.p,h=o[2];n>3?(i=h===r)&&(l=o[(u=o[4])?5:(u=3,3)],o[4]=o[5]=e):o[0]<=p&&((i=n<2&&p<o[1])?(u=0,d.v=r,d.n=o[1]):p<h&&(i=n<3||o[0]>r||r>h)&&(o[4]=n,o[5]=r,d.n=h,u=0))}if(i||n>1)return a;throw f=!0,r}return function(i,s,h){if(c>1)throw TypeError("Generator is already running");for(f&&1===s&&p(s,h),u=s,l=h;(t=u<2?e:l)||!f;){o||(u?u<3?(u>1&&(d.n=-1),p(u,l)):d.n=l:d.v=l);try{if(c=2,o){if(u||(i="next"),t=o[i]){if(!(t=t.call(o,l)))throw TypeError("iterator result is not an object");if(!t.done)return t;l=t.value,u<2&&(u=0)}else 1===u&&(t=o.return)&&t.call(o),u<2&&(l=TypeError("The iterator does not provide a '"+i+"' method"),u=1);o=e}else if((t=(f=d.n<0)?l:n.call(r,d))!==a)break}catch(t){o=e,u=1,l=t}finally{c=1}}return{value:t,done:f}}}(n,i,o),!0),c}var a={};function u(){}function l(){}function c(){}t=Object.getPrototypeOf;var s=[][r]?t(t([][r]())):(cr(t={},r,(function(){return this})),t),f=c.prototype=u.prototype=Object.create(s);function d(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,c):(e.__proto__=c,cr(e,i,"GeneratorFunction")),e.prototype=Object.create(f),e}return l.prototype=c,cr(f,"constructor",c),cr(c,"constructor",l),l.displayName="GeneratorFunction",cr(c,i,"GeneratorFunction"),cr(f),cr(f,i,"Generator"),cr(f,r,(function(){return this})),cr(f,"toString",(function(){return"[object Generator]"})),(lr=function(){return{w:o,m:d}})()}function cr(e,t,n,r){var i=Object.defineProperty;try{i({},"",{})}catch(e){i=0}cr=function(e,t,n,r){function o(t,n){cr(e,t,(function(e){return this._invoke(t,n,e)}))}t?i?i(e,t,{value:n,enumerable:!r,configurable:!r,writable:!r}):e[t]=n:(o("next",0),o("throw",1),o("return",2))},cr(e,t,n,r)}function sr(e,t,n,r,i,o,a){try{var u=e[o](a),l=u.value}catch(e){return void n(e)}u.done?t(l):Promise.resolve(l).then(r,i)}var fr;function dr(){var e,t=(0,R.zy)(),n=(0,c.useRef)("undefined"!=typeof window&&(null===(e=window.drupalSettings)||void 0===e||null===(e=e.helpindeal)||void 0===e||null===(e=e.build)||void 0===e?void 0:e.id)||""),r=(0,c.useRef)(0),i=(0,c.useRef)(!1),o=(0,c.useRef)(!1),a=(0,c.useRef)(t.pathname),u=(0,c.useRef)(t.pathname);u.current=t.pathname;var l=function(e,t){var r=n.current;r&&e&&e!==r&&(i.current=!0,(0,ur.vh)(u.current)?o.current||(o.current=!0,m.Ay.info({key:"hid-app-update",duration:0,content:c.createElement("span",null,(0,Pe.t)("ui.app_update.available")," ",c.createElement(K.Ay,{type:"link",size:"small",onClick:function(){return window.location.reload()}},(0,Pe.t)("ui.app_update.reload")))})):t&&window.location.reload())},s=function(){var e,t=(e=lr().m((function e(t){var o,a,c,s;return lr().w((function(e){for(;;)switch(e.p=e.n){case 0:if(n.current){e.n=1;break}return e.a(2);case 1:if(o=Date.now(),a=t?15e3:3e5,!(o-r.current<a)){e.n=2;break}return t&&i.current&&!(0,ur.vh)(u.current)&&window.location.reload(),e.a(2);case 2:return r.current=o,e.p=3,e.n=4,fetch("".concat(window.location.origin,"/api/frontend-version"),{cache:"no-store",credentials:"same-origin"});case 4:if((c=e.v).ok){e.n=5;break}return r.current=0,e.a(2);case 5:return e.n=6,c.json();case 6:s=e.v,l(null==s?void 0:s.id,t),e.n=8;break;case 7:e.p=7,e.v,r.current=0;case 8:return e.a(2)}}),e,null,[[3,7]])})),function(){var t=this,n=arguments;return new Promise((function(r,i){var o=e.apply(t,n);
2function a(e){sr(o,r,i,a,u,"next",e)}function u(e){sr(o,r,i,a,u,"throw",e)}a(void 0)}))});return function(e){return t.apply(this,arguments)}}();(0,c.useEffect)((function(){var e=function(){"hidden"!==document.visibilityState&&s(!0)};return document.addEventListener("visibilitychange",e),window.addEventListener("focus",e),window.addEventListener("pageshow",e),function(){document.removeEventListener("visibilitychange",e),window.removeEventListener("focus",e),window.removeEventListener("pageshow",e)}}),[]),(0,c.useEffect)((function(){var e=a.current;a.current=t.pathname,e===t.pathname||!i.current||(0,ur.vh)(t.pathname)?s(!1):window.location.reload()}),[t.pathname])}var pr=(0,c.lazy)((function(){return n.e(5368).then(n.bind(n,65368))})),hr=G.Ay.main(fr||(fr=function(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}(["\n margin-top: 80px;\n"])));const mr=function(){dr();var e=(0,R.zy)(),t=(0,p.b)().isDetailOverlayOpen,n=!(0,pe.OR)(e.pathname),r=t;return c.createElement(c.Fragment,null,c.createElement(ee,{"data-hid-header-shell":"main",$elevated:r},c.createElement(nr,{style:"pointer-events: none"})),c.createElement(hr,null,c.createElement(c.Suspense,{fallback:c.createElement(ar,null)},c.createElement(R.sv,null))),n?c.createElement(c.Suspense,{fallback:c.createElement("div",{style:{height:120}})},c.createElement(pr,null)):null)};var yr=n(76883),gr=n(62977),wr=n(86336),vr=n(97072),br=n(22395),Lr=n(49237),Mr=n(35e3),xr=n(47686);function jr(e){return function(e){if(Array.isArray(e))return Er(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(e){if("string"==typeof e)return Er(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Er(e,t):void 0}}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Er(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}var Sr=[{key:"profile",labelKey:"ui.menueheader.menu.my_profile",skeletonWidth:92},{key:"deals",labelKey:"ui.menueheader.menu.my_deals",skeletonWidth:108},{key:"matches",labelKey:"ui.menueheader.menu.my_matches",skeletonWidth:118},{key:"credits",labelKey:"ui.menueheader.menu.my_credits",skeletonWidth:118},{key:"orders",labelKey:"ui.menueheader.menu.my_orders",skeletonWidth:148}],Ar={profile:"/mein-profil",deals:"/meine-deals",matches:"/meine-matches",credits:"/meine-credits",orders:"/meine-bestellungen",chat:"/chat",account:"/account",favorites:"/favoriten"},kr="#9f1c62";function _r(e){var t=e.label,n=e.icon,r=e.active,i=e.onClick;return c.createElement(gr.A,{title:t},c.createElement(xr.dV,{type:"button","aria-label":t,"data-active":r,onClick:i},n))}function Dr(){return c.createElement(xr.RN,null,c.createElement(wr.A,{gap:24,align:"center",wrap:!0},Sr.map((function(e){return c.createElement(vr.A.Button,{key:e.key,active:!0,size:"small",style:{width:e.skeletonWidth,minWidth:0}})}))),c.createElement(wr.A,{gap:8,align:"center"},[0,1,2].map((function(e){return c.createElement(vr.A.Avatar,{key:e,active:!0,size:32,shape:"circle"})})),c.createElement(vr.A.Button,{active:!0,size:"default",style:{width:150}})))}const Cr=function(e){var t=e.activeItem,n=e.skeleton,r=void 0!==n&&n,i=e.chatBadgeCount,o=void 0===i?0:i,a=(0,fe.Qk)(),u=(0,ot.N)("(max-width: 860px)",!1),l=(0,c.useRef)(null),s=(0,Pe.t)("ui.menueheader.menu.messages"),f=(0,Pe.t)("ui.menueheader.menu.account"),d=(0,Pe.t)("ui.menueheader.menu.favorites"),p=(0,Pe.t)("ui.account.nav.create"),h=(0,Pe.t)("ui.account.nav.create_short"),m=function(e){var t=Ar[e];t&&a(t)},y=Sr.map((function(e){var t=e.key,n=e.labelKey;return{key:t,label:c.createElement("span",{"data-tour":"account-tab-".concat(t)},(0,Pe.t)(n))}})),g=[{key:"chat",label:c.createElement("span",{"data-tour":"account-tab-chat",style:{display:"inline-flex",alignItems:"center",gap:5}},s,o>0&&c.createElement(X.A,{count:o,size:"small",color:kr}))},{key:"account",label:c.createElement("span",{"data-tour":"account-tab-account"},f)},{key:"favorites",label:c.createElement("span",{"data-tour":"account-tab-favorites"},d)}],w=u?[].concat(jr(y),g):y,v=w.some((function(e){return e.key===t}));if((0,c.useLayoutEffect)((function(){var e=requestAnimationFrame((function(){(0,Mr.V)(l.current)}));return function(){return cancelAnimationFrame(e)}}),[t,o,u]),r)return c.createElement(xr.L$,null,c.createElement(Dr,null));var b=c.createElement("span",{"data-tour":"account-nav-create"},c.createElement(K.Ay,{type:"primary",icon:c.createElement(Lr.A,null),"aria-label":p,onClick:function(){return a("/deal-anlegen")}},u?h:p)),L=u?c.createElement(wr.A,{align:"center",className:"account-nav-actions"},b):c.createElement(wr.A,{align:"center",className:"account-nav-actions account-nav-icon-actions"},c.createElement(X.A,{count:o,size:"small",color:kr,offset:[-4,4]},c.createElement(_r,{label:s,icon:Tn(s),active:"chat"===t,onClick:function(){return a("/chat")}})),c.createElement("span",{"data-tour":"account-tab-account"},c.createElement(_r,{label:f,icon:Tn(f),active:"account"===t,onClick:function(){return a("/account")}})),c.createElement("span",{"data-tour":"account-tab-favorites"},c.createElement(_r,{label:d,icon:Tn(d),active:"favorites"===t,onClick:function(){return a("/favoriten")}})),b);return c.createElement(xr.L$,null,c.createElement("div",{ref:l,"data-tour":"account-nav-tabs"},u?c.createElement(xr._x,{as:"nav",className:"account-nav-scroll","aria-label":(0,Pe.t)("ui.account.nav.aria_sections")},w.map((function(e){var n=e.key===t;return c.createElement(xr.mz,{key:e.key,to:(0,fe.lF)(Ar[e.key]),"aria-current":n?"page":void 0,$active:n},e.label)}))):c.createElement(br.A,{className:"account-nav-tabs".concat(v?"":" account-nav-tabs-none-active"),activeKey:t,items:w,onChange:m,onTabClick:m})),L)};function Nr(e){return Nr="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Nr(e)}function Or(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,i,o,a,u=[],l=!0,c=!1;try{if(o=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;
2!(l=(r=o.call(n)).done)&&(u.push(r.value),u.length!==t);l=!0);}catch(e){c=!0,i=e}finally{try{if(!l&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(c)throw i}}return u}}(e,t)||function(e,t){if(e){if("string"==typeof e)return Tr(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Tr(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Tr(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}var zr=[["/mein-profil","profile"],["/verifizierung","profile"],["/meine-deals","deals"],["/meine-matches","matches"],["/meine-credits","credits"],["/meine-bestellungen","orders"],["/account","account"],["/chat","chat"],["/deal-anlegen","create"],["/favoriten","favorites"]];var Ir={profile:"profile",deals:"deals",matches:"matches",credits:"credits",orders:"orders",account:"account",chat:"messages",favorites:"favorites"};const Pr=function(){var e=(0,R.zy)().pathname,t=(0,c.useRef)(new Set),n=(0,Et.J)(),r=n.currentUser,i=n.isLoading,o=n.isFetching,a=!Array.isArray(r)&&r&&Number((null==r?void 0:r.uid)||0)>0,u=!i&&(!o||a)&&!Array.isArray(r)&&"object"===Nr(r)&&null!==r,l=(0,nt.I)({queryKey:["chat-badge"],queryFn:rt.gY,enabled:Boolean(a),staleTime:3e4,refetchInterval:function(e){var t=Number(null==e?void 0:e.next_poll_seconds);return!t||Number.isNaN(t)?45e3:1e3*Math.min(Math.max(t,15),120)},refetchOnWindowFocus:!1,retry:function(e,t){var n;return 429!==(null==t||null===(n=t.response)||void 0===n?void 0:n.status)&&e<2}}).data,s=Number(null==l?void 0:l.count)||0,f=function(e){var t=(0,ct.Op)(e),n=zr.find((function(e){var n=Or(e,1)[0];return t===n||t.startsWith("".concat(n,"/"))}));return n?n[1]:void 0}(e);return(0,c.useEffect)((function(){if(a&&f){var e=Ir[f];e&&!t.current.has(e)&&(t.current.add(e),(0,rt.XB)(e).catch((function(){})))}}),[f,a]),c.createElement(c.Fragment,null,u?a?c.createElement(yr.ff,null,c.createElement(Cr,{activeItem:f,chatBadgeCount:s})):null:c.createElement(yr.ff,null,c.createElement(Cr,{skeleton:!0})),c.createElement(R.sv,null))};var Yr=n(45528),Ur=n(35033),Br=n(36962),Wr=n(50740);function Fr(){var e=(0,R.zy)(),t=e.pathname,n=e.hash,r=e.state,i=(0,R.wQ)(),o=(0,c.useRef)({pathname:t,hash:n,hasOverlay:Boolean(null==r?void 0:r.backgroundLocation)});return(0,c.useEffect)((function(){var e=o.current;o.current={pathname:t,hash:n,hasOverlay:Boolean(null==r?void 0:r.backgroundLocation)};var a=function(){var e;if(!n)return!1;var t=(0,Br.T)(n);if(!t)return!1;(0,Wr.k)(t);var r=null===(e=window.drupalSettings)||void 0===e||null===(e=e.helpindeal)||void 0===e||null===(e=e.i18n)||void 0===e?void 0:e.lang,i=(0,ct.Fl)(n,r);if(i&&window.location.hash!=="#".concat(i)){var o="".concat(window.location.pathname).concat(window.location.search,"#").concat(i);window.history.replaceState(window.history.state,"",o)}return!0};if((null==r||!r.backgroundLocation)&&(e.pathname!==t||!e.hash||n)){if(n){for(var u=[0,100,250,500,800,1200,2e3,3500,5e3],l=[],c=!1,s=null,f=function(){c||(c=!0,l.forEach((function(e){return clearTimeout(e)})),s&&s.disconnect())},d=0;d<u.length;d++){var p=setTimeout((function(){!c&&a()&&f()}),u[d]);l.push(p)}return"undefined"!=typeof MutationObserver&&document.body&&(s=new MutationObserver((function(){!c&&a()&&f()}))).observe(document.body,{childList:!0,subtree:!0}),function(){return f()}}e.hasOverlay&&(0,Ur.Es)(t)||"POP"===i&&(0,Ur.Es)(t)||e.pathname!==t&&("undefined"!=typeof window&&"function"==typeof window.scrollTo&&window.scrollTo({top:0,left:0,behavior:"instant"}),document&&document.documentElement&&(document.documentElement.scrollTop=0),document&&document.body&&(document.body.scrollTop=0))}}),[t,n,r,i]),null}var Qr=n(58672);function Rr(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,i,o,a,u=[],l=!0,c=!1;try{if(o=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;
2!(l=(r=o.call(n)).done)&&(u.push(r.value),u.length!==t);l=!0);}catch(e){c=!0,i=e}finally{try{if(!l&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(c)throw i}}return u}}(e,t)||Gr(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Hr(e){return function(e){if(Array.isArray(e))return qr(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||Gr(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Gr(e,t){if(e){if("string"==typeof e)return qr(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?qr(e,t):void 0}}function qr(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}var Zr=(0,c.lazy)((function(){return Promise.all([n.e(4714),n.e(6801),n.e(1271),n.e(1764),n.e(5714),n.e(2413),n.e(6832)]).then(n.bind(n,36832))})),Jr=(0,c.lazy)((function(){return Promise.all([n.e(4714),n.e(6801),n.e(1271),n.e(2413),n.e(7201)]).then(n.bind(n,67201))}));function Kr(e){var t=e.element;return c.createElement(c.Suspense,{fallback:c.createElement(ar,null)},t)}function Vr(){var e,t=new Set(["/user"]),n=function(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=Gr(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,i=function(){};return{s:i,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,a=!0,u=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return a=e.done,e},e:function(e){u=!0,o=e},f:function(){try{a||null==n.return||n.return()}finally{if(u)throw o}}}}(ct.VO);try{for(n.s();!(e=n.n()).done;){var r=e.value;t.add((0,ct.HF)("/user",r))}}catch(e){n.e(e)}finally{n.f()}return Hr(t)}var Xr=n(96355),$r=n(4956),ei=n(26436),ti=(0,q.CS)(ei.Bb),ni=(0,q.CS)(ei.ax),ri={tension:250,friction:30};function ii(e){var t=e.children,n=(0,fe.Qk)(),r=(0,R.zy)(),i=(0,c.useRef)(r);i.current=r;var o,a,u=(0,c.useRef)(null),l=(0,p.b)(),s=l.scrollDirection,f=l.isHeaderVisible,d=l.registerScrollContainer,h=l.unregisterScrollContainer,m=l.registerDetailOverlayOpen,y=!f||"down"===s,g=(0,q.zh)({headerOffset:y?0:ei.Lq,backdropOpacity:y?0:1,config:ri}),w=(0,c.useCallback)((function(){var e=i.current,t=(0,Ur.pi)(null,(0,Ur.NQ)(e));"back"!==t.kind?n(t.to,{state:{overlayClosedFrom:e.pathname}}):n(-1)}),[n]);return(0,c.useEffect)((function(){var e=document.body.style.overflow;return document.body.style.overflow="hidden",document.body.classList.add("detail-overlay-open"),function(){document.body.style.overflow=e,document.body.classList.remove("detail-overlay-open")}}),[]),(0,c.useLayoutEffect)((function(){return m()}),[m]),(0,c.useLayoutEffect)((function(){var e=u.current;if(e)return d(e),function(){return h()}}),[d,h]),c.createElement($r.o,{isOverlay:!0,onClose:w},c.createElement(ni,{$top:(o=null!==document.getElementById("toolbar-bar"),a=0!==document.getElementsByClassName("toolbar-tray-horizontal is-active").length,o&&a?160:o?120:80),"aria-hidden":"true",style:{opacity:g.backdropOpacity}}),c.createElement(ei.tF,{role:"dialog","aria-modal":"true"},c.createElement(ti,{style:{top:g.headerOffset}},c.createElement(K.Ay,{type:"text",icon:c.createElement(Xr.A,{size:20}),onClick:w,"aria-label":(0,Pe.t)("ui.common.back")},(0,Pe.t)("ui.common.back"))),c.createElement(ei.h3,{ref:u},c.createElement(ei.AD,{"aria-hidden":"true"}),t)))}function oi(e){var t=e.location;return c.createElement(ii,null,c.createElement(c.Suspense,{fallback:c.createElement(ar,null)},c.createElement(R.BV,{location:t},c.createElement(c.Fragment,null,Object.entries(pe.c_).map((function(e){var t=Rr(e,2),n=t[0],r=t[1];return c.createElement(R.qh,{key:n,path:"".concat(n,"/:location/:slug/:suffix?"),element:c.createElement(Kr,{element:c.createElement(Zr,{dealCategory:r})})})})),Vr().map((function(e){return c.createElement(R.qh,{key:e,path:"".concat(e,"/:username"),element:c.createElement(Kr,{element:c.createElement(Jr,null)})})}))))))}var ai=n(18109),ui=n(71);function li(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,i,o,a,u=[],l=!0,c=!1;try{if(o=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;
2!(l=(r=o.call(n)).done)&&(u.push(r.value),u.length!==t);l=!0);}catch(e){c=!0,i=e}finally{try{if(!l&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(c)throw i}}return u}}(e,t)||si(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function ci(e){return function(e){if(Array.isArray(e))return fi(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||si(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function si(e,t){if(e){if("string"==typeof e)return fi(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?fi(e,t):void 0}}function fi(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}var di=(0,Pe.Zx)(R.zy,R.Zp,c.useEffect),pi=(0,ai.jr)(R.zy,c.useEffect);function hi(e){var t,n=new Set([e]),r=function(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=si(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,i=function(){};return{s:i,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,a=!0,u=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return a=e.done,e},e:function(e){u=!0,o=e},f:function(){try{a||null==n.return||n.return()}finally{if(u)throw o}}}}(ct.VO);try{for(r.s();!(t=r.n()).done;){var i=t.value;n.add((0,ct.HF)(e,i))}}catch(e){r.e(e)}finally{r.f()}return ci(n)}function mi(e,t){return hi(e).map((function(e){return c.createElement(R.qh,{key:e,path:e,element:t})}))}function yi(){var e=(0,R.zy)(),t=(0,c.useRef)(!0);return(0,c.useEffect)((function(){t.current?t.current=!1:(0,ui.Lg)()}),[e.pathname]),null}function gi(){var e=(0,R.Zp)();return(0,c.useEffect)((function(){return window.__spaNavigate=function(t){var n="string"==typeof t?(0,ct.qP)(t):t;return"string"==typeof n&&(n=(0,Pe.$y)(n)),!!(0,pe.F_)("string"==typeof n?n.split("?")[0]:n)&&(e(n),!0)},function(){delete window.__spaNavigate}}),[e]),null}var wi=(0,c.lazy)((function(){return Promise.all([n.e(3180),n.e(4714),n.e(6801),n.e(1271),n.e(3170),n.e(8738)]).then(n.bind(n,22433))})),vi=(0,c.lazy)((function(){return Promise.all([n.e(3180),n.e(4714),n.e(6801),n.e(1271),n.e(1764),n.e(5714),n.e(5095),n.e(7096),n.e(3170),n.e(1061),n.e(4986)]).then(n.bind(n,94986))})),bi=(0,c.lazy)((function(){return Promise.all([n.e(3180),n.e(4714),n.e(6801),n.e(1271),n.e(1764),n.e(5714),n.e(5095),n.e(7096),n.e(3170),n.e(1061),n.e(7888)]).then(n.bind(n,57888))})),Li=(0,c.lazy)((function(){return Promise.all([n.e(3180),n.e(4714),n.e(6801),n.e(1271),n.e(1764),n.e(5714),n.e(5095),n.e(7096),n.e(3170),n.e(1061),n.e(424)]).then(n.bind(n,424))})),Mi=(0,c.lazy)((function(){return Promise.all([n.e(3180),n.e(4714),n.e(6801),n.e(1271),n.e(1764),n.e(5714),n.e(5095),n.e(7096),n.e(3170),n.e(1061),n.e(9728)]).then(n.bind(n,19728))})),xi=(0,c.lazy)((function(){return Promise.all([n.e(3180),n.e(4714),n.e(6801),n.e(1271),n.e(1764),n.e(5714),n.e(5095),n.e(7096),n.e(3170),n.e(1061),n.e(9326)]).then(n.bind(n,9326))})),ji=(0,c.lazy)((function(){return Promise.all([n.e(3180),n.e(4714),n.e(6801),n.e(1271),n.e(1764),n.e(5714),n.e(5095),n.e(7096),n.e(3170),n.e(1061),n.e(6452)]).then(n.bind(n,6452))})),Ei=(0,c.lazy)((function(){return Promise.all([n.e(4714),n.e(6801),n.e(1271),n.e(1764),n.e(5714),n.e(5095),n.e(7096),n.e(9636)]).then(n.bind(n,89636))})),Si=(0,c.lazy)((function(){return n.e(7821).then(n.bind(n,97821))})),Ai=(0,c.lazy)((function(){return Promise.all([n.e(3180),n.e(4714),n.e(6801),n.e(9142),n.e(9792)]).then(n.bind(n,49792))})),ki=(0,c.lazy)((function(){return Promise.all([n.e(3180),n.e(4714),n.e(6801),n.e(9142),n.e(8978)]).then(n.bind(n,98978))})),_i=(0,c.lazy)((function(){return Promise.all([n.e(4714),n.e(6801),n.e(4767)]).then(n.bind(n,44767))})),Di=(0,c.lazy)((function(){return Promise.all([n.e(3180),n.e(4714),n.e(6801),n.e(3744),n.e(8948)]).then(n.bind(n,18948))})),Ci=(0,c.lazy)((function(){return Promise.all([n.e(4714),n.e(6801),n.e(4885)]).then(n.bind(n,64885))})),Ni=(0,c.lazy)((function(){return Promise.all([n.e(4714),n.e(6801),n.e(3744),n.e(8345)]).then(n.bind(n,48345))})),Oi=(0,c.lazy)((function(){return Promise.all([n.e(4714),n.e(6801),n.e(1187)]).then(n.bind(n,11187))})),Ti=(0,c.lazy)((function(){return Promise.all([n.e(4714),n.e(7397)]).then(n.bind(n,97397))})),zi=(0,c.lazy)((function(){return Promise.all([n.e(4714),n.e(6801),n.e(9e3)]).then(n.bind(n,49e3))})),Ii=(0,c.lazy)((function(){return Promise.all([n.e(4714),n.e(6801),n.e(1271),n.e(1764),n.e(5714),n.e(2413),n.e(6832)]).then(n.bind(n,36832))})),Pi=(0,c.lazy)((function(){return Promise.all([n.e(4714),n.e(6801),n.e(2393),n.e(4685)]).then(n.bind(n,94685))})),Yi=(0,c.lazy)((function(){return Promise.all([n.e(4714),n.e(6801),n.e(2393),n.e(4606)]).then(n.bind(n,34606))})),Ui=(0,c.lazy)((function(){return Promise.all([n.e(3180),n.e(4714),n.e(6801),n.e(2393),n.e(4685),n.e(1704)]).then(n.bind(n,51704))})),Bi=(0,c.lazy)((function(){return Promise.all([n.e(4714),n.e(6801),n.e(4030)]).then(n.bind(n,4030))})),Wi=(0,c.lazy)((function(){return Promise.all([n.e(4714),n.e(1702)]).then(n.bind(n,61702))})),Fi=(0,c.lazy)((function(){return Promise.all([n.e(4714),n.e(6801),n.e(1271),n.e(2413),n.e(7201)]).then(n.bind(n,67201))})),Qi=(0,c.lazy)((function(){return Promise.all([n.e(3180),n.e(4714),n.e(6801),n.e(7523)]).then(n.bind(n,47523))})),Ri=(0,c.lazy)((function(){return Promise.all([n.e(4714),n.e(6801),n.e(2193)]).then(n.bind(n,72193))})),Hi=(0,c.lazy)((function(){return Promise.all([n.e(4714),n.e(6801),n.e(8026)]).then(n.bind(n,68026))}
2)),Gi=(0,c.lazy)((function(){return Promise.all([n.e(4714),n.e(9394)]).then(n.bind(n,89394))})),qi=(0,c.lazy)((function(){return Promise.all([n.e(4714),n.e(6801),n.e(273)]).then(n.bind(n,40273))})),Zi=function(){return c.createElement("div",null,(0,Pe.t)("ui.common.not_found"))};var Ji={ugh:c.createElement(bi,null),wgh:c.createElement(Li,null),hgh:c.createElement(Mi,null),ht:c.createElement(xi,null),sb:c.createElement(ji,null)};function Ki(){return c.createElement(R.qh,{path:"/",element:c.createElement(mr,null)},c.createElement(R.qh,{index:!0,element:c.createElement(wi,null)}),mi("/search",c.createElement(vi,null)),(e=new Set,Object.entries(pe.c_).flatMap((function(t){var n=li(t,2),r=n[0],i=n[1];return e.has(r)||!Ji[i]?[]:(e.add(r),c.createElement(R.qh,{key:"landing-".concat(r),path:r,element:Ji[i]}))}))),Object.entries(pe.c_).map((function(e){var t=li(e,2),n=t[0],r=t[1];return c.createElement(R.qh,{key:n,path:"".concat(n,"/:location/:slug/:suffix?"),element:c.createElement(Ii,{dealCategory:r})})})),mi("/community",c.createElement(Ei,null)),mi("/faqs",c.createElement(Si,null)),mi("/pricing-info",c.createElement(Ai,null)),c.createElement(R.qh,{element:c.createElement(Pr,null)},mi("/meine-credits",c.createElement(ki,null)),mi("/meine-bestellungen",c.createElement(_i,null)),hi("/meine-deals").flatMap((function(e){return[c.createElement(R.qh,{key:e,path:e,element:c.createElement(Di,null)}),c.createElement(R.qh,{key:"".concat(e,"-uid"),path:"".concat(e,"/:uid"),element:c.createElement(Di,null)})]})),mi("/meine-matches",c.createElement(Ci,null)),hi("/favoriten").flatMap((function(e){return[c.createElement(R.qh,{key:e,path:e,element:c.createElement(Ni,null)}),c.createElement(R.qh,{key:"".concat(e,"-uid"),path:"".concat(e,"/:uid"),element:c.createElement(Ni,null)})]})),mi("/deal-anlegen",c.createElement(Pi,null)),mi("/mein-profil",c.createElement(Qi,null)),mi("/verifizierung",c.createElement(Ri,null)),mi("/account",c.createElement(Hi,null)),mi("/chat",c.createElement(qi,null))),mi("/checkout",c.createElement(Oi,null)),mi("/unauthorized",c.createElement(Ti,null)),mi("/downloads",c.createElement(zi,null)),hi("/deal-bearbeiten").map((function(e){return c.createElement(R.qh,{key:e,path:"".concat(e,"/:nid"),element:c.createElement(Yi,null)})})),mi("/registrieren",c.createElement(Ui,null)),mi("/registrieren2",c.createElement(Ui,null)),mi("/registrieren3",c.createElement(Ui,null)),mi("/email-bestatigung",c.createElement(Bi,null)),mi("/registrierungsstatus",c.createElement(Wi,null)),mi("/konto-geloescht",c.createElement(Gi,null)),hi("/user").map((function(e){return c.createElement(R.qh,{key:e,path:"".concat(e,"/:username"),element:c.createElement(Fi,null)})})),c.createElement(R.qh,{path:"*",element:c.createElement(Zi,null)}));var e}function Vi(){var e,t=(0,R.zy)(),n=null===(e=t.state)||void 0===e?void 0:e.backgroundLocation;return c.createElement(c.Fragment,null,c.createElement(Fr,null),c.createElement(Qr.A,null),c.createElement(c.Suspense,{fallback:null},c.createElement(R.BV,{location:n||t},Ki())),n?c.createElement(oi,{location:t}):null)}const Xi=function(){return(0,c.useEffect)((function(){return function(){if(gt())return function(){};var e=!1,t=function(t){return t.map((function(t){return function(){e||t()}}))};return yt(t(dt),(function(){e||yt(t(pt),(function(){e||gt()||yt(t(ht))}))})),function(){e=!0}}()}),[]),c.createElement(H.Kd,{future:{v7_startTransition:!0,v7_relativeSplatPath:!0}},c.createElement(gi,null),c.createElement(di,null),c.createElement(pi,null),c.createElement(yi,null),c.createElement(Et.v,null,c.createElement(Yr.AY,null,c.createElement(Vi,null))))};function $i(e){return $i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},$i(e)}function eo(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function to(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};
2t%2?eo(Object(n),!0).forEach((function(t){no(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):eo(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function no(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=$i(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=$i(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==$i(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}(0,F.sq)();var ro=(0,s.createRoot)(document.getElementById("react-main")),io=new f.E,oo=function(){return(0,h.Z)(),k(),c.createElement(c.Fragment,null,c.createElement(d.Ht,{client:io},c.createElement(u.Ay,{locale:(0,F.Kn)(),theme:{cssVar:{prefix:"ant"},token:to(to({},Q.JI),{},{colorPrimary:"#9f1c62",colorLink:"#9f1c62",colorText:"#666666",colorTextDisabled:"rgba(255, 255, 255, 0.25)",colorBgElevated:"#ffffff",colorBgSpotlight:"#4f4f4f",colorSecondary:"#00a09a",borderRadius:6,borderRadiusLG:8,borderRadiusSM:4}),components:{Button:{defaultColor:"#9f1c62",defaultBorderColor:"#9f1c62",defaultBg:"transparent",defaultHoverColor:"#cc3184",defaultHoverBorderColor:"#cc3184",defaultHoverBg:"transparent",defaultActiveColor:"#7a1548",defaultActiveBorderColor:"#7a1548",defaultActiveBg:"transparent"},Layout:{headerPadding:"0 20px",headerBg:"none",siderBg:"#fefefe",headerHeight:120},Input:{fontFamily:Q.JI.fontFamily,borderRadius:6,borderRadiusLG:6},Select:{borderRadius:6,borderRadiusLG:6},AutoComplete:{borderRadius:6},Dropdown:{borderRadius:6},Popover:{borderRadius:6},Tooltip:{borderRadius:6},DatePicker:{borderRadius:6,borderRadiusLG:6},Menu:{borderRadius:6},Segmented:{itemColor:"#9f1c62",itemHoverColor:"#9f1c62",itemSelectedColor:"#9f1c62"}}}},c.createElement(p.S,{threshold:3},c.createElement(l.A,null,c.createElement(Xi,null))))))};ro.render(c.createElement(oo,null)),requestAnimationFrame((function(){var e=document.getElementById("pre-react-shell");e&&e.parentNode&&e.parentNode.removeChild(e)}))},25976(e,t,n){n.d(t,{A:()=>u});var r=n(31601),i=n.n(r),o=n(76314),a=n.n(o)()(i());a.push([e.id,'/* Unified Helpindeal onboarding tour â white panels, brand buttons only\n *\n * IMPORTANT: Ant Design applies rootClassName (`hid-tour`) to the mask,\n * the target placeholder, AND the tip popup. Never put width/max-width on\n * bare `.hid-tour` â that shrinks the fullscreen mask and kills the spotlight.\n *\n * Compact concept (short OR narrow viewports):\n * 1. Cap tip height to the viewport\n * 2. Hide / shrink header illustrations to free vertical space\n * 3. Scroll the description internally; keep header + footer sticky\n * 4. JS clamp (TourController) repositions tips that antd parks off-screen\n */\n\n/* Tip popup only (not mask / not placeholder) */\n.ant-tour.hid-tour:not(.ant-tour-mask):not(.ant-tour-target-placeholder) {\n z-index: 1100;\n /* Override antd default width:520 so mobile placement stays in-viewport */\n width: auto !important;\n max-width: min(92vw, 360px) !important;\n box-sizing: border-box;\n}\n\n.ant-tour-mask.hid-tour {\n /* Keep mask fullscreen; only z-index from Tour props */\n width: auto !important;\n max-width: none !important;\n}\n\n.ant-tour-target-placeholder.hid-tour {\n /* Placeholder carries the spotlight rect via inline width/height â never override */\n max-width: none !important;\n}\n\n.hid-tour .ant-tour-panel,\n.hid-tour .ant-tour-section {\n background: #ffffff !important;\n color: #1f1f1f !important;\n border-radius: 12px !important;\n box-shadow: 0 12px 40px rgba(31, 31, 31, 0.18) !important;\n max-width: min(92vw, 360px) !important;\n width: min(92vw, 360px) !important;\n padding: 0 !important;\n overflow: hidden;\n box-sizing: border-box;\n}\n\n.ant-tour.hid-tour--hero:not(.ant-tour-mask):not(.ant-tour-target-placeholder) {\n max-width: min(94vw, 400px) !important;\n}\n\n.hid-tour--hero .ant-tour-section,\n.hid-tour--hero .ant-tour-panel {\n max-width: min(94vw, 400px) !important;\n width: min(94vw, 400px) !important;\n}\n\n/* Step 4 (and other dense steps): wider tip ONLY on desktop.\n * Mobile keeps the base 360/92vw rules so the tip cannot overflow right. */\n@media (min-width: 769px) {\n .ant-tour.hid-tour--wide:not(.ant-tour-mask):not(.ant-tour-target-placeholder) {\n max-width: min(94vw, 520px) !important;\n width: min(94vw, 520px) !important;\n }\n\n .hid-tour.hid-tour--wide .ant-tour-section,\n .hid-tour.hid-tour--wide .ant-tour-panel {\n max-width: min(94vw, 520px) !important;\n width: min(94vw, 520px) !important;\n }\n}\n\n.hid-tour .ant-tour-title,\n.hid-tour .ant-tour-description,\n.hid-tour .ant-tour-inner,\n.hid-tour .ant-tour-content {\n color: #1f1f1f !important;\n background: #ffffff !important;\n}\n\n.hid-tour .ant-tour-header,\n.hid-tour .ant-tour-footer {\n background: #ffffff !important;
2\n /* Same horizontal padding on desktop + mobile so pagination fits equally */\n padding-left: 12px !important;\n padding-right: 12px !important;\n flex-shrink: 0;\n}\n\n.hid-tour .ant-tour-header {\n padding-top: 16px !important;\n padding-bottom: 4px !important;\n}\n\n.hid-tour .ant-tour-title {\n font-size: 17px !important;\n font-weight: 700 !important;\n line-height: 1.35 !important;\n color: #1f1f1f !important;\n}\n\n.hid-tour .ant-tour-description {\n padding: 0 12px 8px !important;\n margin: 0 !important;\n}\n\n.hid-tour .ant-tour-footer {\n padding-bottom: 14px !important;\n padding-top: 8px !important;\n border-top: 1px solid #f0f0f0;\n}\n\n.hid-tour .ant-tour-footer .ant-tour-buttons,\n.hid-tour .ant-tour-footer .ant-tour-actions {\n display: flex;\n flex-direction: row;\n flex-wrap: nowrap;\n align-items: center;\n width: 100%;\n min-width: 0;\n}\n\n.hid-tour .ant-tour-section .ant-btn,\n.hid-tour .ant-tour-panel .ant-btn,\n.hid-tour .ant-tour-footer .ant-btn {\n min-height: 44px;\n border-radius: 8px;\n font-weight: 600;\n}\n\n.hid-tour .ant-btn-default,\n.hid-tour .ant-btn-primary.ant-btn-background-ghost {\n background: #fff !important;\n color: #4c4f57 !important;\n border-color: #d9d9d9 !important;\n}\n\n.hid-tour .ant-btn-primary:not(.ant-btn-background-ghost) {\n background: #9f1c62 !important;\n border-color: #9f1c62 !important;\n color: #fff !important;\n}\n\n.hid-tour .ant-btn-primary:not(.ant-btn-background-ghost):hover {\n background: #861854 !important;\n border-color: #861854 !important;\n}\n\n.hid-tour .ant-tour-close {\n color: #8b8f99 !important;\n}\n\n.hid-tour-panel-body {\n display: flex;\n flex-direction: column;\n gap: 10px;\n}\n\n.hid-tour-illustration {\n width: 100%;\n height: 96px;\n border-radius: 10px;\n background: linear-gradient(165deg, #f7eef3 0%, #ffffff 55%, #eef8f7 100%);\n border: 1px solid #f0e6ec;\n overflow: hidden;\n display: flex;\n align-items: center;\n justify-content: center;\n flex-shrink: 0;\n}\n\n.hid-tour-panel-body.is-welcome .hid-tour-illustration,\n.hid-tour-panel-body.is-done .hid-tour-illustration {\n height: 120px;\n border-radius: 14px;\n box-shadow: inset 0 0 0 1px rgba(159, 28, 98, 0.06);\n background:\n radial-gradient(circle at 20% 30%, rgba(159, 28, 98, 0.12), transparent 45%),\n radial-gradient(circle at 80% 70%, rgba(15, 154, 149, 0.14), transparent 40%),\n linear-gradient(165deg, #faf5f8 0%, #ffffff 50%, #f3fbfa 100%);\n}\n\n.hid-tour-illustration svg {\n display: block;\n max-height: 96px;\n}\n\n.hid-tour-panel-body.is-welcome .hid-tour-illustration svg,\n.hid-tour-panel-body.is-done .hid-tour-illustration svg {\n max-height: 112px;\n}\n\n.hid-tour-meta {\n display: flex;\n flex-wrap: wrap;\n gap: 8px;\n align-items: center;\n}\n\n.hid-tour-chapter {\n font-size: 11px;\n font-weight: 800;\n letter-spacing: 0.06em;\n text-transform: uppercase;\n color: #9f1c62;\n}\n\n.hid-tour-step {\n font-size: 12px;\n color: #8b8f99;\n font-weight: 500;\n}\n\n.hid-tour-text {\n font-size: 14.5px;\n line-height: 1.55;\n color: #2f323a;\n}\n\n.hid-tour-text p {\n margin: 0 0 0.7em;\n}\n\n.hid-tour-text p:last-child {\n margin-bottom: 0;\n}\n\n.hid-tour-text strong {\n color: #1f1f1f;\n font-weight: 700;\n}\n\n.hid-tour-reward {\n background: linear-gradient(90deg, rgba(159, 28, 98, 0.08), rgba(15, 154, 149, 0.08));\n border: 1px solid rgba(159, 28, 98, 0.18);\n border-radius: 10px;\n padding: 10px 12px !important;\n color: #3a2433;\n}\n\n.hid-tour-welcome-actions {\n display: flex;\n flex-direction: row;\n flex-wrap: nowrap;\n align-items: center;\n justify-content: stretch;\n gap: 8px;\n width: 100%;\n margin-top: 4px;\n}\n\n.hid-tour-welcome-actions > .ant-btn-primary {\n flex: 1.35 1 0;\n min-width: 0;\n min-height: 44px;\n font-size: 14px;\n padding-inline: 10px;\n box-shadow: 0 8px 18px rgba(159, 28, 98, 0.28);\n}\n\n.hid-tour-welcome-actions > .ant-btn-default {\n flex: 1 1 0;\n min-width: 0;\n min-height: 44px;\n padding-inline: 8px;\n font-size: 13px;\n}\n\n.hid-tour-skip-link {\n display: inline-flex;\n align-items: center;\n justify-content: center;\n flex: 0 0 auto;\n min-height: 44px;\n padding: 0 8px;\n font-size: 13px;\n color: #8b8f99;\n background: none;\n border: none;\n cursor: pointer;\n text-decoration: underline;\n white-space: nowrap;\n}
2\n\n.hid-tour-skip-link:hover {\n color: #9f1c62;\n}\n\n[data-tour] {\n /* Clear sticky main header (~80px) + subheader when scrolling into view */\n scroll-margin-top: 160px;\n scroll-margin-bottom: 100px;\n}\n\n/* pinTop steps: put the fixed header shell back into document flow so account\n * tabs (and other top chrome targets) are not covered by the collapsing nav. */\nbody.hid-tour-pin-top [data-hid-header-shell="main"] {\n position: relative !important;\n top: 0 !important;\n transform: none !important;\n}\n\nbody.hid-tour-pin-top [data-hid-header="main"] {\n position: relative !important;\n top: 0 !important;\n transform: none !important;\n}\n\n/* Shell is in-flow during pinTop â drop the usual fixed-header offset. */\nbody.hid-tour-pin-top main {\n margin-top: 0 !important;\n}\n\n/* Dropdown under tour panel, above page content â visible in mask cutout */\nbody.hid-tour-user-menu-open .user-menu-dropdown {\n z-index: 1050 !important;\n}\n\nbody.hid-tour-side-menu-open .hid-side-menu-panel {\n z-index: 1050 !important;\n /* Keep menu above the floating bottom bar; scroll if needed */\n max-height: calc(100dvh - 80px - 72px) !important;\n overflow-y: auto !important;\n -webkit-overflow-scrolling: touch;\n}\n\n/* Shared scrollable panel structure (used by compact media query + dense steps) */\n.hid-tour--dense .ant-tour-section,\n.hid-tour--dense .ant-tour-panel,\n.hid-tour.hid-tour--scrollable .ant-tour-section,\n.hid-tour.hid-tour--scrollable .ant-tour-panel {\n display: flex !important;\n flex-direction: column !important;\n overflow: hidden !important;\n}\n\n.hid-tour--dense .ant-tour-description,\n.hid-tour.hid-tour--scrollable .ant-tour-description {\n flex: 1 1 auto;\n min-height: 0;\n overflow-y: auto !important;\n -webkit-overflow-scrolling: touch;\n overscroll-behavior: contain;\n}\n\n/* -------------------------------------------------------------------------- */\n/* Compact: narrow phones OR short viewports (iPhone SE 375Ã667, landscapeâ¦) */\n/* -------------------------------------------------------------------------- */\n@media (max-width: 768px), (max-height: 760px) {\n .ant-tour.hid-tour:not(.ant-tour-mask):not(.ant-tour-target-placeholder) {\n width: min(92vw, 360px) !important;\n max-width: min(92vw, 360px) !important;\n max-height: calc(100dvh - 20px) !important;\n box-sizing: border-box !important;\n }\n\n .hid-tour .ant-tour-panel,\n .hid-tour .ant-tour-section {\n max-width: 100% !important;\n width: 100% !important;\n max-height: min(52dvh, calc(100dvh - 20px)) !important;\n display: flex !important;\n flex-direction: column !important;\n overflow: hidden !important;\n box-sizing: border-box !important;\n }\n\n /* Wide steps stay on the narrow budget on phones / short viewports */\n .ant-tour.hid-tour--wide:not(.ant-tour-mask):not(.ant-tour-target-placeholder) {\n max-width: min(92vw, calc(100vw - 20px), 360px) !important;\n width: min(92vw, calc(100vw - 20px), 360px) !important;\n }\n\n .hid-tour--wide .ant-tour-section,\n .hid-tour--wide .ant-tour-panel {\n max-width: 100% !important;\n width: 100% !important;\n max-height: min(50dvh, calc(100dvh - 20px)) !important;\n }\n\n /* Welcome / done: taller tip, same rounded clipping as other steps */\n .ant-tour.hid-tour--hero:not(.ant-tour-mask):not(.ant-tour-target-placeholder) {\n max-width: min(94vw, 360px) !important;\n width: min(94vw, 360px) !important;\n max-height: calc(100dvh - 16px) !important;\n }\n\n .hid-tour--hero .ant-tour-section,\n .hid-tour--hero .ant-tour-panel {\n max-height: calc(100dvh - 16px) !important;\n overflow: hidden !important;\n border-radius: 12px !important;\n }\n\n .hid-tour--hero .ant-tour-description {\n flex: 1 1 auto;\n min-height: 0;\n overflow-y: auto !important;\n }\n\n .hid-tour .ant-tour-header {\n padding-top: 12px !important;\n padding-bottom: 2px !important;\n padding-left: 14px !important;\n padding-right: 14px !important;\n }\n\n .hid-tour .ant-tour-title {\n font-size: 16px !important;\n }\n\n .hid-tour .ant-tour-description {\n flex: 1 1 auto;\n min-height: 0;\n overflow-y: auto !important;\n -webkit-overflow-scrolling: touch;\n overscroll-behavior: contain;\n padding: 0 14px 6px !important;\n }\n\n .hid-tour .ant-tour-footer {\n padding-left: 12px !important;\n padding-right: 12px !important;\n padding-bottom: 10px !important;\n padding-top: 6px !important;\n }\n\n /* Prevent footer actions from overflowing the tip on narrow screens */\n .hid-tour .ant-tour-footer .ant-tour-buttons,\n .hid-tour .ant-tour-actions {\n flex-wrap: wrap;\n gap: 6px;\n max-width: 100%;\n }\n\n .hid-tour .ant-tour-footer .ant-btn {\n min-height: 40px;\n padding-inline: 12px;\n }\n\n /* Spotlight steps: drop illustration â biggest vertical win */\n .hid-tour:not(.hid-tour--hero) .hid-tour-illustration {\n display: none !important;\n }\n\n /* Welcome / done: keep a compact illustration when space allows */\n .hid-tour--hero .hid-tour-illustration {\n height: 72px;\n }\n\n .hid-tour--hero .hid-tour-panel-body.is-welcome .hid-tour-illustration,\n .hid-tour--hero .hid-tour-panel-body.is-done .hid-tour-illustration {\n height: 72px;\n }\n\n .hid-tour--hero .hid-tour-illustration svg {\n max-height: 64px;\n }\n\n .hid-tour-panel-body {\n gap: 8px;\n }\n\n .hid-tour-text {\n font-size: 14px;\n line-height: 1.45;\n }\n\n .hid-tour-text p {\n margin: 0 0 0.55em;\n }\n\n .hid-tour-reward {\n padding: 8px 10px !important;\n }\n\n .hid-tour-welcome-actions {\n gap: 6px;\n }\n\n .hid-tour-welcome-actions > .ant-btn-primary {\n font-size: 13px;\n min-height: 42px;\n }\n\n .hid-tour-welcome-actions > .ant-btn-default,\n .hid-tour-skip-link {\n font-size: 12px;\n min-height: 42px;\n }\n\n /* Keep open user-menu compact so tip + spotlight fit */\n body.hid-tour-user-menu-open .user-menu-dropdown {\n max-height: min(38dvh, 280px) !important;\n overflow-y: auto !important;\n -webkit-overflow-scrolling: touch;\n }\n}\n\n/* Extra-short phones (iPhone SE / small Android) */\n@media (max-height: 700px) {\n /* Spotlight tips stay compact */\n .ant-tour.hid-tour:not(.ant-tour-mask):not(.ant-tour-target-placeholder):not(.hid-tour--hero) {\n max-height: min(48dvh, calc(100dvh - 16px)) !important;\n }\n\n .hid-tour:not(.hid-tour--hero) .ant-tour-panel,\n .hid-tour:not(.hid-tour--hero) .ant-tour-section {\n max-height: min(48dvh, calc(100dvh - 16px)) !important;\n }\n\n /* Hero (welcome/done): fit content, keep rounded corners, drop illustration */\n .ant-tour.hid-tour--hero:not(.ant-tour-mask):not(.ant-tour-target-placeholder) {\n max-height: calc(100dvh - 12px) !important;\n }\n\n .hid-tour--hero .ant-tour-section,\n .hid-tour--hero .ant-tour-panel {\n max-height: calc(100dvh - 12px) !important;\n overflow: hidden !important;\n border-radius: 12px !important;\n }\n\n .hid-tour--hero .hid-tour-illustration {\n display: none !important;\n }\n\n .hid-tour .ant-tour-section .ant-btn,\n .hid-tour .ant-tour-panel .ant-btn,\n .hid-tour .ant-tour-footer .ant-btn {\n min-height: 40px;\n }\n}\n\n/* Body class toggled by TourController when compact MQ matches */\nbody.hid-tour-compact .hid-tour:not(.hid-tour--hero) .hid-tour-illustration {\n display: none !important;\n}\n\n.hid-tour-spotlight-actions {\n display: flex;\n flex-direction: row;\n flex-wrap: nowrap;\n align-items: center;\n justify-content: space-between;\n gap: 8px;\n width: 100%;\n min-width: 0;\n}\n\n.hid-tour-pause-btn.ant-btn {\n flex: 0 0 auto;\n position: relative;\n z-index: 1;\n min-height: 0 !important;\n height: auto !important;\n padding: 2px 4px !important;\n margin: 0 !important;\n font-size: 13px !important;\n font-weight: 600 !important;\n line-height: 1.4 !important;\n color: #9f1c62 !important;\n border: none !important;\n box-shadow: none !important;\n background: transparent !important;\n white-space: nowrap;\n}\n\n.hid-tour-pause-btn.ant-btn:hover,\n.hid-tour-pause-btn.ant-btn:focus {\n color: #861854 !important;\n background: rgba(159, 28, 98, 0.06) !important;\n}\n\n.hid-tour-pagination-nav {\n display: grid;\n grid-template-columns: auto minmax(0, 1fr) auto;\n align-items: center;\n gap: 6px;\n flex: 1 1 auto;\n min-width: 0;\n max-width: calc(100% - 52px);\n margin-left: auto;\n}\n\n.hid-tour-page-nav-btn.ant-btn {\n flex: 0 0 auto;\n width: 60px !important;\n min-width: 60px !important;\n min-height: 24px !important;\n height: 24px !important;\n padding: 0 6px !important;\n font-size: 12px !important;\n font-weight: 600 !important;\n line-height: 22px !important;\n border-radius: 6px !important;\n}\n\n.hid-tour-pagination {\n min-width: 0;\n margin: 0 !important;\n display: flex !important;\n flex-wrap: nowrap !important;\n justify-content: center;\n align-items: center;\n gap: 2px;\n overflow: hidden;\n}\n\n.hid-tour-page-item,\n.hid-tour-page-jump,\n.hid-tour-page-placeholder {\n box-sizing: border-box;\n display: inline-flex;\n align-items: center;\n justify-content: center;\n flex: 0 0 24px;\n min-width: 24px;\n width: 24px;\n height: 24px;\n}\n\n.hid-tour-page-item,\n.hid-tour-page-jump {\n margin: 0;\n padding: 0;\n border-radius: 4px;\n border: none;\n font-family: inherit;\n line-height: 22px;\n color: #8b8f99 !important;\n font-size: 12px;\n font-weight: 500;\n cursor: pointer;\n}\n\n.hid-tour-page-item {\n background: rgba(200, 200, 200, 0.3);\n}\n\n.hid-tour-page-item:hover,\n.hid-tour-page-jump:hover:not(:disabled) {\n color: #9f1c62 !important;\n}\n\n.hid-tour-page-item.is-active {\n background: rgba(159, 28, 98, 0.14) !important;\n color: #9f1c62 !important;\n font-weight: 700;\n}\n\n.hid-tour-page-jump {\n background: transparent !important;\n font-size: 10px;\n}\n\n.hid-tour-page-jump:disabled {\n color: #c7c9ce !important;\n cursor: default;\n}\n\n.hid-tour-resume-float.ant-float-btn {\n z-index: 1050;\n right: 20px;\n bottom: 24px;\n width: auto !important;\n /* Match default Ant Design Button height (Karte / Filter) */\n height: 32px !important;\n min-height: 32px !important;\n max-height: 32px !important;\n padding: 0 12px !important;\n flex-direction: row !important;\n align-items: center !important;\n justify-content: center !important;\n gap: 6px !important;\n border-radius: 22px !important;\n background: #9f1c62 !important;\n border-color: #9f1c62 !important;\n box-shadow: 0 6px 16px rgba(159, 28, 98, 0.35);\n}\n\n.hid-tour-resume-float.ant-float-btn:hover {\n background: #861854 !important;\n border-color: #861854 !important;\n}\n\n.hid-tour-resume-float.ant-float-btn .ant-btn-icon,\n.hid-tour-resume-float.ant-float-btn .ant-float-btn-icon,\n.hid-tour-resume-float.ant-float-btn .float-btn-icon {\n margin: 0 !important;\n margin-inline-end: 0 !important;\n padding: 0 !important;\n line-height: 1 !important;\n color: #fff !important;\n font-size: 16px !important;\n}\n\n.hid-tour-resume-float.ant-float-btn .ant-float-btn-content,\n.hid-tour-resume-float.ant-float-btn .float-btn-content {\n margin: 0 !important;\n padding: 0 !important;\n line-height: 1 !important;\n color: #fff !important;\n font-weight: 600;\n font-size: 14px;\n white-space: nowrap;\n}\n\n.hid-tour-resume-float.ant-float-btn.ant-float-btn-square {\n width: auto !important;\n min-width: unset !important;\n height: 32px !important;\n min-height: 32px !important;\n max-height: 32px !important;\n padding: 0 12px !important;\n}\n\n@media (max-width: 768px) {\n .hid-tour-resume-float.ant-float-btn {\n right: 12px;\n /* Match search MobileView Karte/Filter bottom positions (no opacity fade) */\n bottom: 88px;\n transition: bottom 0.3s ease-in-out, background-color 0.3s linear,\n border-color 0.3s linear;\n }\n\n .hid-tour-resume-float.ant-float-btn.is-scrolled-down {\n bottom: 44px;\n }\n\n .hid-tour-spotlight-actions {\n gap: 2px;\n }\n}\n',""]);const u=a},26436(e,t,n){n.d(t,{AD:()=>g,Bb:()=>m,Lq:()=>s,ax:()=>h,h3:()=>y,tF:()=>p,tk:()=>d});var r,i,o,a,u,l=n(38267);function c(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}var s=120,f=s+56;function d(e){return(e?0:s)+56+16}var p=l.Ay.div(r||(r=c(["\n background: #fff;\n bottom: 0;\n left: 0;\n overflow: hidden;\n position: fixed;\n right: 0;\n top: 0;\n z-index: 1200;\n"]))),h=l.Ay.div(i||(i=c(["\n background: #fff;\n height: 40px;\n left: 0;\n pointer-events: none;\n position: fixed;\n right: 0;\n top: ",";\n z-index: 99;\n"])),(function(e){var t=e.$top;return"".concat(t,"px")})),m=l.Ay.div(o||(o=c(["\n align-items: center;\n background: #fff;\n border-bottom: 1px solid #ececec;\n box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);\n display: flex;\n gap: 12px;\n left: 0;\n min-height: ","px;\n padding: 10px 16px;\n position: fixed;\n right: 0;\n z-index: 1201;\n"])),56),y=l.Ay.div(a||(a=c(["\n bottom: 0;\n left: 0;\n overflow-x: hidden;\n overflow-y: auto;\n overscroll-behavior-y: contain;\n /* No padding-top here: padding on the scrollport breaks position:sticky\n for side panels (they freeze ~inset below the intended top). The chrome\n clearance is a real spacer element instead â see OverlayBodyInset. */\n position: absolute;\n right: 0;\n top: 0;\n -webkit-overflow-scrolling: touch;\n"]))),g=l.Ay.div(u||(u=c(["\n flex-shrink: 0;\n height: ","px;\n pointer-events: none;\n width: 100%;\n"])),f)},30403(e,t,n){n.d(t,{Ub:()=>c,Zm:()=>f,l:()=>p,pF:()=>d,xd:()=>s});var r=n(96540),i=["size"],o=["size"],a=["size"];function u(){return u=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},u.apply(null,arguments)}function l(e,t){if(null==e)return{};var n,r,i=function(e,t){if(null==e)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(-1!==t.indexOf(r))continue;n[r]=e[r]}return n}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r<o.length;r++)n=o[r],-1===t.indexOf(n)&&{}.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}var c=function(e){var t=e.size,n=void 0===t?20:t;return r.createElement("svg",{width:n,height:n,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},r.createElement("path",{d:"M20 5C20 6.65685 16.4183 8 12 8C7.58172 8 4 6.65685 4 5M20 5C20 3.34315 16.4183 2 12 2C7.58172 2 4 3.34315 4 5M20 5V19C20 20.6569
216.4183 22 12 22C7.58172 22 4 20.6569 4 19V5M20 9.6666C20 11.3235 16.4183 12.6666 12 12.6666C7.58172 12.6666 4 11.3235 4 9.6666M20 14.33C20 15.9869 16.4183 17.33 12 17.33C7.58172 17.33 4 15.9869 4 14.33",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"}))},s=function(e){var t=e.size,n=void 0===t?24:t;return r.createElement("svg",{width:n,height:n,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},r.createElement("path",{d:"M12 17C12 19.7614 14.2386 22 17 22C19.7614 22 22 19.7614 22 17C22 14.2386 19.7614 12 17 12C14.2386 12 12 14.2386 12 17ZM12 17C12 15.8742 12.3721 14.8353 13 13.9995V5M12 17C12 17.8254 12.2 18.604 12.5541 19.2901C11.7117 20.0018 9.76584 20.5 7.5 20.5C4.46243 20.5 2 19.6046 2 18.5V5M13 5C13 6.10457 10.5376 7 7.5 7C4.46243 7 2 6.10457 2 5M13 5C13 3.89543 10.5376 3 7.5 3C4.46243 3 2 3.89543 2 5M2 14C2 15.1046 4.46243 16 7.5 16C9.689 16 11.5793 15.535 12.4646 14.8618M13 9.5C13 10.6046 10.5376 11.5 7.5 11.5C4.46243 11.5 2 10.6046 2 9.5",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"}))},f=function(e){var t=e.size,n=void 0===t?26:t,o=l(e,i);return r.createElement("svg",u({width:n,height:n,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},o),r.createElement("path",{d:"M13 5C13 6.10457 10.5376 7 7.5 7C4.46243 7 2 6.10457 2 5M13 5C13 3.89543 10.5376 3 7.5 3C4.46243 3 2 3.89543 2 5M13 5V6.5M2 5V17C2 18.1046 4.46243 19 7.5 19M7.5 11C7.33145 11 7.16468 10.9972 7 10.9918C4.19675 10.9 2 10.0433 2 9M7.5 15C4.46243 15 2 14.1046 2 13M22 11.5C22 12.6046 19.5376 13.5 16.5 13.5C13.4624 13.5 11 12.6046 11 11.5M22 11.5C22 10.3954 19.5376 9.5 16.5 9.5C13.4624 9.5 11 10.3954 11 11.5M22 11.5V19C22 20.1046 19.5376 21 16.5 21C13.4624 21 11 20.1046 11 19V11.5M22 15.25C22 16.3546 19.5376 17.25 16.5 17.25C13.4624 17.25 11 16.3546 11 15.25",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"}))},d=function(e){var t=e.size,n=void 0===t?24:t,i=l(e,o);return r.createElement("svg",u({width:n,height:n,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true"},i),r.createElement("path",{d:"m11 17 2 2a1 1 0 1 0 3-3"}),r.createElement("path",{d:"m14 14 2.5 2.5a1 1 0 1 0 3-3l-3.88-3.88a3 3 0 0 0-4.24 0l-.88.88a1 1 0 1 1-3-3l2.81-2.81a5.79 5.79 0 0 1 7.06-.87l.47.28a2 2 0 0 0 1.42.25L21 4"}),r.createElement("path",{d:"m21 3 1 11h-2"}),r.createElement("path",{d:"M3 3 2 14l6.5 6.5a1 1 0 1 0 3-3"}),r.createElement("path",{d:"M3 4h8"}))},p=function(e){var t=e.size,n=void 0===t?24:t,i=l(e,a);return r.createElement("svg",u({width:n,height:n,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true"},i),r.createElement("path",{d:"M3 12a9 9 0 0 1 9-9 9.75 9.75 0 0 1 6.74 2.74L21 8"}),r.createElement("path",{d:"M21 3v5h-5"}),r.createElement("path",{d:"M21 12a9 9 0 0 1-9 9 9.75 9.75 0 0 1-6.74-2.74L3 16"}),r.createElement("path",{d:"M8 16H3v5"}))}},32703(e,t,n){n.d(t,{A:()=>M});var r,i,o=n(96540),a=n(50400),u=n(81080),l=n(46900),c=n(87959),s=n(50770),f=n(38267),d=n(88730),p=n(79494);function h(){var e,t,n="function"==typeof Symbol?Symbol:{},r=n.iterator||"@@iterator",i=n.toStringTag||"@@toStringTag";function o(n,r,i,o){var l=r&&r.prototype instanceof u?r:u,c=Object.create(l.prototype);return m(c,"_invoke",function(n,r,i){var o,u,l,c=0,s=i||[],f=!1,d={p:0,n:0,v:e,a:p,f:p.bind(e,4),d:function(t,n){return o=t,u=0,l=e,d.n=n,a}};function p(n,r){for(u=n,l=r,t=0;!f&&c&&!i&&t<s.length;t++){var i,o=s[t],p=d.p,h=o[2];n>3?(i=h===r)&&(l=o[(u=o[4])?5:(u=3,3)],o[4]=o[5]=e):o[0]<=p&&((i=n<2&&p<o[1])?(u=0,d.v=r,d.n=o[1]):p<h&&(i=n<3||o[0]>r||r>h)&&(o[4]=n,o[5]=r,d.n=h,u=0))}if(i||n>1)return a;throw f=!0,r}return function(i,s,h){if(c>1)throw TypeError("Generator is already running");for(f&&1===s&&p(s,h),u=s,l=h;(t=u<2?e:l)||!f;){o||(u?u<3?(u>1&&(d.n=-1),p(u,l)):d.n=l:d.v=l);try{if(c=2,o){if(u||(i="next"),t=o[i]){if(!(t=t.call(o,l)))throw TypeError("iterator result is not an object");
2if(!t.done)return t;l=t.value,u<2&&(u=0)}else 1===u&&(t=o.return)&&t.call(o),u<2&&(l=TypeError("The iterator does not provide a '"+i+"' method"),u=1);o=e}else if((t=(f=d.n<0)?l:n.call(r,d))!==a)break}catch(t){o=e,u=1,l=t}finally{c=1}}return{value:t,done:f}}}(n,i,o),!0),c}var a={};function u(){}function l(){}function c(){}t=Object.getPrototypeOf;var s=[][r]?t(t([][r]())):(m(t={},r,(function(){return this})),t),f=c.prototype=u.prototype=Object.create(s);function d(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,c):(e.__proto__=c,m(e,i,"GeneratorFunction")),e.prototype=Object.create(f),e}return l.prototype=c,m(f,"constructor",c),m(c,"constructor",l),l.displayName="GeneratorFunction",m(c,i,"GeneratorFunction"),m(f),m(f,i,"Generator"),m(f,r,(function(){return this})),m(f,"toString",(function(){return"[object Generator]"})),(h=function(){return{w:o,m:d}})()}function m(e,t,n,r){var i=Object.defineProperty;try{i({},"",{})}catch(e){i=0}m=function(e,t,n,r){function o(t,n){m(e,t,(function(e){return this._invoke(t,n,e)}))}t?i?i(e,t,{value:n,enumerable:!r,configurable:!r,writable:!r}):e[t]=n:(o("next",0),o("throw",1),o("return",2))},m(e,t,n,r)}function y(e,t,n,r,i,o,a){try{var u=e[o](a),l=u.value}catch(e){return void n(e)}u.done?t(l):Promise.resolve(l).then(r,i)}function g(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,i,o,a,u=[],l=!0,c=!1;try{if(o=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(r=o.call(n)).done)&&(u.push(r.value),u.length!==t);l=!0);}catch(e){c=!0,i=e}finally{try{if(!l&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(c)throw i}}return u}}(e,t)||function(e,t){if(e){if("string"==typeof e)return w(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?w(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function w(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function v(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}var b=f.Ay.div(r||(r=v(["\n margin-top: 16px;\n padding: 14px 16px;\n border: 1px solid #ececec;\n border-radius: 8px;\n background: #fafafa;\n"]))),L=f.Ay.div(i||(i=v(["\n display: flex;\n justify-content: flex-end;\n margin-top: 12px;\n"])));const M=function(e){var t=e.isAuthenticated,n=void 0===t||t,r=g(u.A.useForm(),1)[0],i=g(o.useState(null),2),f=i[0],m=i[1],w=g(o.useState(!1),2),v=w[0],M=w[1],x=g(o.useState("undefined"!=typeof window?window.innerWidth:1024),2),j=x[0],E=x[1],S=[{label:(0,p.t)("ui.feedback.rating_5"),value:5},{label:(0,p.t)("ui.feedback.rating_4"),value:4},{label:(0,p.t)("ui.feedback.rating_3"),value:3},{label:(0,p.t)("ui.feedback.rating_2"),value:2},{label:(0,p.t)("ui.feedback.rating_1"),value:1}];if(o.useEffect((function(){var e=function(){E(window.innerWidth)};return window.addEventListener("resize",e),function(){return window.removeEventListener("resize",e)}}),[]),!n)return null;var A=function(e){var t,n,r=null!==(t=null==e||null===(n=e.target)||void 0===n?void 0:n.value)&&void 0!==t?t:null;m(r)},k=function(){var e,t=(e=h().m((function e(t){return h().w((function(e){for(;;)switch(e.p=e.n){case 0:return e.p=0,M(!0),e.n=1,(0,d.Dc)(t.rating,t.text);case 1:c.Ay.success((0,p.t)("ui.feedback.success")),r.resetFields(),m(null),e.n=3;break;case 2:e.p=2,e.v,c.Ay.error((0,p.t)("ui.feedback.error"));case 3:return e.p=3,M(!1),e.f(3);case 4:return e.a(2)}}),e,null,[[0,2,3,4]])})),function(){var t=this,n=arguments;return new Promise((function(r,i){var o=e.apply(t,n);function a(e){y(o,r,i,a,u,"next",e)}function u(e){y(o,r,i,a,u,"throw",e)}a(void 0)}))});return function(e){return t.apply(this,arguments)}}();return o.createElement(b,null,o.createElement(u.A,{form:r,layout:"vertical",onFinish:k,requiredMark:!1},o.createElement(u.A.Item,{label:(0,p.t)("ui.feedback.rating_label"),name:"rating",rules:[{required:!0,message:(0,p.t)("ui.feedback.rating_required")}],style:j<=480?{textAlign:"center"}:{}},j>768?o.createElement(s.Ay.Group,{optionType:"button",options:S,onChange:A}):j>480?o.createElement(s.Ay.Group,{options:S,onChange:A}):o.createElement("div",{style:{display:"flex",justifyContent:"center"}},o.createElement(s.Ay.Group,{options:S,onChange:A,style:{display:"flex",flexDirection:"column"}}))),f?o.createElement(o.Fragment,null,o.createElement(u.A.Item,{label:(0,p.t)("ui.feedback.improve_label"),name:"text",rules:[{required:!0,message:(0,p.t)("ui.feedback.text_required")}]},o.createElement(l.A.TextArea,{rows:4,maxLength:1e3,showCount:!0,placeholder:(0,p.t)("ui.feedback.placeholder")}
2)),o.createElement(L,null,o.createElement(a.Ay,{type:"primary",htmlType:"submit",loading:v},(0,p.t)("ui.feedback.submit")))):null))}},35e3(e,t,n){function r(e){var t=e||document.querySelector('[data-tour="account-nav-tabs"]');if(t){var n=t.querySelector(".account-nav-scroll");if(n){var r=n.querySelector('[aria-current="page"]'),i=r?function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:8,r=t.offsetLeft,i=r+t.offsetWidth,o=e.scrollLeft,a=o+e.clientWidth;return r<o+n?Math.max(0,r-n):i>a-n?Math.min(e.scrollWidth-e.clientWidth,i-e.clientWidth+n):o}(n,r):0;n.scrollLeft!==i&&n.scrollTo({left:i,behavior:"auto"})}else{var o=t.querySelector(".ant-tabs-nav-wrap");null!=o&&o.scrollLeft&&(o.scrollLeft=0)}}}n.d(t,{V:()=>r})},35033(e,t,n){n.d(t,{Es:()=>y,NQ:()=>g,_L:()=>v,o_:()=>b,pi:()=>w});var r=n(99515),i=n(58171),o=n(69134),a=n(43977),u=n(85621);function l(e){return function(e){if(Array.isArray(e))return f(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||s(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function c(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=s(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,i=function(){};return{s:i,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,a=!0,u=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return a=e.done,e},e:function(e){u=!0,o=e},f:function(){try{a||null==n.return||n.return()}finally{if(u)throw o}}}}function s(e,t){if(e){if("string"==typeof e)return f(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?f(e,t):void 0}}function f(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}var d=new Set(["/search","/meine-matches","/community","/urlaub-gegen-hilfe","/wohnen-gegen-hilfe","/hilfe-und-tausch","/haustausch","/socialbusiness"]),p=["/favoriten","/meine-deals"],h=function(){var e,t=new Set(["/user"]),n=c(a.VO);try{for(n.s();!(e=n.n()).done;){var r=e.value;t.add((0,a.HF)("/user",r))}}catch(e){n.e(e)}finally{n.f()}return l(t)}();function m(e){return String(e||"/").replace(/\/+$/,"")||"/"}function y(e){var t=m(e),n=(0,a.Op)(t);if(d.has(n)||d.has(t))return!0;var r=(0,u.codeFromPath)(t);if(r&&"community"!==r){var i=(0,u.getCategoryDefinition)(r),o=(null==i?void 0:i.path)||"";if(o&&(t===o||n===o||1===t.split("/").filter(Boolean).length)&&1===t.split("/").filter(Boolean).length)return!0}return p.some((function(e){var r=(0,a.Op)(e);return n===r||n.startsWith("".concat(r,"/"))||t===e||t.startsWith("".concat(e,"/"))}))}function g(e){var t;if(null!=e&&null!==(t=e.state)&&void 0!==t&&t.backgroundLocation)return e.state.backgroundLocation;var n,r="undefined"==typeof window?null:(null===(n=window.history)||void 0===n||null===(n=n.state)||void 0===n||null===(n=n.usr)||void 0===n?void 0:n.backgroundLocation)||null;return r||function(e){var t=m(e),n=(0,a.Op)(t),r=(0,u.codeFromPath)(t)||(0,u.codeFromPath)(n);if(r&&"community"!==r){var i=(0,u.getCategoryDefinition)(r);if(null!=i&&i.path)return{pathname:i.path,search:"",hash:""}}var o,l=c(h);try{for(l.s();!(o=l.n()).done;){var s=o.value;if(t.startsWith("".concat(s,"/")))return{pathname:"/community",search:"",hash:""}}}catch(e){l.e(e)}finally{l.f()}return n.startsWith("/user/")?{pathname:"/community",search:"",hash:""}:null}(null==e?void 0:e.pathname)}function w(e,t){return t?{kind:"push",to:(n=t,n?(0,o.EJ)(n.pathname,n.search,n.hash):"/")}:{kind:"back"};var n}function v(e){return y(e)}function b(e,t){var n=t.navigate,l=t.location,s=t.isAuthenticated;if(e&&"#"!==e){var f="string"==typeof e?(0,o.lF)(e):e,d=(0,i.zK)(f);if(s||!(0,r.Y4)(f)){var p=function(e){try{var t=new URL(String(e),window.location.origin);return t.origin!==window.location.origin?null:"".concat(t.pathname).concat(t.search||"").concat(t.hash||"")}catch(e){return null}}(f),g=function(e){var t;return e?null!==(t=e.state)&&void 0!==t&&t.backgroundLocation?e.state.backgroundLocation:y(e.pathname)?e:null:null}(l);g&&p&&(0,r.F_)(f)&&function(e){var t,n=m(e),r=(0,a.Op)(n),i=c(h);try{for(i.s();!(t=i.n()).done;){var o=t.value;if(n.startsWith("".concat(o,"/"))){var l=n.slice(o.length+1);return Boolean(l)&&!l.includes("/")}}}catch(e){i.e(e)}finally{i.f()}if(r.startsWith("/user/")){var s=r.slice(6);return Boolean(s)&&!s.includes("/")}var f=(0,u.codeFromPath)(n)||(0,u.codeFromPath)(r);
2return!!(f&&"community"!==f&&n.split("/").filter(Boolean).length>=3)}(p.split("?")[0].split("#")[0])&&!function(e){if(!e)return!1;try{var t=new URL(e,window.location.origin).searchParams.get("from");return"mydeals"===t||"myprofile"===t}catch(t){return e.includes("from=mydeals")||e.includes("from=myprofile")}}(p)?n(p,{state:{backgroundLocation:g}}):(0,r.F_)(f)?n(p||f):window.location.assign(f)}else window.location.assign((0,i.rh)(d))}}},36962(e,t,n){n.d(t,{T:()=>i});var r=n(43977);function i(e){if(!e||"string"!=typeof e)return null;if("undefined"==typeof document)return null;var t=e.replace(/^#/,"").split("?")[0];if(!t)return null;try{var n=decodeURIComponent(t),i=document.getElementById(n);if(i)return i;var o=(0,r._0)(n);if(o&&o!==n)return document.getElementById(o)}catch(e){return document.getElementById(t)}return null}},43977(e,t,n){function r(e){return function(e){if(Array.isArray(e))return u(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||a(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function i(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=a(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,i=function(){};return{s:i,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,u=!0,l=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return u=e.done,e},e:function(e){l=!0,o=e},f:function(){try{u||null==n.return||n.return()}finally{if(l)throw o}}}}function o(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,i,o,a,u=[],l=!0,c=!1;try{if(o=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(r=o.call(n)).done)&&(u.push(r.value),u.length!==t);l=!0);}catch(e){c=!0,i=e}finally{try{if(!l&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(c)throw i}}return u}}(e,t)||a(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function a(e,t){if(e){if("string"==typeof e)return u(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?u(e,t):void 0}}function u(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}n.d(t,{VO:()=>N,qI:()=>H,fy:()=>R,_0:()=>q,Op:()=>te,X2:()=>re,Bm:()=>F,Fl:()=>ie,HF:()=>ne,C2:()=>Q,qP:()=>oe,zf:()=>ae});for(var l={fallback:"de",langcodes:["de","en","fr","es","it","nl","pl","pt"],definitions:{about:{paths:{de:"/ueber-uns",en:"/about-us",fr:"/a-propos",es:"/sobre-nosotros",it:"/chi-siamo",nl:"/over-ons",pl:"/o-nas",pt:"/quem-somos"},kind:"editorial"},account:{paths:{de:"/account",en:"/account",fr:"/compte",es:"/cuenta",it:"/il-mio-account",nl:"/mijn-account",pl:"/konto",pt:"/conta"},kind:"exact"},account_deleted:{paths:{de:"/konto-geloescht",en:"/account-deleted",fr:"/compte-supprime",es:"/cuenta-eliminada",it:"/account-eliminato",nl:"/account-verwijderd",pl:"/konto-usuniete",pt:"/conta-eliminada"},kind:"exact"},blog:{paths:{de:"/blog",en:"/blog",fr:"/blog",es:"/blog",it:"/blog",nl:"/blog",pl:"/blog",pt:"/blog"},kind:"editorial"},chat:{paths:{de:"/chat",en:"/chat",fr:"/discussion",es:"/mensajes",it:"/messaggi",nl:"/berichten",pl:"/czat",pt:"/mensagens"},kind:"prefix"},checkout:{paths:{de:"/checkout",en:"/checkout",fr:"/paiement",es:"/pago",it:"/checkout-ordine",nl:"/afrekenen",pl:"/kasa",pt:"/finalizar-compra"},kind:"exact"},community:{paths:{de:"/community",en:"/community",fr:"/communaute",es:"/comunidad",
2it:"/comunita",nl:"/gemeenschap",pl:"/spolecznosc",pt:"/comunidade"},kind:"exact"},contact:{paths:{de:"/kontakt",en:"/contact",fr:"/nous-contacter",es:"/contacto",it:"/contatto",nl:"/neem-contact-op",pl:"/napisz-do-nas",pt:"/fale-connosco"},kind:"editorial"},deal_create:{paths:{de:"/deal-anlegen",en:"/create-deal",fr:"/creer-offre",es:"/crear-oferta",it:"/crea-offerta",nl:"/deal-aanmaken",pl:"/utworz-oferte",pt:"/criar-oferta"},kind:"exact"},deal_edit:{paths:{de:"/deal-bearbeiten",en:"/edit-deal",fr:"/modifier-offre",es:"/editar-oferta",it:"/modifica-offerta",nl:"/deal-bewerken",pl:"/edytuj-oferte",pt:"/editar-anuncio"},kind:"prefix"},downloads:{paths:{de:"/downloads",en:"/downloads",fr:"/telechargements",es:"/descargas",it:"/scarica",nl:"/downloaden",pl:"/pobieranie",pt:"/transferencias"},kind:"exact"},email_confirmation:{paths:{de:"/email-bestatigung",en:"/email-confirmation",fr:"/confirmation-email",es:"/confirmacion-email",it:"/conferma-email",nl:"/e-mail-bevestiging",pl:"/potwierdzenie-email",pt:"/confirmacao-email"},kind:"exact"},faqs:{paths:{de:"/faqs",en:"/faqs",fr:"/faq",es:"/preguntas-frecuentes",it:"/domande-frequenti",nl:"/veelgestelde-vragen",pl:"/najczestsze-pytania",pt:"/perguntas-frequentes"},kind:"spa_editorial"},favorites:{paths:{de:"/favoriten",en:"/favorites",fr:"/favoris",es:"/favoritos",it:"/preferiti",nl:"/favorieten",pl:"/ulubione",pt:"/os-meus-favoritos"},kind:"prefix"},how_it_works:{paths:{de:"/so-funktionierts",en:"/how-it-works",fr:"/comment-ca-marche",es:"/como-funciona",it:"/come-funziona",nl:"/hoe-het-werkt",pl:"/jak-to-dziala",pt:"/como-funciona-hid"},kind:"editorial"},imprint:{paths:{de:"/impressum",en:"/imprint",fr:"/mentions-legales",es:"/aviso-legal",it:"/note-legali",nl:"/colofon",pl:"/nota-prawna",pt:"/informacao-legal"},kind:"editorial"},login:{paths:{de:"/einloggen",en:"/login",fr:"/connexion",es:"/iniciar-sesion",it:"/accedi",nl:"/inloggen",pl:"/logowanie",pt:"/entrar"},kind:"system"},logout:{paths:{de:"/ausloggen",en:"/logout",fr:"/deconnexion",es:"/cerrar-sesion",it:"/esci",nl:"/uitloggen",pl:"/wylogowanie",pt:"/sair"},kind:"system"},my_credits:{paths:{de:"/meine-credits",en:"/my-credits",fr:"/mes-credits",es:"/mis-creditos",it:"/i-miei-crediti",nl:"/mijn-credits",pl:"/moje-kredyty",pt:"/meus-creditos"},kind:"exact"},my_deals:{paths:{de:"/meine-deals",en:"/my-deals",fr:"/mes-offres",es:"/mis-ofertas",it:"/le-mie-offerte",nl:"/mijn-deals",pl:"/moje-oferty",pt:"/minhas-ofertas"},kind:"prefix"},my_matches:{paths:{de:"/meine-matches",en:"/my-matches",fr:"/mes-correspondances",es:"/mis-coincidencias",it:"/le-mie-corrispondenze",nl:"/mijn-matches",pl:"/moje-dopasowania",pt:"/minhas-correspondencias"},kind:"exact"},my_orders:{paths:{de:"/meine-bestellungen",en:"/my-orders",fr:"/mes-commandes",es:"/mis-pedidos",it:"/i-miei-ordini",nl:"/mijn-bestellingen",pl:"/moje-zamowienia",pt:"/meus-pedidos"},kind:"exact"},my_profile:{paths:{de:"/mein-profil",en:"/my-profile",fr:"/mon-profil",es:"/mi-perfil",it:"/il-mio-profilo",nl:"/mijn-profiel",pl:"/moj-profil",pt:"/meu-perfil"},kind:"exact"},password_reset:{paths:{de:"/passwort-vergessen",en:"/forgot-password",fr:"/mot-de-passe-oublie",es:"/contrasena-olvidada",it:"/password-dimenticata",nl:"/wachtwoord-vergeten",pl:"/zapomniane-haslo",pt:"/palavra-passe-esquecida"},kind:"system"},pricing_info:{paths:{de:"/pricing-info",en:"/pricing-info",fr:"/tarifs",es:"/precios",it:"/prezzi",nl:"/prijzen",pl:"/cennik",pt:"/precos"},kind:"exact"},privacy:{paths:{de:"/datenschutz",en:"/privacy",fr:"/confidentialite",es:"/privacidad",it:"/informativa-privacy",nl:"/privacybeleid",pl:"/prywatnosc",pt:"/privacidade"},kind:"editorial"},register:{paths:{de:"/registrieren",en:"/register",fr:"/inscription",es:"/registro",it:"/registrazione",nl:"/registreren",pl:"/rejestracja",pt:"/registo"},kind:"exact"},register2:{paths:{de:"/registrieren2",en:"/register2",fr:"/inscription2",es:"/registro2",it:"/registrazione2",nl:"/registreren2",pl:"/rejestracja2",pt:"/registo2"},kind:"exact"},register3:{paths:{de:"/registrieren3",en:"/register3",fr:"/inscription3",es:"/registro3",it:"/registrazione3",nl:"/registreren3",pl:"/rejestracja3",pt:"/registo3"},kind:"exact"},registration_status:{paths:{de:"/registrierungsstatus",en:"/registration-status",fr:"/statut-inscription",es:"/estado-registro",it:"/stato-registrazione",nl:"/registratiestatus",pl:"/status-rejestracji",pt:"/estado-registo"},kind:"exact"},reviews:{paths:{de:"/bewertungen",en:"/reviews",fr:"/avis",es:"/valoraciones",it:"/recensioni",nl:"/beoordelingen",pl:"/opinie",pt:"/avaliacoes"},kind:"prefix"},search:{paths:{de:"/search",en:"/search",fr:"/recherche",es:"/buscar",it:"/cerca",nl:"/zoeken",pl:"/szukaj",pt:"/pesquisar"},kind:"exact"},terms:{paths:{de:"/allgemeine-bedingungen",en:"/terms",fr:"/conditions-generales",es:"/condiciones-generales",it:"/condizioni-generali",nl:"/algemene-voorwaarden",pl:"/regulamin",pt:"/termos-e-condicoes"},kind:"editorial"},unauthorized:{paths:{de:"/unauthorized",en:"/unauthorized",fr:"/non-autorise",es:"/no-autorizado",it:"/non-autorizzato",nl:"/niet-geautoriseerd",pl:"/brak-dostepu",pt:"/nao-autorizado"},kind:"exact"},user_profile:{paths:{de:"/user",en:"/user",fr:"/membre",es:"/miembro",it:"/membro",nl:"/lid",pl:"/czlonek",pt:"/perfil-publico"},kind:"prefix"},verification:{paths:{de:"/verifizierung",en:"/verification",fr:"/verification-identite",es:"/verificacion",it:"/verifica",nl:"/verificatie",pl:"/weryfikacja",pt:"/verificacao"},kind:"exact"}},anchors:{fp_advantages:{fragments:{de:"vorteile-helpindeal",en:"helpindeal-advantages",fr:"avantages-helpindeal",es:"ventajas-helpindeal",it:"vantaggi-helpindeal",nl:"voordelen-helpindeal",pl:"zalety-helpindeal",pt:"vantagens-helpindeal"},aliases:[]},fp_blog:{fragments:{de:"blogbeitraege",en:"blog-posts",fr:"articles-de-blog",es:"articulos-del-blog",it:"articoli-del-blog",nl:"blogberichten",pl:"wpisy-blogowe",pt:"artigos-do-blog"},aliases:[]},fp_community_deals:{fragments:{de:"community-deals",en:"community-deals",fr:"offres-communaute",es:"ofertas-comunidad",
2it:"offerte-comunita",nl:"community-deals",pl:"oferty-spolecznosci",pt:"ofertas-comunidade"},aliases:[]},fp_community_says:{fragments:{de:"community-says",en:"community-says",fr:"avis-communaute",es:"dice-la-comunidad",it:"dice-la-comunita",nl:"community-zegt",pl:"spolecznosc-mowi",pt:"comunidade-diz"},aliases:[]},fp_faq:{fragments:{de:"faq",en:"faq",fr:"faq",es:"faq",it:"faq",nl:"faq",pl:"faq",pt:"faq"},aliases:[]},fp_help_cards:{fragments:{de:"help-cards",en:"help-cards",fr:"cartes-aide",es:"tarjetas-ayuda",it:"schede-aiuto",nl:"hulpkaarten",pl:"karty-pomocy",pt:"cartoes-ajuda"},aliases:[]},fp_hgh:{fragments:{de:"hilfe-und-tausch",en:"help-and-exchange",fr:"aide-et-echange",es:"ayuda-e-intercambio",it:"aiuto-e-scambio",nl:"hulp-en-uitwisseling",pl:"pomoc-i-wymiana",pt:"ajuda-e-troca"},aliases:[]},fp_ht:{fragments:{de:"haustausch",en:"house-exchange",fr:"echange-de-maison",es:"intercambio-de-casa",it:"scambio-casa",nl:"huisruil",pl:"wymiana-domu",pt:"troca-de-casa"},aliases:[]},fp_map:{fragments:{de:"karte",en:"map",fr:"carte",es:"mapa",it:"mappa",nl:"kaart",pl:"mapa",pt:"mapa"},aliases:[]},fp_packages:{fragments:{de:"packages",en:"packages",fr:"forfaits",es:"paquetes",it:"pacchetti",nl:"pakketten",pl:"pakiety",pt:"pacotes"},aliases:[]},fp_partners:{fragments:{de:"unsere-partner",en:"our-partners",fr:"nos-partenaires",es:"nuestros-socios",it:"i-nostri-partner",nl:"onze-partners",pl:"nasi-partnerzy",pt:"nossos-parceiros"},aliases:["unserepartner"]},fp_quicklinks:{fragments:{de:"quicklinks",en:"quicklinks",fr:"liens-rapides",es:"enlaces-rapidos",it:"collegamenti-rapidi",nl:"snelle-links",pl:"szybkie-linki",pt:"links-rapidos"},aliases:[]},fp_sb:{fragments:{de:"social-business",en:"social-business",fr:"affaires-sociales",es:"negocios-sociales",it:"impresa-sociale",nl:"sociaal-ondernemen",pl:"biznes-spoleczny",pt:"ofertas-sociais"},aliases:["socialbusiness"]},fp_ugh:{fragments:{de:"urlaub-gegen-hilfe",en:"holiday-for-help",fr:"vacances-pour-aide",es:"vacaciones-para-ayuda",it:"vacanza-per-aiuto",nl:"vakantie-voor-hulp",pl:"wakacje-na-pomoc",pt:"feriado-para-ajuda"},aliases:[]},fp_wgh:{fragments:{de:"wohnen-gegen-hilfe",en:"housing-for-help",fr:"logement-pour-aide",es:"vivienda-para-ayuda",it:"alloggio-per-aiuto",nl:"huisvesting-voor-hulp",pl:"mieszkanie-za-pomoc",pt:"moradia-para-ajuda"},aliases:[]}}},c=Object.create(null),s=Object.create(null),f=0,d=Object.entries(l.definitions);f<d.length;f++)for(var p=o(d[f],2),h=p[0],m=p[1],y=0,g=Object.values(m.paths);y<g.length;y++){var w=g[y];c[w]=h,"prefix"===m.kind&&(s[w]=h)}for(var v=Object.create(null),b=0,L=Object.entries(l.anchors||{});b<L.length;b++){for(var M=o(L[b],2),x=M[0],j=M[1],E=0,S=Object.values(j.fragments||{});E<S.length;E++){var A=S[E];v[String(A).toLowerCase()]=x}var k,_=i(j.aliases||[]);try{for(_.s();!(k=_.n()).done;){var D=k.value;v[String(D).toLowerCase()]=x}}catch(e){_.e(e)}finally{_.f()}}var C=l.fallback,N=l.langcodes,O=l.definitions,T=l.anchors||{};function z(e){if(!e)return"/";var t=String(e).trim();try{t=new URL(t,"https://example.invalid").pathname||"/"}catch(e){}var n="/"+t.replace(/^\/+|\/+$/g,"");return"/"===n?"/":n.replace(/\/+$/,"")||"/"}function I(e){var t=e.replace(/^\/+|\/+$/g,"");return t?"/"+t.split("/")[0]:"/"}var P=new Set(["login","register","password","reset","logout","cancel","edit","autocomplete"]);function Y(e){if(c[e])return[c[e],""];var t=I(e);if(s[t]&&e.startsWith(t+"/")){var n=s[t],r=e.slice(t.length+1);return"user_profile"===n&&function(e){var t=String(e||"").split("/")[0].toLowerCase();return!(t&&!/^\d+$/.test(t))||P.has(t)}(r)?null:[n,r]}return s[e]?[s[e],""]:null}function U(e){var t,n=z(e);if("/"===n)return"/";var r=Y(n);if(!r)return n;var i=o(r,2),a=i[0],u=i[1],l=null===(t=O[a])||void 0===t||null===(t=t.paths)||void 0===t?void 0:t[C];return l?u?l+"/"+u:l:n}function B(e,t){var n,r=t||C,i=z(e);if("/"===i)return"/";var a=Y(i);if(!a)return i;var u=o(a,2),l=u[0],c=u[1],s=(null===(n=O[l])||void 0===n?void 0:n.paths)||{},f=s[r]||s[C];return f?c?f+"/"+c:f:i}function W(e){var t=z(e);return!!Y(t)&&null===function(e){var t=z(e);if("/"===t)return null;var n=Y(t);if(!n)return null;for(var i=o(n,1)[0],a=I(t),u=[],l=0,c=Object.entries(O[i].paths);l<c.length;l++){var s=o(c[l],2),f=s[0],d=s[1];d!==a&&d!==t||u.push(f)}var p=r(new Set(u));return 1===p.length?p[0]:null}(t)}function F(e){return null!==Y(z(e))}function Q(e){var t,n=z(e);if("/"===n)return null;var r=Y(n);if(!r)return null;var i=o(r,1)[0];return(null===(t=O[i])||void 0===t?void 0:t.kind)||"exact"}function R(){for(var e=new Set,t=0,n=Object.values(O);t<n.length;t++){var i=n[t];if("editorial"!==i.kind&&"system"!==i.kind)for(var o=0,a=Object.values(i.paths);o<a.length;o++){var u=a[o];e.add(u)}}return r(e)}function H(){for(var e=new Set,t=0,n=Object.values(O);t<n.length;t++){var i=n[t];if("prefix"===i.kind)for(var o=0,a=Object.values(i.paths);o<a.length;o++){var u=a[o];e.add(u.replace(/\/+$/,"")+"/")}}return r(e)}function G(e){if(!e)return"";var t=String(e).trim();
2t.startsWith("#")&&(t=t.slice(1));var n=t.indexOf("?");-1!==n&&(t=t.slice(0,n));try{return decodeURIComponent(t)}catch(e){return t}}function q(e){var t,n=G(e);if(!n)return"";var r=v[n.toLowerCase()];return r&&(null===(t=T[r])||void 0===t||null===(t=t.fragments)||void 0===t?void 0:t[C])||n}function Z(e,t){var n,r=t||C,i=q(e);if(!i)return"";var o=v[i.toLowerCase()];if(!o)return i;var a=(null===(n=T[o])||void 0===n?void 0:n.fragments)||{};return a[r]||a[C]||i}var J=n(85621);function K(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,i,o,a,u=[],l=!0,c=!1;try{if(o=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(r=o.call(n)).done)&&(u.push(r.value),u.length!==t);l=!0);}catch(e){c=!0,i=e}finally{try{if(!l&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(c)throw i}}return u}}(e,t)||V(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function V(e,t){if(e){if("string"==typeof e)return X(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?X(e,t):void 0}}function X(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function $(e){return $="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},$(e)}function ee(){var e;return"undefined"==typeof window?"de":(null===(e=window.drupalSettings)||void 0===e||null===(e=e.helpindeal)||void 0===e||null===(e=e.i18n)||void 0===e?void 0:e.lang)||"de"}function te(e){if(!e||"string"!=typeof e)return e;try{var t=new URL(e,"https://example.invalid");return F(t.pathname)?U(t.pathname):(0,J.canonicalCategoryPath)(t.pathname)||U(t.pathname)}catch(t){return F(e)?U(e):(0,J.canonicalCategoryPath)(e)||U(e)}}function ne(e,t){var n=t||ee();return e&&"string"==typeof e?F(e)?B(e,n):(0,J.localizeCategoryPath)(e,n)||B(e,n):e}function re(e){return F(e)?W(e):!!(0,J.isCategoryLanding)(e)&&(0,J.isCategoryPathAmbiguous)(e)}function ie(e,t){return Z(e,t||ee())}function oe(e,t){if(!e||"string"!=typeof e)return e;var n=t||ee();try{var r=new URL(e,"https://example.invalid"),i=ne(r.pathname,n),o=r.hash||"";if(o){var a=Z(o.replace(/^#/,""),n);o=a?"#".concat(a):o}return"".concat(i).concat(r.search).concat(o)}catch(t){return ne(e,n)}}function ae(e,t){if(!e||"string"!=typeof e)return e;var n=t&&"object"===$(t)&&!Array.isArray(t)?Object.entries(t).filter((function(e){var t=K(e,2)[1];return null!=t&&""!=="".concat(t)})):[];if(0===n.length)return e;try{var r,i=new URL(e,"https://example.invalid"),o=function(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=V(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,i=function(){};return{s:i,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,a=!0,u=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return a=e.done,e},e:function(e){u=!0,o=e},f:function(){try{a||null==n.return||n.return()}finally{if(u)throw o}}}}(n);try{for(o.s();!(r=o.n()).done;){var a=K(r.value,2),u=a[0],l=a[1];i.searchParams.set(u,String(l))}}catch(e){o.e(e)}finally{o.f()}return"".concat(i.pathname).concat(i.search).concat(i.hash)}catch(t){return e}}},45528(e,t,n){n.d(t,{AY:()=>Ge,Mw:()=>qe});var r=n(96540),i=n(87134),o=n(75132),a=n(79494),u=n(97665),l=n(47767),c=n(69134),s=n(43977),f=n(46387),d=n(63369),p=n(58171),h=n(58618),m=n(23563),y=n(50400),g=n(14685),w=n(35e3),v={width:"100%",height:"100%",viewBox:"0 0 200 120",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true"},b="#9f1c62",L="#0f9a95",M="#f7f1f6",x="#d9d9d9";function j(e){switch(e.name){case"welcome":return r.createElement("svg",v,r.createElement("rect",{x:"16",y:"20",width:"168",height:"80",rx:"16",fill:M}),r.createElement("circle",{cx:"70",cy:"60",r:"22",fill:"#fff",stroke:b,strokeWidth:"3"}),r.createElement("circle",{cx:"130",cy:"60",r:"22",fill:"#fff",stroke:L,strokeWidth:"3"}),r.createElement("path",{d:"M88 60h24",stroke:b,strokeWidth:"3",strokeLinecap:"round"}),r.createElement("path",{d:"M100 40v40",stroke:L,strokeWidth:"2",strokeLinecap:"round",opacity:"0.5"}));case"deals":return r.createElement("svg",v,r.createElement("rect",{x:"28",y:"18",width:"70",height:"84",rx:"10",fill:"#fff",stroke:x,strokeWidth:"2"}),r.createElement("rect",{x:"38",y:"28",width:"50",height:"32",rx:"6",fill:M}),r.createElement("rect",{x:"38",y:"68",width:"36",height:"6",rx:"3",fill:b,opacity:"0.7"}),r.createElement("rect",{x:"38",y:"80",width:"28",height:"6",rx:"3",fill:x}),r.createElement("rect",{x:"102",y:"28",width:"70",height:"84",rx:"10",fill:"#fff",stroke:b,strokeWidth:"2.5"}),r.createElement("rect",{x:"112",y:"38",width:"50",height:"32",rx:"6",fill:M}),r.createElement("rect",{x:"112",y:"78",width:"36",height:"6",rx:"3",fill:L}),r.createElement("rect",{x:"112",y:"90",width:"28",height:"6",rx:"3",fill:x}));case"nav":return r.createElement("svg",v,r.createElement("rect",{x:"20",y:"36",width:"160",height:"48",rx:"12",fill:M}),r.createElement("rect",{x:"32",y:"50",width:"40",height:"10",rx:"5",fill:x}),r.createElement("rect",{x:"80",y:"50",width:"40",height:"10",rx:"5",fill:x}),r.createElement("rect",{x:"128",y:"46",width:"40",height:"18",rx:"9",fill:b}));case"create":return r.createElement("svg",v,r.createElement("rect",{x:"40",y:"16",width:"120",height:"88",rx:"12",fill:"#fff",stroke:x,strokeWidth:"2"}),r.createElement("rect",{x:"56",y:"32",width:"88",height:"10",rx:"5",fill:x}),r.createElement("rect",{x:"56",y:"52",width:"56",height:"28",rx:"8",fill:M,stroke:b,strokeWidth:"2"}),r.createElement("rect",{x:"120",y:"52",width:"24",height:"28",rx:"8",fill:M}),r.createElement("circle",{cx:"148",cy:"88",r:"14",fill:b}),r.createElement("path",{d:"M148 81v14M141 88h14",stroke:"#fff",strokeWidth:"2.5",strokeLinecap:"round"}));case"profile":return r.createElement("svg",v,r.createElement("circle",{cx:"64",cy:"56",r:"28",fill:M,stroke:b,strokeWidth:"3"}),r.createElement("circle",{cx:"64",cy:"48",r:"10",fill:b,opacity:"0.35"}),r.createElement("path",{d:"M44 78c6-12 34-12 40 0",stroke:b,strokeWidth:"3",strokeLinecap:"round"}),r.createElement("rect",{x:"108",y:"34",width:"64",height:"12",rx:"6",fill:x}),r.createElement("rect",{x:"108",y:"54",width:"48",height:"10",rx:"5",fill:L,opacity:"0.7"}),r.createElement("rect",{x:"108",y:"72",width:"56",height:"10",rx:"5",fill:M,stroke:b,strokeWidth:"1.5"}));case"matches":return r.createElement("svg",v,r.createElement("rect",{x:"18",y:"24",width:"52",height:"72",rx:"10",fill:"#fff",stroke:b,strokeWidth:"2.5"}),r.createElement("rect",{x:"26",y:"34",width:"36",height:"20",rx:"5",fill:M}),r.createElement("rect",{x:"26",y:"62",width:"28",height:"6",rx:"3",fill:x}),r.createElement("path",{d:"M78 60h20",stroke:L,strokeWidth:"3",strokeLinecap:"round"}),r.createElement("path",{d:"M92 50l10 10-10 10",stroke:L,strokeWidth:"3",strokeLinecap:"round",strokeLinejoin:"round"}),r.createElement("rect",{x:"108",y:"24",width:"74",height:"32",rx:"8",fill:M,stroke:x,strokeWidth:"2"}),r.createElement("rect",{x:"108",y:"64",width:"74",height:"32",rx:"8",fill:M,stroke:x,strokeWidth:"2"}));case"credits":return r.createElement("svg",v,r.createElement("circle",{cx:"70",cy:"60",r:"32",fill:M,stroke:b,strokeWidth:"3"}),r.createElement("text",{x:"70",y:"68",textAnchor:"middle",fill:b,fontSize:"28",fontWeight:"700",fontFamily:"system-ui,sans-serif"},"C"),r.createElement("rect",{x:"118",y:"30",width:"54",height:"24",rx:"8",fill:b}),r.createElement("rect",{x:"118",y:"66",width:"54",height:"24",rx:"8",fill:L,opacity:"0.85"}));case"earn":return r.createElement("svg",v,r.createElement("path",{d:"M100 18l12 28h30l-24 18 10 30-28-18-28 18 10-30-24-18h30z",fill:M,stroke:b,strokeWidth:"2.5",strokeLinejoin:"round"}),r.createElement("circle",{cx:"48",cy:"88",r:"10",fill:L,opacity:"0.8"}),r.createElement("circle",{cx:"152",cy:"88",r:"10",fill:b,opacity:"0.7"}));case"done":return r.createElement("svg",v,r.createElement("circle",{cx:"100",cy:"60",r:"36",fill:M,stroke:L,strokeWidth:"3"}),r.createElement("path",{d:"M80 60l12 12 28-28",stroke:L,strokeWidth:"4",strokeLinecap:"round",strokeLinejoin:"round"}));default:return null}}function E(e){var t=e.illustration,n=e.body,i=e.chapter,o=e.stepLabel,a=e.variant,u="welcome"===a,l="done"===a;return r.createElement("div",{className:"hid-tour-panel-body".concat(u?" is-welcome":"").concat(l?" is-done":"")},t?r.createElement("div",{className:"hid-tour-illustration"},r.createElement(j,{name:t})):null,(i||o)&&r.createElement("div",{className:"hid-tour-meta"},i?r.createElement("span",{className:"hid-tour-chapter"},i):null,o?r.createElement("span",{className:"hid-tour-step"},o):null),r.createElement("div",{className:"hid-tour-text"},n))}function S(e){return S="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},S(e)}function A(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function k(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};
2t%2?A(Object(n),!0).forEach((function(t){_(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):A(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function _(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=S(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=S(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==S(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var D=18,C=function(e){return r.createElement("strong",null,e)};function N(e){var t=e.illustration,n=e.chapter,i=e.index,o=e.body,u=e.variant,l=i>0?(0,a.t)("ui.tour.step_label",{index:i,total:D}):null;return r.createElement(E,{illustration:t,chapter:n,stepLabel:l,body:o,variant:u})}var O=[{id:"welcome",route:null,selector:null,title:(0,a.t)("ui.tour.welcome.title"),illustration:"welcome",chapter:(0,a.t)("ui.tour.chapter.tutorial"),variant:"welcome",body:r.createElement(r.Fragment,null,r.createElement("p",null,(0,a.t)("ui.tour.welcome.p1")),r.createElement("p",{className:"hid-tour-reward"},(0,a.dE)("ui.tour.welcome.p2",{strong:C})),r.createElement("p",null,(0,a.t)("ui.tour.welcome.p3")))},{id:"search-bar",route:"/search",selector:'[data-tour="search-bar"]',title:(0,a.t)("ui.tour.search_bar.title"),illustration:"deals",chapter:(0,a.t)("ui.tour.chapter.discover"),placement:"bottom",mobilePlacement:"bottom",mobileSearchLayout:"peek",panelSize:"dense",body:r.createElement(r.Fragment,null,r.createElement("p",null,(0,a.dE)("ui.tour.search_bar.p1",{strong:C})),r.createElement("p",null,(0,a.dE)("ui.tour.search_bar.p2",{strong:C})))},{id:"deal-card",route:"/search",selector:'[data-tour="deal-card"]',title:(0,a.t)("ui.tour.deal_card.title"),illustration:"deals",chapter:(0,a.t)("ui.tour.chapter.discover"),placement:"right",mobilePlacement:"bottom",mobileSearchLayout:"deal-card",panelSize:"dense",body:r.createElement(r.Fragment,null,r.createElement("p",null,(0,a.dE)("ui.tour.deal_card.p1",{strong:C})),r.createElement("p",null,(0,a.dE)("ui.tour.deal_card.p2",{strong:C})))},{id:"user-menu",route:"/mein-profil",selector:'.user-menu-dropdown, [data-tour="user-menu-overlay"]',title:(0,a.t)("ui.tour.user_menu.title"),illustration:"nav",chapter:(0,a.t)("ui.tour.chapter.orientation"),placement:"left",mobilePlacement:"bottom",pinTop:!0,skipScroll:!0,prepare:"open-user-menu",prepareWaitMs:500,cleanup:"close-user-menu",body:r.createElement(r.Fragment,null,r.createElement("p",null,(0,a.dE)("ui.tour.user_menu.p1",{strong:C})),r.createElement("p",null,(0,a.dE)("ui.tour.user_menu.p2",{strong:C})))},{id:"deal-category",route:"/deal-anlegen",selector:'[data-tour="deal-category-segmented"]',title:(0,a.t)("ui.tour.deal_category.title"),illustration:"create",chapter:(0,a.t)("ui.tour.chapter.create"),placement:"bottom",panelSize:"wide",body:r.createElement(r.Fragment,null,r.createElement("p",null,(0,a.dE)("ui.tour.deal_category.p1",{strong:C})),r.createElement("p",null,(0,a.dE)("ui.tour.deal_category.p2",{strong:C})),r.createElement("p",null,(0,a.dE)("ui.tour.deal_category.p3",{strong:C})),r.createElement("p",null,(0,a.dE)("ui.tour.deal_category.p4",{strong:C})),r.createElement("p",null,(0,a.dE)("ui.tour.deal_category.p5",{strong:C})),r.createElement("p",null,(0,a.dE)("ui.tour.deal_category.p6",{strong:C})))},{id:"deal-role",route:"/deal-anlegen",selector:'[data-tour="deal-role-segmented"]',title:(0,a.t)("ui.tour.deal_role.title"),illustration:"create",chapter:(0,a.t)("ui.tour.chapter.create"),placement:"bottom",body:r.createElement(r.Fragment,null,r.createElement("p",null,(0,a.dE)("ui.tour.deal_role.p1",{strong:C})),r.createElement("p",null,(0,a.dE)("ui.tour.deal_role.p2",{strong:C})),r.createElement("p",null,(0,a.t)("ui.tour.deal_role.p3")))},{id:"nav-tabs",route:"/deal-anlegen",selector:'[data-tour="account-nav-tabs"]',title:(0,a.t)("ui.tour.nav_tabs.title"),illustration:"nav",chapter:(0,a.t)("ui.tour.chapter.orientation"),placement:"bottom",pinTop:!0,skipScroll:!0,body:r.createElement(r.Fragment,null,r.createElement("p",null,(0,a.t)("ui.tour.nav_tabs.p1")),r.createElement("p",null,(0,a.t)("ui.tour.nav_tabs.p2")))},{id:"profile-hero",route:"/mein-profil",selector:'[data-tour="my-profile-hero"]',title:(0,a.t)("ui.tour.profile_hero.title"),illustration:"profile",chapter:(0,a.t)("ui.tour.chapter.profile"),placement:"bottom",body:r.createElement(r.Fragment,null,r.createElement("p",null,(0,a.dE)("ui.tour.profile_hero.p1",{strong:C})),r.createElement("p",null,(0,a.t)("ui.tour.profile_hero.p2")))},{id:"deal-profile",route:"/mein-profil",selector:'[data-tour="deal-profile-section"]',title:(0,a.t)("ui.tour.deal_profile.title"),illustration:"profile",chapter:(0,a.t)("ui.tour.chapter.deal_profile"),placement:"top",mobilePlacement:"top",panelSize:"dense",body:r.createElement(r.Fragment,null,r.createElement("p",null,(0,a.dE)("ui.tour.deal_profile.p1",{strong:C})),r.createElement("p",null,(0,a.dE)("ui.tour.deal_profile.p2",{strong:C})))},{id:"my-deals-tab",route:"/meine-deals",selector:'[data-tour="account-tab-deals"]',title:(0,a.t)("ui.tour.my_deals.title"),illustration:"deals",chapter:(0,a.t)("ui.tour.chapter.manage"),placement:"bottom",body:r.createElement(r.Fragment,null,r.createElement("p",null,(0,a.dE)("ui.tour.my_deals.p1",{strong:C})),r.createElement("p",null,(0,a.t)("ui.tour.my_deals.p2")),r.createElement("p",null,(0,a.t)("ui.tour.my_deals.p3")))},{id:"favorites-tab",route:"/favoriten",selector:'[data-tour="account-tab-favorites"]',title:(0,a.t)("ui.tour.favorites.title"),illustration:"deals",chapter:(0,a.t)("ui.tour.chapter.manage"),placement:"bottom",body:r.createElement(r.Fragment,null,r.createElement("p",null,(0,a.dE)("ui.tour.favorites.p1",{strong:C})),r.createElement("p",null,(0,a.t)("ui.tour.favorites.p2")))},{id:"matches-nav",route:"/meine-matches",selector:'[data-tour="matches-deals-nav"]',title:(0,a.t)("ui.tour.matches.title"),illustration:"matches",chapter:(0,a.t)("ui.tour.chapter.matches"),placement:"right",mobilePlacement:"bottom",panelSize:"dense",body:r.createElement(r.Fragment,null,r.createElement("p",null,(0,a.t)("ui.tour.matches.p1")),r.createElement("p",null,(0,a.dE)("ui.tour.matches.p2",{strong:C})))},{id:"credits-tab",route:"/meine-credits",selector:'[data-tour="account-tab-credits"]',title:(0,a.t)("ui.tour.credits_tab.title"),illustration:"credits",chapter:(0,a.t)("ui.tour.chapter.credits"),placement:"bottom",body:r.createElement(r.Fragment,null,r.createElement("p",null,(0,a.t)("ui.tour.credits_tab.p1")),r.createElement("p",null,(0,a.dE)("ui.tour.credits_tab.p2",{strong:C})))},{id:"credits-transactions",route:"/meine-credits",selector:'[data-tour="credits-transactions"]',title:(0,a.t)("ui.tour.transactions.title"),illustration:"credits",chapter:(0,a.t)("ui.tour.chapter.credits"),placement:"left",mobilePlacement:"bottom",panelSize:"dense",body:r.createElement(r.Fragment,null,r.createElement("p",null,(0,a.dE)("ui.tour.transactions.p1",{strong:C})),r.createElement("p",null,(0,a.t)("ui.tour.transactions.p2")))},{id:"credits-packages",route:"/meine-credits",selector:'[data-tour="credits-packages"]',title:(0,a.t)("ui.tour.packages.title"),illustration:"credits",chapter:(0,a.t)("ui.tour.chapter.credits"),placement:"bottom",mobilePlacement:"bottom",body:r.createElement(r.Fragment,null,r.createElement("p",null,(0,a.dE)("ui.tour.packages.p1",{strong:C})),r.createElement("p",null,(0,a.dE)("ui.tour.packages.p2",{strong:C})),r.createElement("p",null,(0,a.dE)("ui.tour.packages.p3",{strong:C})))},{id:"credits-spend",route:"/meine-credits",selector:'[data-tour="credits-education"]',title:(0,a.t)("ui.tour.spend.title"),illustration:"credits",chapter:(0,a.t)("ui.tour.chapter.credits"),placement:"bottom",mobilePlacement:"bottom",panelSize:"dense",body:r.createElement(r.Fragment,null,r.createElement("p",null,(0,a.t)("ui.tour.spend.p1")),r.createElement("p",null,(0,a.dE)("ui.tour.spend.p2",{strong:C})),r.createElement("p",null,(0,a.t)("ui.tour.spend.p3")))},{id:"credits-earn",route:"/meine-credits",selector:'[data-tour="credits-usage-mini"]',title:(0,a.t)("ui.tour.earn.title"),illustration:"earn",chapter:(0,a.t)("ui.tour.chapter.credits"),placement:"left",mobilePlacement:"bottom",body:r.createElement(r.Fragment,null,r.createElement("p",null,(0,a.dE)("ui.tour.earn.p1",{strong:C})),r.createElement("p",null,(0,a.dE)("ui.tour.earn.p2",{strong:C})))},{id:"account-tab",route:"/account",selector:'[data-tour="account-tab-account"]',title:(0,a.t)("ui.tour.account.title"),illustration:"profile",chapter:(0,a.t)("ui.tour.chapter.account"),placement:"bottom",body:r.createElement(r.Fragment,null,r.createElement("p",null,(0,a.dE)("ui.tour.account.p1",{strong:C})),r.createElement("p",null,(0,a.t)("ui.tour.account.p2")))},{id:"portal-faq",route:"/mein-profil",selector:'[data-tour="portal-faq"]',title:(0,a.t)("ui.tour.portal_faq.title"),illustration:"nav",chapter:(0,a.t)("ui.tour.chapter.help"),placement:"left",mobilePlacement:"bottom",pinTop:!0,skipScroll:!0,prepare:"open-portal-faq",prepareWaitMs:550,cleanup:"close-side-menu",body:r.createElement(r.Fragment,null,r.createElement("p",null,(0,a.dE)("ui.tour.portal_faq.p1",{strong:C})),r.createElement("p",null,(0,a.t)("ui.tour.portal_faq.p2")),r.createElement("p",null,(0,a.dE)("ui.tour.portal_faq.p3",{a:function(e){return r.createElement("a",{href:"mailto:[email protected]"},e)}})))},{id:"done",route:null,selector:null,title:(0,a.t)("ui.tour.done.title"),illustration:"done",chapter:(0,a.t)("ui.tour.chapter.done"),variant:"done",confetti:!0,body:r.createElement(r.Fragment,null,r.createElement("p",null,(0,a.dE)("ui.tour.done.p1",{strong:C})),r.createElement("p",{className:"hid-tour-reward"},(0,a.dE)("ui.tour.done.p2",{strong:C})),r.createElement("p",null,(0,a.dE)("ui.tour.done.p3",{strong:C})))}].map((function(e,t){return k(k({},e),{},{description:N({illustration:e.illustration,chapter:e.chapter,index:"welcome"===e.id||"done"===e.id?0:t,body:e.body,variant:e.variant})})}));var T=n(88579),z=n(29249);function I(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,i,o,a,u=[],l=!0,c=!1;try{if(o=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;
2!(l=(r=o.call(n)).done)&&(u.push(r.value),u.length!==t);l=!0);}catch(e){c=!0,i=e}finally{try{if(!l&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(c)throw i}}return u}}(e,t)||Y(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function P(e){return function(e){if(Array.isArray(e))return U(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||Y(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Y(e,t){if(e){if("string"==typeof e)return U(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?U(e,t):void 0}}function U(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function B(e){var t=e.current,n=e.onGoTo,i=e.onPause,o=(0,r.useRef)(null),u=I((0,r.useState)(7),2),l=u[0],c=u[1];(0,r.useEffect)((function(){var e=o.current;if(e){var t=function(){var t,n,r=e.querySelectorAll(".hid-tour-page-nav-btn"),i=Array.from(r).reduce((function(e,t){return e+t.getBoundingClientRect().width}),0),o=Math.max(0,e.clientWidth-i-12);c((t=o,n=Math.floor((t+2)/26),Math.max(5,Math.min(D,n))))};if(t(),"undefined"==typeof ResizeObserver)return window.addEventListener("resize",t),function(){return window.removeEventListener("resize",t)};var n=new ResizeObserver(t);return n.observe(e),function(){return n.disconnect()}}}),[]);var s=function(e){e<0||e>=O.length||null==n||n(e)},f=(0,r.useMemo)((function(){return function(e,t){if(t<7)return[e>1?{type:"page",page:1}:{type:"placeholder"},{type:"jump-prev"},{type:"page",page:e},{type:"jump-next"},e<D?{type:"page",page:D}:{type:"placeholder"}];if(t>=D)return Array.from({length:D},(function(e,t){return{type:"page",page:t+1}}));var n=t%2==0?t-1:t,r=Math.max(1,Math.floor((n-5)/2)),i=e-r,o=e+r;return i<3?(i=1,o=n-2,[].concat(P(Array.from({length:o},(function(e,t){return{type:"page",page:t+1}}))),[{type:"jump-next"},{type:"page",page:D}])):o>16?(i=D-n+3,[{type:"page",page:1},{type:"jump-prev"}].concat(P(Array.from({length:D-i+1},(function(e,t){return{type:"page",page:i+t}}))))):[{type:"page",page:1},{type:"jump-prev"}].concat(P(Array.from({length:o-i+1},(function(e,t){return{type:"page",page:i+t}}))),[{type:"jump-next"},{type:"page",page:D}])}(t,l)}),[t,l]);return r.createElement("div",{className:"hid-tour-spotlight-actions"},r.createElement(y.Ay,{type:"text",size:"small",className:"hid-tour-pause-btn",onClick:function(){return null==i?void 0:i()}},(0,a.t)("ui.tour.pause")),r.createElement("div",{ref:o,className:"hid-tour-pagination-nav"},r.createElement(y.Ay,{type:"default",size:"small",className:"hid-tour-page-nav-btn",onClick:function(){return s(t-1)}},(0,a.t)("ui.tour.back")),r.createElement("nav",{className:"hid-tour-pagination","aria-label":(0,a.t)("ui.tour.pagination_aria")},f.map((function(e,n){if("placeholder"===e.type)return r.createElement("span",{key:"placeholder-".concat(n),className:"hid-tour-page-placeholder"});if("page"===e.type){var i=e.page===t;return r.createElement("button",{key:"page-".concat(e.page),type:"button",className:"hid-tour-page-item".concat(i?" is-active":""),"aria-label":(0,a.t)("ui.tour.goto_step_aria",{page:e.page}),"aria-current":i?"step":void 0,onClick:function(){return s(e.page)}},e.page)}var o="jump-prev"===e.type,u=o?t<=1:t>=D,l=o?Math.max(1,t-5):Math.min(D,t+5);return r.createElement("button",{key:"".concat(e.type,"-").concat(n),type:"button",className:"hid-tour-page-jump","aria-label":o?(0,a.t)("ui.tour.jump_back_aria"):(0,a.t)("ui.tour.jump_forward_aria"),disabled:u,onClick:function(){return s(l)}},o?r.createElement(T.A,null):r.createElement(z.A,null))}))),r.createElement(y.Ay,{type:"primary",size:"small",className:"hid-tour-page-nav-btn",onClick:function(){return s(t+1)}},(0,a.t)("ui.tour.next"))))}var W=n(89995),F=n(85072),Q=n.n(F),R=n(97825),H=n.n(R),G=n(77659),q=n.n(G),Z=n(55056),J=n.n(Z),K=n(10540),V=n.n(K),X=n(41113),$=n.n(X),ee=n(25976),te={};
2te.styleTagTransform=$(),te.setAttributes=J(),te.insert=q().bind(null,"head"),te.domAPI=H(),te.insertStyleElement=V();Q()(ee.A,te);ee.A&&ee.A.locals&&ee.A.locals;function ne(e){return ne="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},ne(e)}function re(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function ie(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?re(Object(n),!0).forEach((function(t){oe(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):re(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function oe(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=ne(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=ne(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==ne(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function ae(){var e,t,n="function"==typeof Symbol?Symbol:{},r=n.iterator||"@@iterator",i=n.toStringTag||"@@toStringTag";function o(n,r,i,o){var l=r&&r.prototype instanceof u?r:u,c=Object.create(l.prototype);return ue(c,"_invoke",function(n,r,i){var o,u,l,c=0,s=i||[],f=!1,d={p:0,n:0,v:e,a:p,f:p.bind(e,4),d:function(t,n){return o=t,u=0,l=e,d.n=n,a}};function p(n,r){for(u=n,l=r,t=0;!f&&c&&!i&&t<s.length;t++){var i,o=s[t],p=d.p,h=o[2];n>3?(i=h===r)&&(l=o[(u=o[4])?5:(u=3,3)],o[4]=o[5]=e):o[0]<=p&&((i=n<2&&p<o[1])?(u=0,d.v=r,d.n=o[1]):p<h&&(i=n<3||o[0]>r||r>h)&&(o[4]=n,o[5]=r,d.n=h,u=0))}if(i||n>1)return a;throw f=!0,r}return function(i,s,h){if(c>1)throw TypeError("Generator is already running");for(f&&1===s&&p(s,h),u=s,l=h;(t=u<2?e:l)||!f;){o||(u?u<3?(u>1&&(d.n=-1),p(u,l)):d.n=l:d.v=l);try{if(c=2,o){if(u||(i="next"),t=o[i]){if(!(t=t.call(o,l)))throw TypeError("iterator result is not an object");if(!t.done)return t;l=t.value,u<2&&(u=0)}else 1===u&&(t=o.return)&&t.call(o),u<2&&(l=TypeError("The iterator does not provide a '"+i+"' method"),u=1);o=e}else if((t=(f=d.n<0)?l:n.call(r,d))!==a)break}catch(t){o=e,u=1,l=t}finally{c=1}}return{value:t,done:f}}}(n,i,o),!0),c}var a={};function u(){}function l(){}function c(){}t=Object.getPrototypeOf;var s=[][r]?t(t([][r]())):(ue(t={},r,(function(){return this})),t),f=c.prototype=u.prototype=Object.create(s);function d(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,c):(e.__proto__=c,ue(e,i,"GeneratorFunction")),e.prototype=Object.create(f),e}return l.prototype=c,ue(f,"constructor",c),ue(c,"constructor",l),l.displayName="GeneratorFunction",ue(c,i,"GeneratorFunction"),ue(f),ue(f,i,"Generator"),ue(f,r,(function(){return this})),ue(f,"toString",(function(){return"[object Generator]"})),(ae=function(){return{w:o,m:d}})()}function ue(e,t,n,r){var i=Object.defineProperty;try{i({},"",{})}catch(e){i=0}ue=function(e,t,n,r){function o(t,n){ue(e,t,(function(e){return this._invoke(t,n,e)}))}t?i?i(e,t,{value:n,enumerable:!r,configurable:!r,writable:!r}):e[t]=n:(o("next",0),o("throw",1),o("return",2))},ue(e,t,n,r)}function le(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,i,o,a,u=[],l=!0,c=!1;try{if(o=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(r=o.call(n)).done)&&(u.push(r.value),u.length!==t);l=!0);}catch(e){c=!0,i=e}finally{try{if(!l&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(c)throw i}}return u}}(e,t)||fe(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function ce(e,t,n,r,i,o,a){try{var u=e[o](a),l=u.value}catch(e){return void n(e)}u.done?t(l):Promise.resolve(l).then(r,i)}function se(e){return function(){var t=this,n=arguments;return new Promise((function(r,i){var o=e.apply(t,n);
2function a(e){ce(o,r,i,a,u,"next",e)}function u(e){ce(o,r,i,a,u,"throw",e)}a(void 0)}))}}function fe(e,t){if(e){if("string"==typeof e)return de(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?de(e,t):void 0}}function de(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function pe(e){return new Promise((function(t){return setTimeout(t,e)}))}function he(e){if(!e)return null;var t,n=e.split(",").map((function(e){return e.trim()})).filter(Boolean),r=function(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=fe(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,i=function(){};return{s:i,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,a=!0,u=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return a=e.done,e},e:function(e){u=!0,o=e},f:function(){try{a||null==n.return||n.return()}finally{if(u)throw o}}}}(n);try{for(r.s();!(t=r.n()).done;){var i=t.value,o=document.querySelector(i);if(o&&o.getClientRects().length>0)return o}}catch(e){r.e(e)}finally{r.f()}return null}function me(){var e=0;return document.querySelectorAll("header, .ant-layout-header").forEach((function(t){for(var n=t;n&&n!==document.body;){var r=window.getComputedStyle(n);if("fixed"===r.position||"sticky"===r.position){if("hidden"!==r.visibility&&"none"!==r.display){var i=n.getBoundingClientRect();i.height>=8&&i.top<220&&i.bottom>e&&(e=i.bottom)}break}n=n.parentElement}var o=t.getBoundingClientRect();o.top<=1&&o.bottom>e&&o.bottom<240&&(e=o.bottom)})),Math.max(0,Math.round(e))}function ye(e){return ge.apply(this,arguments)}function ge(){return(ge=se(ae().m((function e(t){var n,r,i,o,a,u;return ae().w((function(e){for(;;)switch(e.n){case 0:if(t){e.n=1;break}return e.a(2);case 1:n=0;case 2:if(!(n<4)){e.n=6;break}if(!((r=me())<40)){e.n=3;break}return e.a(2);case 3:if(i=t.getBoundingClientRect(),o=16,!(i.top>=r+o)){e.n=4;break}return e.a(2);case 4:a=i.top+window.scrollY,u=Math.max(0,Math.round(a-r-o));try{window.scrollTo({top:u,left:0,behavior:"auto"})}catch(e){window.scrollTo(0,u)}return e.n=5,pe(140);case 5:n+=1,e.n=2;break;case 6:return e.a(2)}}),e)})))).apply(this,arguments)}function we(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"bottom";if(e&&!function(e){for(var t=e;t&&t!==document.body;){var n=window.getComputedStyle(t).position;if("fixed"===n||"sticky"===n)return!0;t=t.parentElement}return!1}(e)){var n=e.getBoundingClientRect(),r=window.innerHeight||0;if(r){var i,o=Math.min(Math.round(.52*r),420),a=me();i="top"===t?o+12:"bottom"===t?Math.max(76,a+12):"left"===t||"right"===t?Math.max(a+12,(r-Math.min(n.height,.6*r))/2):Math.max(a+12,(r-n.height)/2);var u=n.top-i;if(!(Math.abs(u)<8))try{window.scrollBy({top:u,left:0,behavior:"auto"})}catch(e){window.scrollBy(0,u)}}}}function ve(e){return be.apply(this,arguments)}function be(){return be=se(ae().m((function e(t){var n,r,i,o,a,u,l,c=arguments;return ae().w((function(e){for(;;)switch(e.n){case 0:if(r=(n=c.length>1&&void 0!==c[1]?c[1]:{}).skipScroll,i=void 0!==r&&r,o=n.placement,a=void 0===o?"bottom":o,t){e.n=1;break}return e.a(2,null);case 1:u=0;case 2:if(!(u<50)){e.n=6;break}if(!(l=he(t))){e.n=4;break}if(i){e.n=3;break}return we(l,a),e.n=3,pe(280);case 3:return e.a(2,l);case 4:return e.n=5,pe(120);case 5:u+=1,e.n=2;break;case 6:return e.a(2,null)}}),e)}))),be.apply(this,arguments)}function Le(){return!("undefined"==typeof window||!window.matchMedia)&&window.matchMedia("(max-width: 768px)").matches}var Me=!1;function xe(e,t,n){return!!e&&(e.style.getPropertyValue(t)!==n&&(e.style.setProperty(t,n,"important"),!0))}function je(){var e=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}).placement,t=void 0===e?"bottom":e;if(!Me){var n=document.querySelector(".ant-tour.hid-tour:not(.ant-tour-mask):not(.ant-tour-target-placeholder)");if(n){Me=!0;try{var r,i=10,o=window.innerWidth,a=window.innerHeight,u=!("undefined"==typeof window||!window.matchMedia)&&window.matchMedia("(max-width: 768px), (max-height: 760px)").matches,l=Le(),c=n.classList.contains("hid-tour--hero"),s=n.classList.contains("hid-tour--wide"),f=c?Math.max(280,a-20):u?Math.max(200,Math.min(Math.round(.42*a),a-20)):Math.max(220,a-20),d="".concat(Math.round(f),"px"),p=c?400:!s||l||u?360:520,h=Math.round(Math.min(o-20,p)),m="".concat(h,"px");xe(n,"max-height",d),xe(n,"max-width",m),xe(n,"width",m),xe(n,"box-sizing","border-box"),xe(n,"overflow","hidden");var y=n.querySelector(".ant-tour-section")||n.querySelector(".ant-tour-panel");y&&(xe(y,"max-height",d),xe(y,"max-width",m),xe(y,"width",m),xe(y,"box-sizing","border-box"),xe(y,"overflow","hidden"),xe(y,"border-radius","12px"),xe(y,"display","flex"),xe(y,"flex-direction","column"));var g=n.querySelector(".ant-tour-description");g&&(xe(g,"flex","1 1 auto"),xe(g,"min-height","0"),xe(g,"overflow-y","auto")),u&&!c&&n.querySelectorAll(".hid-tour-illustration").forEach((function(e){xe(e,"display","none")})),u&&c&&a<=700&&n.querySelectorAll(".hid-tour-illustration").forEach((function(e){xe(e,"display","none")})),n.offsetHeight;var w=n.getBoundingClientRect(),v=w.left,b=w.top,L=Math.min(w.width||h,h),M=Math.min(w.height||f,f),x=document.querySelector(".ant-tour-target-placeholder")||document.querySelector("[class*='ant-tour-target']"),j=null==x||null===(r=x.getBoundingClientRect)||void 0===r?void 0:r.call(x),E=Boolean(j)&&j.height>0&&j.width>0,S=E&&j.height>
2Math.min(.42*a,360),A="left"===t||"right"===t;if(c&&!l)v=Math.round((o-L)/2),b=Math.round((a-M)/2);else if(E&&A&&!l)v="left"===t?Math.round(Math.max(i,j.left-8-L)):Math.round(Math.min(j.right+8,o-i-L)),(b=Math.round(j.top))+M>a-i&&(b=Math.max(i,a-i-M)),b<i&&(b=i);else{var k=v<i||v+L>o-i||w.right>o-i||w.left<-20;if(L>=o-20-1||l&&(s||k)?v=Math.round((o-L)/2):(s||k)&&(s&&!u?v=Math.round((o-L)/2):(v=Math.max(i,Math.min(v,o-i-L)),(w.left<-20||w.right>o+20)&&(v=Math.round((o-L)/2)))),(b<i||w.bottom>a-i||w.height>f+1)&&(b=i,w.height<=a-20&&w.bottom>a-i&&(b=Math.max(i,a-i-M))),E){var _=j.top-i,D=a-i-j.bottom;if(S&&!A)_>=M+8?b=j.top-8-M:D>=M+8?b=j.bottom+8:(b=i,v=Math.round((o-L)/2));else if(!A){if(b<j.bottom+8&&b+M>j.top-8){var C=j.bottom+8,N=j.top-8-M;C+M<=a-i?b=C:N>=i&&(b=N)}}}}(l||u&&s||s&&!A)&&(v=Math.round((o-h)/2)),b=Math.max(i,Math.min(b,a-i-M)),v=Math.max(i,Math.min(v,o-i-h)),xe(n,"position","fixed"),xe(n,"right","auto"),xe(n,"bottom","auto"),xe(n,"transform","none"),xe(n,"inset","auto"),xe(n,"width",m),xe(n,"max-width",m),xe(n,"left","".concat(Math.round(v),"px")),xe(n,"top","".concat(Math.round(b),"px")),n.classList.toggle("hid-tour--tall-target",S),n.offsetHeight;var O=n.getBoundingClientRect();if(O.right>o-i+1||O.left<9||O.width>h+1){var T=Math.round((o-h)/2);xe(n,"width",m),xe(n,"max-width",m),xe(n,"left","".concat(T,"px")),y&&(xe(y,"width",m),xe(y,"max-width",m))}document.body.classList.toggle("hid-tour-compact",u)}finally{Me=!1}}}}function Ee(e){e&&"undefined"!=typeof window&&window.dispatchEvent(new CustomEvent("helpindeal:tour-prepare",{detail:{action:e}}))}function Se(){try{var e=["#9f1c62","#0f9a95","#f7b267","#ffffff"];(0,g.A)({particleCount:90,spread:70,origin:{y:.55},colors:e,zIndex:1200}),setTimeout((function(){(0,g.A)({particleCount:60,angle:60,spread:55,origin:{x:0,y:.7},colors:e,zIndex:1200}),(0,g.A)({particleCount:60,angle:120,spread:55,origin:{x:1,y:.7},colors:e,zIndex:1200})}),220)}catch(e){}}function Ae(e){var t,n,i,o=e.open,u=e.current,s=e.onCurrentChange,f=e.onCloseRequest,d=e.onComplete,p=e.onSnooze,h=e.onSkip,g=e.onBegin,v=e.onPause,b=(0,c.Qk)(),L=(0,l.zy)(),M=le((0,r.useState)(!1),2),x=M[0],j=M[1],E=le((0,r.useState)(0),2),S=E[0],A=E[1],k=(0,r.useRef)(!1),_=(0,r.useRef)(0),D=(0,r.useRef)(null),C=(0,r.useRef)(!1),N=(0,r.useRef)(!1),T=(0,r.useRef)(null),z=(0,r.useCallback)(function(){var e=se(ae().m((function e(t){var n,r,i,o,a,u,l,c;return ae().w((function(e){for(;;)switch(e.n){case 0:if(n=O[t]){e.n=1;break}return e.a(2);case 1:if(r=++_.current,k.current=!0,j(!1),(0,W.sm)(),!D.current){e.n=2;break}return Ee(D.current),D.current=null,e.n=2,pe(80);case 2:if(i=Le(),o=i&&n.mobileSearchLayout?n.mobileSearchLayout:null,!T.current||o){e.n=4;break}return e.n=3,(0,W.ER)();case 3:if(T.current=null,r===_.current){e.n=4;break}return e.a(2);case 4:if(!n.route||L.pathname===n.route){e.n=5;break}return b(n.route),e.n=5,pe(160);case 5:if(!n.pinTop){e.n=8;break}document.body.classList.add("hid-tour-pin-top");try{window.scrollTo({top:0,left:0,behavior:"auto"})}catch(e){window.scrollTo(0,0)}return e.n=6,pe(120);case 6:return window.scrollTo(0,0),e.n=7,pe(100);case 7:e.n=9;break;case 8:document.body.classList.remove("hid-tour-pin-top");case 9:return e.n=10,pe(60);case 10:if(!n.prepare){e.n=11;break}return(s=n.prepare)&&"undefined"!=typeof window&&window.dispatchEvent(new CustomEvent("helpindeal:tour-prepare",{detail:{action:s}})),e.n=11,pe(n.prepareWaitMs||400);case 11:if(!o){e.n=13;break}return e.n=12,(0,W.Qh)(o);case 12:if(T.current=o,r===_.current){e.n=13;break}return e.a(2);case 13:if(a=i&&n.mobilePlacement?n.mobilePlacement:n.placement||(n.selector?"bottom":"center"),u=Boolean(n.skipScroll||n.pinTop||o),l=null,!n.selector){e.n=17;break}return e.n=14,ve(n.selector,{skipScroll:u,placement:a});case 14:if(l=e.v,u||n.pinTop){e.n=16;break}return e.n=15,ye(l);case 15:e.n=17;break;case 16:if(!n.pinTop){e.n=17;break}return window.scrollTo(0,0),e.n=17,pe(80);case 17:if(r===_.current){e.n=18;break}return e.a(2);case 18:D.current=n.cleanup||null,A(t),k.current=!1,j(!0),l&&!u&&(c=function(){n.pinTop?(document.body.classList.add("hid-tour-pin-top"),window.scrollTo(0,0)):ye(l)},window.setTimeout(c,80),window.setTimeout(c,220),window.setTimeout(c,480)),n.confetti&&!C.current&&(C.current=!0,Se());case 19:return e.a(2)}var s}),e)})));return function(t){return e.apply(this,arguments)}}(),[L.pathname,b]);(0,r.useEffect)((function(){if(o)z(u);else{j(!1),_.current+=1,k.current=!1,C.current=!1,N.current=!1,document.body.classList.remove("hid-tour-compact"),document.body.classList.remove("hid-tour-pin-top"),D.current&&(Ee(D.current),D.current=null),T.current=null,(0,W.ER)();var e=function(){return(0,w.V)()};requestAnimationFrame((function(){e(),window.setTimeout(e,0)}))}}),[o,u,z]),(0,r.useEffect)((function(){if(o&&x){var e=O[S];if(Le()&&(0,W.ni)(e))return(0,W.SY)(e.mobileSearchLayout),function(){return(0,W.sm)()};(0,W.sm)()}else(0,W.sm)()}),[o,x,S]);var I=(0,r.useCallback)((function(){N.current||(N.current=!0,null==d||d())}),[d]),P=(0,r.useCallback)((function(){N.current||null==f||f()}),[f]),Y=(0,r.useMemo)((function(){var e=Le();return O.map((function(t){var n=e&&t.mobilePlacement?t.mobilePlacement:t.placement||(t.selector?"bottom":"center"),r=t.selector?function(){return he(t.selector)}:null;
2return{title:t.title,description:t.description,target:r,placement:n,scrollIntoViewOptions:{block:"nearest",inline:"nearest"},nextButtonProps:"welcome"===t.id?{style:{display:"none"}}:ie({children:"done"===t.id?(0,a.t)("ui.tour.lets_go"):(0,a.t)("ui.tour.next")},"done"===t.id?{onClick:I}:{}),prevButtonProps:"welcome"===t.id?{style:{display:"none"}}:{children:(0,a.t)("ui.tour.back")}}}))}),[x,S,I]);(0,r.useEffect)((function(){if(o&&x){var e=!1,t=0,n=null,r=null,i=O[S],a=Le()&&null!=i&&i.mobilePlacement?i.mobilePlacement:(null==i?void 0:i.placement)||(null!=i&&i.selector?"bottom":"center"),u=function(){if(!e){je({placement:a});var t=document.querySelector(".ant-tour.hid-tour:not(.ant-tour-mask):not(.ant-tour-target-placeholder)");t&&t!==r&&n&&(n.disconnect(),n.observe(t,{attributes:!0,attributeFilter:["style","class"]}),r=t)}},l=function(){u(),t=window.requestAnimationFrame(u)};n=new MutationObserver((function(){window.requestAnimationFrame(u)}));var c=[0,16,50,100,200,350,550,850,1200].map((function(e){return window.setTimeout(l,e)}));return window.addEventListener("resize",u),window.addEventListener("scroll",u,{passive:!0}),function(){var r;e=!0,c.forEach((function(e){return window.clearTimeout(e)})),window.cancelAnimationFrame(t),window.removeEventListener("resize",u),window.removeEventListener("scroll",u),null===(r=n)||void 0===r||r.disconnect()}}}),[o,x,S]);var U="welcome"===(null===(t=O[S])||void 0===t?void 0:t.id),F="done"===(null===(n=O[S])||void 0===n?void 0:n.id),Q=null===(i=O[S])||void 0===i?void 0:i.panelSize,R=["hid-tour",U||F?"hid-tour--hero":"","wide"===Q?"hid-tour--wide":"","dense"===Q||"wide"===Q?"hid-tour--dense":""].filter(Boolean).join(" ");return r.createElement(m.A,{open:o&&x,current:S,steps:Y,onChange:function(e){k.current||s(e)},onClose:P,onFinish:I,mask:{color:"rgba(31, 31, 31, 0.55)"},gap:{offset:6,radius:10},zIndex:1100,className:R,type:"default",indicatorsRender:function(){return null},actionsRender:function(e,t){var n,i,o=t.current;if("welcome"===(null===(n=O[o])||void 0===n?void 0:n.id))return r.createElement("div",{className:"hid-tour-welcome-actions"},r.createElement(y.Ay,{type:"primary",onClick:function(){null==g||g(),s(1)}},(0,a.t)("ui.tour.start_tutorial")),r.createElement(y.Ay,{onClick:function(){return null==p?void 0:p()}},(0,a.t)("ui.tour.not_now")),r.createElement("button",{type:"button",className:"hid-tour-skip-link",onClick:function(){return null==h?void 0:h()}},(0,a.t)("ui.tour.never_again")));var u=null===(i=O[o])||void 0===i?void 0:i.id;return"done"!==u&&u?r.createElement(B,{current:o,onPause:v,onGoTo:function(e){k.current||s(e)}}):e}})}var ke=n(88896),_e=n(88730);function De(){var e,t,n="function"==typeof Symbol?Symbol:{},r=n.iterator||"@@iterator",i=n.toStringTag||"@@toStringTag";function o(n,r,i,o){var l=r&&r.prototype instanceof u?r:u,c=Object.create(l.prototype);return Ce(c,"_invoke",function(n,r,i){var o,u,l,c=0,s=i||[],f=!1,d={p:0,n:0,v:e,a:p,f:p.bind(e,4),d:function(t,n){return o=t,u=0,l=e,d.n=n,a}};function p(n,r){for(u=n,l=r,t=0;!f&&c&&!i&&t<s.length;t++){var i,o=s[t],p=d.p,h=o[2];n>3?(i=h===r)&&(l=o[(u=o[4])?5:(u=3,3)],o[4]=o[5]=e):o[0]<=p&&((i=n<2&&p<o[1])?(u=0,d.v=r,d.n=o[1]):p<h&&(i=n<3||o[0]>r||r>h)&&(o[4]=n,o[5]=r,d.n=h,u=0))}if(i||n>1)return a;throw f=!0,r}return function(i,s,h){if(c>1)throw TypeError("Generator is already running");for(f&&1===s&&p(s,h),u=s,l=h;(t=u<2?e:l)||!f;){o||(u?u<3?(u>1&&(d.n=-1),p(u,l)):d.n=l:d.v=l);try{if(c=2,o){if(u||(i="next"),t=o[i]){if(!(t=t.call(o,l)))throw TypeError("iterator result is not an object");if(!t.done)return t;l=t.value,u<2&&(u=0)}else 1===u&&(t=o.return)&&t.call(o),u<2&&(l=TypeError("The iterator does not provide a '"+i+"' method"),u=1);o=e}else if((t=(f=d.n<0)?l:n.call(r,d))!==a)break}catch(t){o=e,u=1,l=t}finally{c=1}}return{value:t,done:f}}}(n,i,o),!0),c}var a={};function u(){}function l(){}function c(){}t=Object.getPrototypeOf;var s=[][r]?t(t([][r]())):(Ce(t={},r,(function(){return this})),t),f=c.prototype=u.prototype=Object.create(s);function d(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,c):(e.__proto__=c,Ce(e,i,"GeneratorFunction")),e.prototype=Object.create(f),e}return l.prototype=c,Ce(f,"constructor",c),Ce(c,"constructor",l),l.displayName="GeneratorFunction",Ce(c,i,"GeneratorFunction"),Ce(f),Ce(f,i,"Generator"),Ce(f,r,(function(){return this})),Ce(f,"toString",(function(){return"[object Generator]"})),(De=function(){return{w:o,m:d}})()}function Ce(e,t,n,r){var i=Object.defineProperty;try{i({},"",{})}catch(e){i=0}Ce=function(e,t,n,r){function o(t,n){Ce(e,t,(function(e){return this._invoke(t,n,e)}))}t?i?i(e,t,{value:n,enumerable:!r,configurable:!r,writable:!r}):e[t]=n:(o("next",0),o("throw",1),o("return",2))},Ce(e,t,n,r)}function Ne(e,t,n,r,i,o,a){try{var u=e[o](a),l=u.value}catch(e){return void n(e)}u.done?t(l):Promise.resolve(l).then(r,i)}function Oe(e){return Oe="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Oe(e)}function Te(e){return ze.apply(this,arguments)}function ze(){var e;return e=De().m((function e(t){var n,r;return De().w((function(e){for(;;)switch(e.p=e.n){case 0:return e.p=0,e.n=1,(0,_e.oL)(t);case 1:return n=e.v,e.a(2,n||null);case 2:return e.p=2,r=e.v,console.error("Tour preference update failed",r),e.a(2,null)}}),e,null,[[0,2]])})),ze=function(){var t=this,n=arguments;return new Promise((function(r,i){var o=e.apply(t,n);
2function a(e){Ne(o,r,i,a,u,"next",e)}function u(e){Ne(o,r,i,a,u,"throw",e)}a(void 0)}))},ze.apply(this,arguments)}var Ie="hid_tour_paused";function Pe(){if("undefined"==typeof sessionStorage)return null;try{var e=sessionStorage.getItem(Ie);if(!e)return null;var t=JSON.parse(e),n=Number(null==t?void 0:t.stepIndex);return!Number.isFinite(n)||n<1?null:n}catch(e){return null}}function Ye(){var e,t,n="function"==typeof Symbol?Symbol:{},r=n.iterator||"@@iterator",i=n.toStringTag||"@@toStringTag";function o(n,r,i,o){var l=r&&r.prototype instanceof u?r:u,c=Object.create(l.prototype);return Ue(c,"_invoke",function(n,r,i){var o,u,l,c=0,s=i||[],f=!1,d={p:0,n:0,v:e,a:p,f:p.bind(e,4),d:function(t,n){return o=t,u=0,l=e,d.n=n,a}};function p(n,r){for(u=n,l=r,t=0;!f&&c&&!i&&t<s.length;t++){var i,o=s[t],p=d.p,h=o[2];n>3?(i=h===r)&&(l=o[(u=o[4])?5:(u=3,3)],o[4]=o[5]=e):o[0]<=p&&((i=n<2&&p<o[1])?(u=0,d.v=r,d.n=o[1]):p<h&&(i=n<3||o[0]>r||r>h)&&(o[4]=n,o[5]=r,d.n=h,u=0))}if(i||n>1)return a;throw f=!0,r}return function(i,s,h){if(c>1)throw TypeError("Generator is already running");for(f&&1===s&&p(s,h),u=s,l=h;(t=u<2?e:l)||!f;){o||(u?u<3?(u>1&&(d.n=-1),p(u,l)):d.n=l:d.v=l);try{if(c=2,o){if(u||(i="next"),t=o[i]){if(!(t=t.call(o,l)))throw TypeError("iterator result is not an object");if(!t.done)return t;l=t.value,u<2&&(u=0)}else 1===u&&(t=o.return)&&t.call(o),u<2&&(l=TypeError("The iterator does not provide a '"+i+"' method"),u=1);o=e}else if((t=(f=d.n<0)?l:n.call(r,d))!==a)break}catch(t){o=e,u=1,l=t}finally{c=1}}return{value:t,done:f}}}(n,i,o),!0),c}var a={};function u(){}function l(){}function c(){}t=Object.getPrototypeOf;var s=[][r]?t(t([][r]())):(Ue(t={},r,(function(){return this})),t),f=c.prototype=u.prototype=Object.create(s);function d(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,c):(e.__proto__=c,Ue(e,i,"GeneratorFunction")),e.prototype=Object.create(f),e}return l.prototype=c,Ue(f,"constructor",c),Ue(c,"constructor",l),l.displayName="GeneratorFunction",Ue(c,i,"GeneratorFunction"),Ue(f),Ue(f,i,"Generator"),Ue(f,r,(function(){return this})),Ue(f,"toString",(function(){return"[object Generator]"})),(Ye=function(){return{w:o,m:d}})()}function Ue(e,t,n,r){var i=Object.defineProperty;try{i({},"",{})}catch(e){i=0}Ue=function(e,t,n,r){function o(t,n){Ue(e,t,(function(e){return this._invoke(t,n,e)}))}t?i?i(e,t,{value:n,enumerable:!r,configurable:!r,writable:!r}):e[t]=n:(o("next",0),o("throw",1),o("return",2))},Ue(e,t,n,r)}function Be(e,t,n,r,i,o,a){try{var u=e[o](a),l=u.value}catch(e){return void n(e)}u.done?t(l):Promise.resolve(l).then(r,i)}function We(e){return function(){var t=this,n=arguments;return new Promise((function(r,i){var o=e.apply(t,n);function a(e){Be(o,r,i,a,u,"next",e)}function u(e){Be(o,r,i,a,u,"throw",e)}a(void 0)}))}}function Fe(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,i,o,a,u=[],l=!0,c=!1;try{if(o=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(r=o.call(n)).done)&&(u.push(r.value),u.length!==t);l=!0);}catch(e){c=!0,i=e}finally{try{if(!l&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(c)throw i}}return u}}(e,t)||function(e,t){if(e){if("string"==typeof e)return Qe(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Qe(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Qe(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}var Re=(0,r.createContext)(null),He=["/registrieren","/email-bestatigung","/checkout","/konto-geloescht"];function Ge(e){var t=e.children,n=(0,f.J)(),m=n.currentUser,y=n.isLoading,g=n.isFetching,w=n.announcementsReady,v=void 0===w||w,b=n.hasPendingAnnouncements,L=void 0!==b&&b,M=(0,l.zy)(),x=(0,c.Qk)(),j=(0,u.jE)(),E=(0,d.b)().scrollDirection,S=Fe((0,r.useState)(!1),2),A=S[0],k=S[1],_=Fe((0,r.useState)(0),2),D=_[0],C=_[1],N=Fe((0,r.useState)((function(){return Pe()})),2),O=N[0],T=N[1],z=(0,r.useRef)(!1),I=(0,r.useRef)(!1);I.current=A;var P=Number((null==m?void 0:m.uid)||0)>0&&!Array.isArray(m),Y=(0,r.useMemo)((function(){return function(e){var t,n,r,i=null==e?void 0:e.tour;return i&&"object"===Oe(i)?{status:null!==(t=i.status)&&void 0!==t?t:null,snoozed_until:null!==(n=i.snoozed_until)&&void 0!==n?n:null,pending_trigger:null!==(r=i.pending_trigger)&&void 0!==r?r:null,updated:Number(i.updated||0)}:{status:null,snoozed_until:null,pending_trigger:null,updated:0}}(m)}),[m]),U=(0,r.useCallback)((function(){j.invalidateQueries({queryKey:["currentUser"]})}),[j]),B=(0,r.useCallback)((function(){var e=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}).resetStep,t=void 0===e||e;k(!1),t&&C(0),(0,ke.tu)(!1)}),[]),W=(0,r.useCallback)((function(){!function(){if("undefined"!=typeof sessionStorage)try{sessionStorage.removeItem(Ie)}catch(e){}}(),T(null)}),[]),F=(0,r.useRef)(null),Q=(0,r.useCallback)((function(){F.current=null}),[]),R=(0,r.useCallback)(We(Ye().m((function e(){var t,n=arguments;return Ye().w((function(e){for(;;)switch(e.n){case 0:if(t=(n.length>0&&void 0!==n[0]?n[0]:{}).force,P){e.n=1;break}return window.location.assign((0,p.rh)((0,h.xY)(window.location.pathname||"/"))),e.a(2);case 1:z.current=!0,Q(),W(),C(0),(0,ke.tu)(!0),I.current?(k(!1),requestAnimationFrame((function(){return k(!0)}))):k(!0);case 2:return e.a(2)}}),e)}))),[W,P,Q]),H=(0,r.useCallback)((function(){!A||D<1||(!function(e){if("undefined"!=typeof sessionStorage)try{sessionStorage.setItem(Ie,JSON.stringify({stepIndex:Number(e)}))}catch(e){}}(D),T(D),B({resetStep:!1}))}),[B,D,A]),G=(0,r.useCallback)((function(){var e,t,n=null!==(e=null!==(t=Pe())&&void 0!==t?t:O)&&void 0!==e?e:D;!n||n<1||(Q(),C(n),(0,ke.tu)(!0),k(!0))}),[D,O,Q]),q=(0,r.useCallback)(We(Ye().m((function e(){return Ye().w((function(e){for(;;)switch(e.n){case 0:return F.current="complete",e.n=1,Te("complete");case 1:e.v||console.error("Tour complete preference update failed"),W(),U(),B();case 2:return e.a(2)}}),e)}))),[W,B,U]),Z=(0,r.useCallback)(We(Ye().m((function e(){return Ye().w((function(e){for(;;)switch(e.n){case 0:if("complete"!==F.current&&"skip"!==F.current){e.n=1;break}return e.a(2);case 1:return F.current="snooze",W(),e.n=2,Te("snooze");case 2:U(),B();case 3:return e.a(2)}}),e)}))),[W,B,U]),J=(0,r.useCallback)(We(Ye().m((function e(){return Ye().w((function(e){for(;;)switch(e.n){case 0:return F.current="skip",W(),e.n=1,Te("skip");case 1:U(),B();case 2:return e.a(2)}}),e)}))),[W,B,U]),K=(0,r.useCallback)((function(){Z()}),[Z]),V=(0,r.useCallback)(We(Ye().m((function e(){return Ye().w((function(e){for(;;)switch(e.n){case 0:if("immediate"!==Y.pending_trigger){e.n=2;break}return e.n=1,Te("clear_trigger");case 1:U();case 2:return e.a(2)}}),e)}))),[U,Y.pending_trigger]);(0,r.useEffect)((function(){return(0,ke.RM)((function(){(0,ke.Wn)()&&R({force:!0})}))}),[R]),(0,r.useEffect)((function(){if(!y){var e="".concat(M.pathname).concat(M.search).concat(M.hash);if((0,h.Jk)(e))if(P){var t=(0,h.cx)(e);t!==e&&x(t||"/",{replace:!0}),A||(z.current=!0,Q(),W(),C(0),(0,ke.tu)(!0),k(!0))}else{if(g)return;window.location.assign((0,p.rh)((0,h.xY)(M.pathname||"/")))}}}),[W,P,g,y,M.hash,M.pathname,M.search,x,A,Q]),(0,r.useEffect)((function(){var e,t;y||g&&!P||P&&(z.current||A||(e=M.pathname,t=(0,s.Op)(e),He.some((function(e){return t===e||t.startsWith(e)}))||null==Pe()&&((0,h.Jk)("".concat(M.pathname).concat(M.search).concat(M.hash))||v&&(L||M.pathname.startsWith("/registrierungsstatus")&&"next_login"===Y.pending_trigger||function(e){var t=(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}).force;return!(void 0===t||!t)||!!e&&"completed"!==e.status&&"next_login"!==e.pending_trigger&&("pending"===e.status&&"immediate"===e.pending_trigger||"snoozed"===e.status&&Number(e.snoozed_until||0)<=Math.floor(Date.now()/1e3))}(Y)&&(z.current=!0,Q(),(0,ke.tu)(!0),C(0),k(!0))))))}),[v,L,P,y,g,M.pathname,A,Q,Y]),(0,r.useEffect)((function(){(0,ke.tu)(A)}),[A]),(0,r.useEffect)((function(){if(P){var e=Pe();null!=e&&(T(e),e>=1&&C(e))}else W()}),[W,P]);var X=P&&!A&&null!=O&&O>=1,$=(0,r.useMemo)((function(){return{open:A,start:R,pause:H,resume:G,snooze:Z,complete:q,skip:J,close:B}}),[A,R,H,G,Z,q,J,B]);return r.createElement(Re.Provider,{value:$},t,P?r.createElement(r.Fragment,null,r.createElement(Ae,{open:A,current:D,onCurrentChange:C,onCloseRequest:K,onComplete:q,onSnooze:Z,onSkip:J,onBegin:V,onPause:H}),X?r.createElement(i.A,{type:"primary",shape:"square",icon:r.createElement(o.A,null),content:(0,a.t)("ui.tour.resume_content"),className:["hid-tour-resume-float","down"===E?"is-scrolled-down":""].filter(
2Boolean).join(" "),"aria-label":(0,a.t)("ui.tour.resume_aria"),style:{flexDirection:"row",alignItems:"center",justifyContent:"center",gap:6,padding:"0 12px",width:"auto",height:32,minHeight:32},onClick:G}):null):null)}function qe(){var e=(0,r.useContext)(Re);return e||{open:!1,start:function(){},pause:function(){},resume:function(){},snooze:function(){},complete:function(){},skip:function(){},close:function(){}}}},46277(e,t,n){n.d(t,{B5:()=>a,P8:()=>u,kI:()=>o});var r=n(71265);function i(e){var t=document.querySelector('[data-hid-search-anchor="'.concat(e,'"]'));return t?t.getBoundingClientRect().top+window.scrollY:null}function o(){if("undefined"==typeof document)return null;var e=i("form"),t=i("stage"),n=document.querySelector('[data-hid-map-stage="mobile"]');if(null==e||null==t||!n)return null;var o=parseFloat(window.getComputedStyle(n).top)||0,a=Math.max(0,Math.round(e-(0,r.ep)())),u=Math.round(t-o);return{expanded:a,collapsed:Math.max(a,u)}}function a(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:o();if(!e)return!1;var t=document.documentElement.scrollHeight-window.innerHeight;return window.scrollY<Math.min(e.collapsed,t)-2}function u(e){var t=(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}).smooth,n=void 0===t||t,r=o();return!!r&&(window.scrollTo({top:r[e],behavior:n?"smooth":"auto"}),!0)}},46387(e,t,n){n.d(t,{v:()=>dt,J:()=>pt});var r,i,o,a,u,l,c,s,f,d,p=n(96540),h=n(97286),m=n(5131),y=n(87959),g=n(50400),w=n(29248),v=n(88730),b=n(69134),L=n(49222),M=n(24074),x=n(38267),j=n(14685),E=(n(99515),n(89595)),S=n(74114),A=n(58618),k=n(79494);function _(e){return _="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},_(e)}function D(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function C(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?D(Object(n),!0).forEach((function(t){N(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):D(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function N(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=_(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=_(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==_(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function O(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,i,o,a,u=[],l=!0,c=!1;try{if(o=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(r=o.call(n)).done)&&(u.push(r.value),u.length!==t);l=!0);}catch(e){c=!0,i=e}finally{try{if(!l&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(c)throw i}}return u}}(e,t)||function(e,t){if(e){if("string"==typeof e)return T(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?T(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function T(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function z(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}var I=x.Ay.div(r||(r=z(["\n padding: 32px 48px 24px;\n display: flex;\n flex-direction: column;\n gap: 24px;\n\n @media (max-width: 768px) {\n padding: 24px 24px 16px;\n }\n"]))),P=x.Ay.h3(i||(i=z(["\n margin: 0;\n text-align: center;\n font-size: 24px;\n line-height: 1.3;\n"]))),Y=x.Ay.div(o||(o=z(["\n font-size: 16px;\n line-height: 1.7;\n\n & p {\n margin-bottom: 1em;\n }\n\n & ul,\n & ol {\n margin-left: 1.2em;\n }\n\n & img {\n max-width: 100%;\n height: auto;\n }\n"]))),U=x.Ay.div(a||(a=z(["\n padding: 40px;\n text-align: center;
2\n color: ",";\n"])),(function(e){return e.color})),B=(0,x.Ay)(L.A)(u||(u=z(["\n .ant-modal-body {\n padding: 0;\n max-height: min(calc(100vh - 160px), 760px);\n display: flex;\n flex-direction: column;\n /* Shrink to content; only grow up to max-height when a slide is long. */\n height: auto;\n overflow: hidden;\n }\n\n .announcement-scroll-area {\n flex: 0 1 auto;\n min-height: 0;\n overflow-x: hidden;\n overflow-y: auto;\n overscroll-behavior: contain;\n }\n\n @media (max-width: 768px) {\n .ant-modal-body {\n max-height: calc(100vh - 120px);\n }\n }\n"]))),W=(0,x.Ay)(M.A)(l||(l=z(["\n /* Prevent Slick from stretching every slide to the tallest one. */\n .slick-list,\n .slick-track {\n height: auto !important;\n }\n\n .slick-slide {\n height: auto;\n }\n\n .slick-slide > div {\n height: auto;\n }\n"]))),F=x.Ay.div(c||(c=z(["\n flex-shrink: 0;\n padding: 16px 48px 24px;\n background: ",";\n box-shadow: 0 -6px 16px rgba(0, 0, 0, 0.08);\n display: flex;\n flex-direction: column;\n gap: 16px;\n align-items: center;\n\n @media (max-width: 768px) {\n padding: 16px 24px 24px;\n }\n"])),(function(e){return e.$background})),Q=x.Ay.div(s||(s=z(["\n display: flex;\n gap: 10px;\n justify-content: center;
2\n"]))),R=x.Ay.button(f||(f=z(["\n width: 12px;\n height: 12px;\n border-radius: 50%;\n border: none;\n background: ",";\n cursor: pointer;\n padding: 0;\n transition: background 0.2s ease;\n\n &:focus-visible {\n outline: 2px solid ",";\n outline-offset: 2px;\n }\n"])),(function(e){var t=e.$active,n=e.$color,r=e.$activeColor;return t?r:n}),(function(e){return e.$activeColor})),H=x.Ay.div(d||(d=z(["\n width: 100%;\n transition: opacity 0.25s ease, max-height 0.25s ease, transform 0.25s ease;\n opacity: ",";\n max-height: ",";\n transform: ",";\n pointer-events: ",";\n overflow: hidden;\n display: flex;\n align-items: center;\n"])),(function(e){return e.$visible?1:0}),(function(e){return e.$visible?"80px":"0px"}),(function(e){return e.$visible?"translateY(0)":"translateY(8px)"}),(function(e){return e.$visible?"auto":"none"})),G=function(e){var t=e.item,n=e.accentColor,r=e.textColor;return t?p.createElement(I,null,t.title?p.createElement(P,{style:{color:n}},t.title):null,p.createElement(Y,{style:{color:r},dangerouslySetInnerHTML:{__html:t.body||""}})):null};const q=function(e){var t=e.open,n=e.announcements,r=void 0===n?[]:n,i=e.onClose,o=e.onAcknowledge,a=m.A.useToken().token,u=(0,b.Qk)(),l=pt(),c=l.currentUser,s=!l.isLoading&&!Array.isArray(c)&&c&&Number((null==c?void 0:c.uid)||0)>0,f=(0,p.useRef)(),d=(0,p.useRef)(null),h=O((0,p.useState)(0),2),y=h[0],w=h[1],v=O((0,p.useState)(null),2),L=v[0],M=v[1],x=O((0,p.useState)(!1),2),_=x[0],D=x[1],N=(0,p.useCallback)((function(){d.current&&(d.current.scrollTop=0)}),[]),T=(0,p.useMemo)((function(){return(Array.isArray(r)?r:[]).filter(Boolean).map((function(e,t){var n,r,i,o,a,u,l=null!==(n=null!==(r=null!==(i=null!==(o=e.id)&&void 0!==o?o:e.nid)&&void 0!==i?i:e.uuid)&&void 0!==r?r:e.changed)&&void 0!==n?n:t;return{key:String(l),id:null!==(a=e.id)&&void 0!==a?a:null,title:null===(u=e.title)||void 0===u?void 0:u.trim(),body:e.body||e.body_html||"",cta:e.cta&&e.cta.url?{url:e.cta.url,title:e.cta.title}:null}}))}),[r]),z=t&&T.length>0,I=T[y]||null,P=(0,p.useMemo)((function(){if(!z||!I)return null;var e=I.cta;return e&&e.url?e:null}),[z,I]),Y=T.length>1;(0,p.useEffect)((function(){T.length?y>=T.length&&w(T.length-1):w(0)}),[T,y]),(0,p.useEffect)((function(){z&&N()}),[z,N]),(0,p.useEffect)((function(){if(!z)return D(!1),void M(null);P?(M(P),("undefined"!=typeof window&&"function"==typeof window.requestAnimationFrame?window.requestAnimationFrame:function(e){return setTimeout(e,0)})((function(){return D(!0)}))):D(!1)}),[z,P]),(0,p.useEffect)((function(){if(!_){var e=setTimeout((function(){return M(null)}),250);return function(){return clearTimeout(e)}}}),[_]),(0,p.useEffect)((function(){if(z){var e=Date.now()+3e3,t={startVelocity:30,spread:360,ticks:60,zIndex:1e4},n=setInterval((function(){var r=e-Date.now();if(r<=0)return clearInterval(n);var i,o,a=r/3e3*50;(0,j.A)(C(C({},t),{},{particleCount:a,origin:{x:(i=.1,o=.9,Math.random()*(o-i)+i),y:Math.random()-.2}}))}),250);return function(){return clearInterval(n)}}}),[z]);var q=(0,p.useCallback)((function(e){f.current&&"function"==typeof f.current.goTo&&f.current.goTo(e,!1)}),[]);return p.createElement(B,{open:z,onCancel:i,footer:null,centered:!0,width:760,destroyOnHidden:!0,style:{maxWidth:"calc(100vw - 24px)"},title:p.createElement("div",{style:{textAlign:"center"}},(0,k.t)("ui.modals.announcement.title"))},p.createElement("div",{className:"announcement-scroll-area",ref:d},0===T.length?p.createElement(U,{color:a.colorTextSecondary},(0,k.t)("ui.modals.announcement.empty")):p.createElement(W,{ref:f,adaptiveHeight:!0,dotPlacement:"bottom",swipeToSlide:!0,draggable:!0,dots:!1,afterChange:function(e){w(e),N()}},T.map((function(e){return p.createElement(G,{key:e.key,item:e,accentColor:a.colorPrimary,textColor:a.colorText})})))),(Y||P||L)&&p.createElement(F,{$background:a.colorBgElevated},p.createElement(H,{$visible:_,"aria-hidden":!_},L?p.createElement(g.Ay,{type:"primary",block:!0,onClick:function(){L.url&&("function"==typeof o&&o(),"function"==typeof i&&i(),(0,A.Jk)(L.url)?(0,S.d)(s):(0,E.A)(L.url,u,s))},disabled:!L.url||!_},L.title||(0,k.t)("ui.modals.announcement.learn_more")):null),Y&&p.createElement(Q,null,T.map((function(e,t){return p.createElement(R,{key:e.key,type:"button","aria-label":(0,k.t)("ui.modals.announcement.dot",{n:t+1}),$color:a.colorBorder,$activeColor:a.colorPrimary,$active:t===y,onClick:function(){return q(t)}})})))))};var Z,J,K,V,X,$=n(27197),ee=n(47152),te=n(16370),ne=n(19570),re=n(39356),ie=n(70462),oe=n(53578),ae=n(76883),ue=n(32703),le=n(58171);function ce(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}var se=x.Ay.div(Z||(Z=ce(["\n max-width: 900px;\n margin: 15px;\n"]))),fe=x.Ay.div(J||(J=ce(["\n border: 1px solid #ececec;\n border-radius: 8px;\n padding: 16px;\n"]))),de=x.Ay.span(K||(K=ce(["\n color: #9f1c62;\n"]))),pe=x.Ay.div(V||(V=ce(["\n width: 48px;\n height: 48px;\n display: flex;\n align-items: center;\n justify-content: center;\n border-radius: 50%;\n background: rgba(159, 28, 98, 0.12);\n color: #9f1c62;\n font-size: 22px;\n"]))),he=x.Ay.div(X||(X=ce(["\n background: rgba(15, 154, 149, 0.08);\n border: 1px solid rgba(15, 154, 149, 0.4);\n border-radius: 8px;\n padding: 12px 14px;\n display: flex;\n align-items: center;\n gap: 10px;\n"]))),me=function(){return p.createElement(ae.NM,{style:{margin:16}},p.createElement(ae.NM.Item,null,p.createElement("span",{className:"perk-check"},(0,k.t)("ui.credits.checkmark")),p.createElement("span",null,(0,k.t)("ui.credits.earn.create_deals"))),p.createElement(ae.NM.Item,null,p.createElement("span",{className:"perk-check"},(0,k.t)("ui.credits.checkmark")),p.createElement("span",null,(0,k.t)("ui.credits.earn.rate_deals"))),p.createElement(ae.NM.Item,null,p.createElement("span",{className:"perk-check"},(0,k.t)("ui.credits.checkmark")),p.createElement("span",null,(0,k.t)("ui.credits.earn.upload_photo"))),p.createElement(ae.NM.Item,null,p.createElement("span",{className:"perk-check"},(0,k.t)("ui.credits.checkmark")),p.createElement("span",null,(0,k.t)("ui.credits.earn.rate_users"))),p.createElement(ae.NM.Item,null,p.createElement("span",{className:"perk-check"},(0,k.t)("ui.credits.checkmark")),p.createElement("span",null,(0,k.t)("ui.credits.earn.more"))))},ye=function(e){var t=e.open,n=e.onClose,r=e.title,i=e.alertMessage,o=e.alertDescription,a=e.alertType,u=void 0===a?"error":a,l=e.children,c=e.footerHint;return t?p.createElement(L.A,{open:t,onCancel:n,footer:p.createElement("div",null,p.createElement(g.Ay,{type:"primary",onClick:n},(0,k.t)("ui.credits.ok"))),centered:!0,width:920,destroyOnHidden:!0,styles:{body:{paddingTop:8}},title:p.createElement("div",{style:{textAlign:"center"}},r)}
2,p.createElement(se,null,i&&p.createElement($.A,{title:i,description:o,type:u,showIcon:!0}),l,c&&p.createElement("div",{style:{margin:"18px 0"}},p.createElement(he,null,c)))):null},ge=function(e){var t=e.open,n=e.onClose,r=m.A.useToken().token,i=(0,b.Qk)();return p.createElement(ye,{open:t,onClose:n,title:(0,k.t)("ui.credits.guest_title"),alertMessage:(0,k.t)("ui.credits.guest_alert"),alertDescription:(0,k.t)("ui.credits.guest_desc"),footerHint:p.createElement("span",null,(0,k.dE)("ui.credits.guest_tip",{a:function(e){return p.createElement("a",{href:(0,b.lF)("/faqs"),target:"_self"},e)}}))},p.createElement(ee.A,{gutter:[16,16],style:{margin:"32px 0"}},p.createElement(te.A,{xs:24,md:12},p.createElement(fe,null,p.createElement(ne.A,{size:12,align:"start"},p.createElement(pe,null,p.createElement(oe.A,null)),p.createElement("div",null,p.createElement("h4",{style:{margin:0}},(0,k.t)("ui.credits.register_title")),p.createElement("p",{style:{marginTop:6,color:r.colorTextSecondary}},(0,k.t)("ui.credits.register_desc")),p.createElement(g.Ay,{type:"primary",onClick:function(){"function"==typeof n&&n(),i((0,le.hL)())}},(0,k.t)("ui.credits.register_cta")))))),p.createElement(te.A,{xs:24,md:12},p.createElement(fe,null,p.createElement(ne.A,{size:12,align:"start"},p.createElement(pe,null,p.createElement(ie.A,null)),p.createElement("div",null,p.createElement("h4",{style:{margin:0}},(0,k.t)("ui.credits.packages_title")),p.createElement("p",{style:{marginTop:6,color:r.colorTextSecondary}},(0,k.t)("ui.credits.packages_guest_desc")),p.createElement(g.Ay,{onClick:function(){"function"==typeof n&&n(),i("/#packages")},type:"default"},(0,k.t)("ui.credits.pricing_cta"))))))),p.createElement("div",{style:{display:"flex",justifyContent:"center"}},p.createElement("h4",{style:{fontSize:"16px",margin:"0 0"}},(0,k.t)("ui.credits.earn_registered_title"))),p.createElement("div",{style:{display:"flex",justifyContent:"center"}},p.createElement(me,null)))};const we=function(e){var t=e.open,n=e.onClose,r=e.onGoToPackages,i=m.A.useToken().token;return p.createElement(ye,{open:t,onClose:n,title:(0,k.t)("ui.credits.none_title"),alertMessage:(0,k.t)("ui.credits.none_alert"),alertDescription:(0,k.t)("ui.credits.none_desc"),footerHint:p.createElement("span",null,(0,k.dE)("ui.credits.tip_packages",{highlight:function(e){return p.createElement(de,null,e)}}))},p.createElement("p",{style:{margin:"25px 25px 0"}},(0,k.t)("ui.credits.none_restricted")),p.createElement(ee.A,{gutter:[16,16],style:{margin:"32px 0"}},p.createElement(te.A,{xs:24,md:12},p.createElement(fe,null,p.createElement(ne.A,{size:12,align:"start"},p.createElement(pe,null,p.createElement(ie.A,null)),p.createElement("div",null,p.createElement("h4",{style:{margin:0}},(0,k.t)("ui.credits.packages_title")),p.createElement("p",{style:{marginTop:6,color:i.colorTextSecondary}},(0,k.t)("ui.credits.packages_desc")),p.createElement(g.Ay,{type:"primary",onClick:r},(0,k.t)("ui.credits.packages_cta")))))),p.createElement(te.A,{xs:24,md:12},p.createElement(fe,null,p.createElement(ne.A,{size:12,align:"start"},p.createElement(pe,null,p.createElement(oe.A,null)),p.createElement("div",null,p.createElement("h4",{style:{margin:0}},(0,k.t)("ui.credits.login_bonus_title")),p.createElement("p",{style:{marginTop:6,color:i.colorTextSecondary}},(0,k.t)("ui.credits.login_bonus_desc")),p.createElement(g.Ay,{onClick:function(){"function"==typeof n&&n(),window.open((0,b.lF)("/faqs"),"_self")}},(0,k.t)("ui.credits.faqs_cta"))))))),p.createElement("div",{style:{display:"flex",justifyContent:"center"}},p.createElement("h4",{style:{fontSize:"16px",margin:"0 0"}},(0,k.t)("ui.credits.earn_title"))),p.createElement("div",{style:{display:"flex",justifyContent:"center"}},p.createElement(me,null)),p.createElement("div",{style:{marginTop:18}},p.createElement(re.A,{items:[{key:"feedback",label:(0,k.t)("ui.credits.feedback_label"),children:p.createElement(ue.A,null)}]})))};var ve,be,Le,Me,xe,je=n(52629);function Ee(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}var Se=x.Ay.div(ve||(ve=Ee(["\n max-width: 900px;\n margin: 15px;\n"]))),Ae=x.Ay.div(be||(be=Ee(["\n border: 1px solid #ececec;\n border-radius: 8px;\n padding: 16px;\n"]))),ke=x.Ay.span(Le||(Le=Ee(["\n color: #9f1c62;\n"]))),_e=x.Ay.div(Me||(Me=Ee(["\n width: 48px;\n height: 48px;\n display: flex;\n align-items: center;\n justify-content: center;\n border-radius: 50%;\n background: rgba(159, 28, 98, 0.12);\n color: #9f1c62;\n font-size: 22px;\n"]))),De=x.Ay.div(xe||(xe=Ee(["\n background: rgba(255, 153, 0, 0.08);\n border: 1px solid rgba(255, 153, 0, 0.4);\n border-radius: 8px;\n padding: 12px 14px;\n display: flex;\n align-items: center;\n gap: 10px;\n"])));const Ce=function(e){var t=e.open,n=e.onClose,r=e.onGoToPackages,i=m.A.useToken().token,o=(0,b.Qk)();return p.createElement(L.A,{open:t,onCancel:n,footer:p.createElement("div",null,p.createElement(g.Ay,{type:"primary",onClick:r,style:{marginRight:8}},(0,k.t)("ui.credits.low_add")),p.createElement(g.Ay,{onClick:n},(0,k.t)("ui.credits.low_later"))),centered:!0,width:920,destroyOnHidden:!0,styles:{body:{paddingTop:8}},title:p.createElement("div",{style:{textAlign:"center"}},(0,k.t)("ui.credits.low_title"))},p.createElement(Se,null,p.createElement($.A,{message:(0,k.t)("ui.credits.low_title"),description:(0,k.t)("ui.credits.low_desc"),type:"warning",showIcon:!0,icon:p.createElement(je.A,null)}),p.createElement(ee.A,{gutter:[16,16],style:{margin:"32px 0"}},p.createElement(te.A,{xs:24,md:12},p.createElement(Ae,null,p.createElement(ne.A,{size:12,align:"start"},p.createElement(_e,null,p.createElement(ie.A,null)),p.createElement("div",null,p.createElement("h4",{style:{margin:0}},(0,k.t)("ui.credits.packages_title")),p.createElement("p",{style:{marginTop:6,color:i.colorTextSecondary}},(0,k.dE)("ui.credits.low_packages_desc",{highlight:function(e){return p.createElement(ke,null,e)}})),p.createElement(g.Ay,{type:"primary",onClick:r},(0,k.t)("ui.credits.packages_cta")))))),p.createElement(te.A,{xs:24,md:12},p.createElement(Ae,null,p.createElement(ne.A,{size:12,align:"start"},p.createElement(_e,null,p.createElement(je.A,null)),p.createElement("div",null,p.createElement("h4",{style:{margin:0}},(0,k.t)("ui.credits.low_tip_title")),p.createElement("p",{style:{marginTop:6,color:i.colorTextSecondary}},(0,k.t)("ui.credits.low_tip_desc")),p.createElement(g.Ay,{onClick:function(){n(),o("/meine-credits")}},(0,k.t)("ui.credits.my_credits"))))))),p.createElement("div",{style:{margin:"18px 0"}},p.createElement(De,null,p.createElement("span",null,(0,k.t)("ui.credits.low_hint"))))))};var Ne,Oe,Te,ze,Ie;function Pe(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}var Ye=x.Ay.div(Ne||(Ne=Pe(["\n max-width: 900px;\n margin: 15px;\n"]))),Ue=x.Ay.div(Oe||(Oe=Pe(["\n border: 1px solid #ececec;\n border-radius: 8px;\n padding: 16px;\n"]))),Be=x.Ay.span(Te||(Te=Pe(["\n color: #9f1c62;\n"]))),We=x.Ay.div(ze||(ze=Pe(["\n width: 48px;\n height: 48px;\n display: flex;\n align-items: center;\n justify-content: center;\n border-radius: 50%;\n background: rgba(159, 28, 98, 0.12);\n color: #9f1c62;\n font-size: 22px;\n"]))),Fe=x.Ay.div(Ie||(Ie=Pe(["\n background: rgba(15, 154, 149, 0.08);\n border: 1px solid rgba(15, 154, 149, 0.4);\n border-radius: 8px;\n padding: 12px 14px;\n display: flex;\n align-items: center;\n gap: 10px;\n"])));const Qe=function(e){var t=e.open,n=e.onClose,r=e.onGoToPackages,i=e.required,o=e.balance,a=e.reason,u=m.A.useToken().token,l=((0,b.Qk)(),pt().currentUser),c=Boolean(null==l?void 0:l.is_free_user),s="not_included_in_flatrate"===a,f=s&&c,d=f?(0,k.dE)("ui.credits.insufficient_free_desc",{b:function(e){return p.createElement("strong",null,e)}
2,required:i||0,balance:o||0}):s?(0,k.dE)("ui.credits.insufficient_flatrate_desc",{b:function(e){return p.createElement("strong",null,e)},required:i||0,balance:o||0}):i?(0,k.t)("ui.credits.insufficient_needed",{required:i,balance:o}):(0,k.t)("ui.credits.insufficient_generic");return p.createElement(L.A,{open:t,onCancel:n,footer:p.createElement("div",null,p.createElement(g.Ay,{type:"primary",onClick:n},(0,k.t)("ui.credits.ok"))),centered:!0,width:920,destroyOnHidden:!0,styles:{body:{paddingTop:8}},title:p.createElement("div",{style:{textAlign:"center"}},f?(0,k.t)("ui.credits.insufficient_free_title"):s?(0,k.t)("ui.credits.insufficient_flatrate_title"):(0,k.t)("ui.credits.insufficient_title"))},p.createElement(Ye,null,p.createElement($.A,{message:f?(0,k.t)("ui.credits.insufficient_free_title"):s?(0,k.t)("ui.credits.insufficient_flatrate_title"):(0,k.t)("ui.credits.insufficient_alert"),description:d,type:"error",showIcon:!0}),p.createElement("p",{style:{margin:"25px 25px 0"}},f?(0,k.t)("ui.credits.insufficient_body_free"):s?(0,k.t)("ui.credits.insufficient_body_flatrate"):(0,k.t)("ui.credits.insufficient_body")),p.createElement("div",{style:{margin:"18px 0"}},p.createElement(Fe,null,p.createElement("span",null,(0,k.dE)("ui.credits.tip_packages",{highlight:function(e){return p.createElement(Be,null,e)}})))),p.createElement(ee.A,{gutter:[16,16],style:{margin:"32px 0"}},p.createElement(te.A,{xs:24,md:12},p.createElement(Ue,null,p.createElement(ne.A,{size:12,align:"start"},p.createElement(We,null,p.createElement(ie.A,null)),p.createElement("div",null,p.createElement("h4",{style:{margin:0}},(0,k.t)("ui.credits.packages_title")),p.createElement("p",{style:{marginTop:6,color:u.colorTextSecondary}},(0,k.t)("ui.credits.packages_desc")),p.createElement(g.Ay,{type:"primary",onClick:r},(0,k.t)("ui.credits.packages_cta")))))),p.createElement(te.A,{xs:24,md:12},p.createElement(Ue,null,p.createElement(ne.A,{size:12,align:"start"},p.createElement(We,null,p.createElement(oe.A,null)),p.createElement("div",null,p.createElement("h4",{style:{margin:0}},(0,k.t)("ui.credits.login_bonus_title")),p.createElement("p",{style:{marginTop:6,color:u.colorTextSecondary}},(0,k.t)("ui.credits.login_bonus_desc")),p.createElement(g.Ay,{onClick:function(){"function"==typeof n&&n(),window.open((0,b.lF)("/faqs"),"_self")}},(0,k.t)("ui.credits.faqs_cta"))))))),p.createElement("div",{style:{display:"flex",justifyContent:"center"}},p.createElement("h4",{style:{fontSize:"16px",margin:"0 0"}},(0,k.t)("ui.credits.earn_title"))),p.createElement("div",{style:{display:"flex",justifyContent:"center"}},p.createElement(ae.NM,{style:{margin:16}},p.createElement(ae.NM.Item,null,p.createElement("span",{className:"perk-check"},(0,k.t)("ui.credits.checkmark")),p.createElement("span",null,(0,k.t)("ui.credits.earn.create_deals"))),p.createElement(ae.NM.Item,null,p.createElement("span",{className:"perk-check"},(0,k.t)("ui.credits.checkmark")),p.createElement("span",null,(0,k.t)("ui.credits.earn.rate_deals"))),p.createElement(ae.NM.Item,null,p.createElement("span",{className:"perk-check"},(0,k.t)("ui.credits.checkmark")),p.createElement("span",null,(0,k.t)("ui.credits.earn.upload_photo"))),p.createElement(ae.NM.Item,null,p.createElement("span",{className:"perk-check"},(0,k.t)("ui.credits.checkmark")),p.createElement("span",null,(0,k.t)("ui.credits.earn.rate_users"))),p.createElement(ae.NM.Item,null,p.createElement("span",{className:"perk-check"},(0,k.t)("ui.credits.checkmark")),p.createElement("span",null,(0,k.t)("ui.credits.earn.more"))))),p.createElement("div",{style:{marginTop:18}},p.createElement(re.A,{items:[{key:"feedback",label:(0,k.t)("ui.credits.feedback_label"),children:p.createElement(ue.A,null)}]}))))};var Re=n(47767),He=n(43977),Ge=n(30403),qe=n(71),Ze=n(12811),Je=n(88896);function Ke(){var e,t,n="function"==typeof Symbol?Symbol:{},r=n.iterator||"@@iterator",i=n.toStringTag||"@@toStringTag";function o(n,r,i,o){var l=r&&r.prototype instanceof u?r:u,c=Object.create(l.prototype);return Ve(c,"_invoke",function(n,r,i){var o,u,l,c=0,s=i||[],f=!1,d={p:0,n:0,v:e,a:p,f:p.bind(e,4),d:function(t,n){return o=t,u=0,l=e,d.n=n,a}};function p(n,r){for(u=n,l=r,t=0;!f&&c&&!i&&t<s.length;t++){var i,o=s[t],p=d.p,h=o[2];n>3?(i=h===r)&&(l=o[(u=o[4])?5:(u=3,3)],o[4]=o[5]=e):o[0]<=p&&((i=n<2&&p<o[1])?(u=0,d.v=r,d.n=o[1]):p<h&&(i=n<3||o[0]>r||r>h)&&(o[4]=n,o[5]=r,d.n=h,u=0))}if(i||n>1)return a;throw f=!0,r}return function(i,s,h){if(c>1)throw TypeError("Generator is already running");for(f&&1===s&&p(s,h),u=s,l=h;(t=u<2?e:l)||!f;){o||(u?u<3?(u>1&&(d.n=-1),p(u,l)):d.n=l:d.v=l);try{if(c=2,o){if(u||(i="next"),t=o[i]){if(!(t=t.call(o,l)))throw TypeError("iterator result is not an object");
2if(!t.done)return t;l=t.value,u<2&&(u=0)}else 1===u&&(t=o.return)&&t.call(o),u<2&&(l=TypeError("The iterator does not provide a '"+i+"' method"),u=1);o=e}else if((t=(f=d.n<0)?l:n.call(r,d))!==a)break}catch(t){o=e,u=1,l=t}finally{c=1}}return{value:t,done:f}}}(n,i,o),!0),c}var a={};function u(){}function l(){}function c(){}t=Object.getPrototypeOf;var s=[][r]?t(t([][r]())):(Ve(t={},r,(function(){return this})),t),f=c.prototype=u.prototype=Object.create(s);function d(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,c):(e.__proto__=c,Ve(e,i,"GeneratorFunction")),e.prototype=Object.create(f),e}return l.prototype=c,Ve(f,"constructor",c),Ve(c,"constructor",l),l.displayName="GeneratorFunction",Ve(c,i,"GeneratorFunction"),Ve(f),Ve(f,i,"Generator"),Ve(f,r,(function(){return this})),Ve(f,"toString",(function(){return"[object Generator]"})),(Ke=function(){return{w:o,m:d}})()}function Ve(e,t,n,r){var i=Object.defineProperty;try{i({},"",{})}catch(e){i=0}Ve=function(e,t,n,r){function o(t,n){Ve(e,t,(function(e){return this._invoke(t,n,e)}))}t?i?i(e,t,{value:n,enumerable:!r,configurable:!r,writable:!r}):e[t]=n:(o("next",0),o("throw",1),o("return",2))},Ve(e,t,n,r)}function Xe(e,t,n,r,i,o,a){try{var u=e[o](a),l=u.value}catch(e){return void n(e)}u.done?t(l):Promise.resolve(l).then(r,i)}function $e(e){return function(){var t=this,n=arguments;return new Promise((function(r,i){var o=e.apply(t,n);function a(e){Xe(o,r,i,a,u,"next",e)}function u(e){Xe(o,r,i,a,u,"throw",e)}a(void 0)}))}}function et(e){return function(e){if(Array.isArray(e))return at(e)}(e)||tt(e)||ot(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function tt(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}function nt(e){return nt="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},nt(e)}function rt(e,t){return ut(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,i,o,a,u=[],l=!0,c=!1;try{if(o=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(r=o.call(n)).done)&&(u.push(r.value),u.length!==t);l=!0);}catch(e){c=!0,i=e}finally{try{if(!l&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(c)throw i}}return u}}(e,t)||ot(e,t)||it()}function it(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function ot(e,t){if(e){if("string"==typeof e)return at(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?at(e,t):void 0}}function at(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function ut(e){if(Array.isArray(e))return e}function lt(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function ct(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=nt(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=nt(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==nt(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var st="announcementModal:lastSeenChanged",ft=(0,p.createContext)(),dt=function(e){var t=e.children,n=(0,Re.zy)(),r=(0,b.Qk)(),i=m.A.useToken().token,o=(0,p.useMemo)((function(){return(0,Ze.j)()}),[]),a=(0,h.I)(function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};
2t%2?lt(Object(n),!0).forEach((function(t){ct(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):lt(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({queryKey:["currentUser"],queryFn:v.HW,staleTime:3e4},o?{initialData:o,initialDataUpdatedAt:0}:{})),u=a.data,l=void 0===u?[]:u,c=a.isLoading,s=a.isFetching,f=a.refetch,d=(0,h.I)({queryKey:["announcements","latest"],queryFn:v.m0,staleTime:3e5,refetchOnWindowFocus:!0}),L=d.data,M=void 0===L?[]:L,x=d.isLoading,j=(0,p.useMemo)((function(){return Number(l&&l.credit_balance||0)}),[l]),E=(0,p.useMemo)((function(){return Number(l&&l.uid||0)}),[l]),S=rt((0,p.useState)(!1),2),A=S[0],_=S[1],D=rt((0,p.useState)((function(){try{if("undefined"==typeof window||!window.localStorage)return 0;var e=window.localStorage.getItem(st),t=e?parseInt(e,10):0;return Number.isNaN(t)?0:t}catch(e){return 0}})),2),C=D[0],N=D[1],O=(0,p.useMemo)((function(){return Array.isArray(M)?M:[]}),[M]),T=(0,p.useMemo)((function(){return O.reduce((function(e,t){var n,r,i=Number(null!==(n=null!==(r=null==t?void 0:t.changed)&&void 0!==r?r:null==t?void 0:t.changed_at)&&void 0!==n?n:0);return Number.isFinite(i)&&i>e?i:e}),0)}),[O]);(0,p.useEffect)((function(){x||_(!!T&&T>C)}),[x,T,C]);var z=rt((0,p.useState)(!1),2),I=z[0],P=z[1],Y=rt((0,p.useState)(!1),2),U=Y[0],B=Y[1],W=rt((0,p.useState)(!1),2),F=W[0],Q=W[1],R=rt((0,p.useState)({required:0,balance:0,reason:null}),2),H=R[0],G=R[1],Z=rt((0,p.useState)(!1),2),J=Z[0],K=Z[1],V=(0,p.useRef)(!1);(0,p.useEffect)((function(){V.current=E>0}),[E]),(0,p.useEffect)((function(){var e=function(){V.current||K(!0)};return window.addEventListener("guest-credits-exhausted",e),function(){return window.removeEventListener("guest-credits-exhausted",e)}}),[]);var X=rt((0,p.useState)((function(){try{return"1"===window.sessionStorage.getItem("lowCreditsDismissed")}catch(e){return!1}})),2),$=X[0],ee=X[1];(0,p.useEffect)((function(){if(!c&&!s){var e=E>0,t=l&&"object"===nt(l)&&!Array.isArray(l)&&("uid"in l||"credit_balance"in l),n=l&&"object"===nt(l)&&!Array.isArray(l)&&"credit_balance"in l;if(e){if(!n)return P(!1),void B(!1);if(j>=50&&$){ee(!1);try{window.sessionStorage.removeItem("lowCreditsDismissed")}catch(e){}}if(j<=0)return P(!0),void B(!1);j>0&&j<50&&!$?B(!0):(B(!1),P(!1))}else if(P(!1),B(!1),t&&j<=0){var r=!1;try{r=document.cookie.split(";").map((function(e){return e.trim()})).some((function(e){return e.startsWith("credit_system_ever_logged_in=")}))}catch(e){}r||K(!0)}}}),[c,s,j,$,E,l]);var te=function(){B(!1),ee(!0);try{window.sessionStorage.setItem("lowCreditsDismissed","1")}catch(e){}},ne=function(e,t){G({required:e,balance:t,reason:(arguments.length>2&&void 0!==arguments[2]?arguments[2]:null)||null}),Q(!0)},re=function(){try{r("/meine-credits#add-credits")}catch(e){}},ie=rt((0,p.useState)([]),2),oe=ie[0],ae=ie[1],ue=rt((0,p.useState)(!1),2),le=ue[0],ce=ue[1],se=(0,p.useRef)(null);(0,p.useEffect)((function(){return function(){return window.clearTimeout(se.current)}}),[]);var fe=(0,h.I)({queryKey:["creditNotifications",E],queryFn:function(){return(0,v.WN)({consume:!1})},enabled:E>0,retry:!1,refetchInterval:function(e){if(E<=0)return!1;var t=Number(null==e?void 0:e.next_poll_seconds);return Number.isFinite(t)&&t>0?1e3*t:6e4},refetchIntervalInBackground:!0,staleTime:0,select:function(e){var t;return{notifications:Array.isArray(null==e?void 0:e.notifications)?e.notifications:[],next_poll_seconds:null!==(t=null==e?void 0:e.next_poll_seconds)&&void 0!==t?t:60}}}),de=fe.data,pe=fe.refetch,he=(0,p.useRef)(j),me=(0,p.useRef)(0);return(0,p.useEffect)((function(){var e=Number(me.current||0),t=Number(E||0);e<=0&&t>0&&(0,qe.sx)("login_success",{page_type:"auth",user_id:t,source:"session_transition"}),me.current=t}),[E]),(0,p.useEffect)((function(){if(E<=0)he.current=j;else{var e=he.current;"number"==typeof e&&j>e&&pe(),he.current=j}}),[j,E,pe]),(0,p.useEffect)((function(){var e;null!=de&&null!==(e=de.notifications)&&void 0!==e&&e.length&&ae((function(e){var t=new Set(e.map((function(e){return e.id}))),n=et(e);return de.notifications.forEach((function(e){e&&(e.id&&t.has(e.id)||n.push(e))})),n}))}),[de]),(0,p.useEffect)((function(){var e;if(E&&oe.length&&!le){var t,n=ut(t=oe)||tt(t)||ot(t)||it(),o=n[0],a=at(n).slice(1);
2ae(a),ce(!0);var u="number"!=typeof(null==o?void 0:o.amount)||Number.isNaN(o.amount)?(0,k.t)("ui.credits.notification.received"):(0,k.t)("ui.credits.notification.amount",{amount:o.amount}),l=null!=o&&null!==(e=o.public_description)&&void 0!==e&&e.trim()?o.public_description:null!=o&&o.action_label?(0,k.t)("ui.credits.notification.for_action",{action:o.action_label}):(0,k.t)("ui.credits.notification.new"),c=function(){var e=$e(Ke().m((function e(){return Ke().w((function(e){for(;;)switch(e.p=e.n){case 0:if(e.p=0,null==o||!o.id){e.n=2;break}return e.n=1,(0,v.Lz)([o.id]);case 1:e.n=3;break;case 2:return e.n=3,(0,v.Lz)();case 3:e.n=5;break;case 4:e.p=4,e.v;case 5:pe();case 6:return e.a(2)}}),e,null,[[0,4]])})));return function(){return e.apply(this,arguments)}}(),s=(null==o?void 0:o.id)||"".concat((null==o?void 0:o.action_code)||"credit","-").concat((null==o?void 0:o.created)||Date.now()),f=!1,d=function(){f||(f=!0,window.clearTimeout(se.current),ce(!1),c())};y.Ay.info({key:s,icon:p.createElement(w.A,{style:{color:i.colorPrimary}}),content:p.createElement("div",{style:{display:"flex",alignItems:"center",gap:8}},p.createElement("span",null,u,": ",l),p.createElement(g.Ay,{size:"small",type:"primary",icon:p.createElement(Ge.Zm,{size:14}),onClick:function(){r("/meine-credits"),y.Ay.destroy(s),d()},style:{backgroundColor:i.colorPrimary,borderColor:i.colorPrimary}})),duration:3,pauseOnHover:!1,onClose:d}),se.current=window.setTimeout((function(){y.Ay.destroy(s),d()}),5e3)}}),[oe,le,E,pe,r,i.colorPrimary]),(0,p.useEffect)((function(){E>0||(ae([]),ce(!1),window.clearTimeout(se.current),y.Ay.destroy())}),[E]),(0,p.useEffect)((function(){f();var e=new URLSearchParams(n.search);if("insufficient_credits"===e.get("error")){var t=parseInt(e.get("required")||"0",10),r=parseInt(e.get("balance")||"0",10),i=e.get("reason")||null;ne(t,r,i);var o=new URL(window.location.href);o.searchParams.delete("error"),o.searchParams.delete("required"),o.searchParams.delete("balance"),o.searchParams.delete("reason"),window.history.replaceState({},"",o)}}),[n.pathname,n.search]),(0,p.useEffect)((function(){if(!c&&!s&&l&&!(Number(l.uid||0)<=0)&&!1===l.profile_complete){var e=(0,He.Op)(n.pathname||"");"/registrieren2"!==e&&"/registrieren3"!==e&&r("/registrieren2",{replace:!0})}}),[l,c,s,n.pathname,r]),(0,p.useEffect)((function(){var e=window.fetch;return window.fetch=$e(Ke().m((function t(){var n,r,i,o=arguments;return Ke().w((function(t){for(;;)switch(t.p=t.n){case 0:return t.n=1,e.apply(void 0,o);case 1:if(n=t.v,r=n.clone(),t.p=2,403!==n.status){t.n=4;break}return t.n=3,r.json();case 3:(i=t.v)&&"insufficient_credits"===i.error&&ne(i.required||0,i.balance||0,i.reason||null);case 4:t.n=6;break;case 5:t.p=5,t.v;case 6:return t.a(2,n)}}),t,null,[[2,5]])}))),function(){window.fetch=e}}),[]),p.createElement(ft.Provider,{value:{currentUser:l,isLoading:c,isFetching:s,creditBalance:j,triggerInsufficientCreditsModal:ne,announcementsReady:!x,hasPendingAnnouncements:A}},t,p.createElement(q,{open:A&&!I&&!U&&!(0,Je.V4)(),announcements:O,onClose:function(){if(_(!1),T){N(T);try{"undefined"!=typeof window&&window.localStorage&&window.localStorage.setItem(st,String(T))}catch(e){}}},onAcknowledge:function(){if(T){N(T);try{"undefined"!=typeof window&&window.localStorage&&window.localStorage.setItem(st,String(T))}catch(e){}}}}),p.createElement(we,{open:I&&!F&&!(0,Je.V4)(),onClose:function(){return P(!1)},onGoToPackages:function(){P(!1),re()}}),p.createElement(Ce,{open:U&&!I&&!F&&!(0,Je.V4)(),onClose:te,onGoToPackages:function(){te(),re()}}),p.createElement(Qe,{open:F&&!(0,Je.V4)(),onClose:function(){return Q(!1)},onGoToPackages:function(){Q(!1),re()},required:H.required,balance:H.balance,reason:H.reason}),p.createElement(ge,{open:J&&!(0,Je.V4)(),onClose:function(){return K(!1)}}))},pt=function(){return(0,p.useContext)(ft)}},47071(e,t,n){n.d(t,{$g:()=>i,Em:()=>o,JI:()=>a,SG:()=>r});var r={body:15,bodySm:14,caption:13,captionSm:12,h2:26,h3:22,h4:18},i={body:1.5714285714285714},o={body:"#666666",heading:"#666666",strong:"#333333"},a={fontFamily:'"Sofia W01", sans-serif',fontSize:r.body,fontSizeHeading2:r.h2,fontSizeHeading3:r.h3,fontSizeHeading4:r.h4,lineHeight:i.body}
2},47686(e,t,n){n.d(t,{L$:()=>h,RN:()=>w,Uu:()=>p,_x:()=>m,dV:()=>g,mz:()=>y});var r,i,o,a,u,l,c=n(38267),s=n(94651),f=n(71222);function d(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}var p=(0,c.Ay)(s.A)(r||(r=d(["\n background: #fff;\n border: 1px solid #ececec;\n border-radius: 8px;\n box-shadow: 0px 0px 15px -3px rgba(0, 0, 0, 0.1),\n 0px 0px 33px -5px rgba(0, 0, 0, 0.1);\n overflow: hidden;\n"]))),h=c.Ay.div(i||(i=d(['\n display: flex;\n align-items: center;\n column-gap: 16px;\n flex-wrap: nowrap;\n margin: 70px 0 24px;\n border-bottom: 1px solid #f0f0f0;\n\n /* Host wrapper (data-tour) must shrink; otherwise tabs expand past the viewport\n and horizontal touch-scroll breaks on mobile. */\n [data-tour="account-nav-tabs"],\n .account-nav-tabs,\n .account-nav-scroll {\n flex: 1 1 auto;\n min-width: 0;\n max-width: 100%;\n align-self: stretch;\n }\n\n [data-tour="account-nav-tabs"] {\n overflow: hidden;\n }\n\n [data-tour="account-nav-tabs"] .account-nav-tabs {\n width: 100%;\n }\n\n /* Tabs are used purely as navigation â no content panes */\n .ant-tabs-content-holder {\n display: none;\n }\n\n .ant-tabs-nav {\n margin-bottom: 0;\n }\n\n /* The wrapper draws the shared bottom border */\n .ant-tabs-nav::before {\n display: none;\n }\n\n .ant-tabs-tab {\n font-weight: 500;\n }\n\n .ant-tabs-tab .ant-badge {\n color: inherit;\n }\n\n /* No route matches a tab: undo antd\'s fallback highlighting */\n .account-nav-tabs-none-active .ant-tabs-tab-active .ant-tabs-tab-btn {\n color: rgba(0, 0, 0, 0.88);\n text-shadow: none;\n }\n\n .account-nav-tabs-none-active .ant-tabs-ink-bar {\n display: none;\n }\n\n .account-nav-actions {\n flex: 0 0 auto;\n margin-left: auto;\n }\n\n .account-nav-icon-actions {\n gap: 8px;\n }\n\n .account-nav-actions .ant-badge {\n z-index: 2;\n }\n\n /* Compact view: extra items live inside the tab bar, tighten spacing */\n @media screen and (max-width: 860px) {\n column-gap: 12px;\n }\n']))),m=c.Ay.div(o||(o=d(["\n display: flex;\n align-items: stretch;\n gap: 20px;\n width: 100%;\n overflow-x: auto;\n overflow-y: hidden;\n overscroll-behavior-x: contain;\n scrollbar-width: none;\n -webkit-overflow-scrolling: touch;\n\n &::-webkit-scrollbar {\n display: none;\n }\n"]))),y=(0,c.Ay)(f.A)(a||(a=d(["\n position: relative;\n flex: 0 0 auto;\n min-height: 46px;\n padding: 12px 0;\n border: 0;\n background: transparent;\n color: ",';\n font: inherit;\n font-weight: 500;\n line-height: 22px;\n text-decoration: none;\n white-space: nowrap;\n cursor: pointer;\n -webkit-tap-highlight-color: transparent;\n\n &::after {\n content: "";\n position: absolute;\n right: 0;\n bottom: 0;\n left: 0;\n height: 2px;\n border-radius: 2px 2px 0 0;\n background: #9f1c62;\n opacity: ',";\n }\n\n &:focus-visible {\n outline: 2px solid #9f1c62;\n outline-offset: -2px;\n border-radius: 4px;\n }\n"])),(function(e){return e.$active?"#9f1c62":"rgba(0, 0, 0, 0.88)"}),(function(e){return e.$active?1:0})),g=c.Ay.button(u||(u=d(['\n display: inline-flex;\n align-items: center;\n justify-content: center;\n padding: 8px;\n border: none;\n background: transparent;\n cursor: pointer;\n border-radius: 6px;\n line-height: 0;\n color: #9f1c62;\n\n svg {\n width: 22px;\n height: 22px;\n }\n\n &:hover {\n background: rgb(250, 246, 248);\n }\n\n &[data-active="true"] {\n background: rgb(250, 246, 248);\n }\n']))),w=c.Ay.div(l||(l=d(["\n display: flex;\n align-items: center;\n justify-content: space-between;\n gap: 16px;\n flex-wrap: wrap;\n padding-bottom: 12px;\n border-bottom: 1px solid #f0f0f0;\n"])))},50740(e,t,n){n.d(t,{Y:()=>f,k:()=>s});var r=n(36962),i=n(43977),o=["wheel","touchstart","keydown"],a=function(){return document.scrollingElement||document.documentElement},u=function(e){var t=a(),n=Number.parseFloat(window.getComputedStyle(e).scrollMarginTop)||0,r=e.getBoundingClientRect().top+t.scrollTop-n,i=Math.max(0,t.scrollHeight-window.innerHeight);return Math.min(Math.max(r,0),i)},l=null,c=function(){l&&(l(),l=null)};function s(e){c();var t=document.documentElement,n=a(),r=t.style.scrollBehavior;t.style.scrollBehavior="auto";var i=null,s=!1,f=function(){s||(s=!0,null!==i&&cancelAnimationFrame(i),t.style.scrollBehavior=r,o.forEach((function(e){return window.removeEventListener(e,f,{capture:!0})}
2)),l===f&&(l=null))};l=f,o.forEach((function(e){return window.addEventListener(e,f,{capture:!0,passive:!0})}));var d=n.scrollTop,p=performance.now(),h=Math.abs(u(e)-d),m=Math.min(1100,Math.max(350,.25*h)),y=null,g=null,w=function(t){if(!s){if(null===y){var r=Math.min(1,(t-p)/m);return n.scrollTop=d+(u(e)-d)*((o=r)<.5?4*o*o*o:1-Math.pow(-2*o+2,3)/2),r>=1&&(y=t),void(i=requestAnimationFrame(w))}var o,a=u(e)-n.scrollTop;if(Math.abs(a)>1?(n.scrollTop+=.25*a,g=null):null===g&&(g=t),null!==g&&t-g>=250||t-y>=2e3)return n.scrollTop=u(e),void f();i=requestAnimationFrame(w)}};i=requestAnimationFrame(w)}function f(){var e=function(e){var t;if(!(e.defaultPrevented||0!==e.button||e.metaKey||e.ctrlKey||e.shiftKey||e.altKey)&&e.target instanceof Element){var n=e.target.closest('a[href^="#"]'),o=n?decodeURIComponent(n.getAttribute("href").slice(1)):"",a=o?(0,r.T)(o):null;if(a){e.preventDefault();var u=null===(t=window.drupalSettings)||void 0===t||null===(t=t.helpindeal)||void 0===t||null===(t=t.i18n)||void 0===t?void 0:t.lang,l=(0,i.Fl)(o,u)||o;window.location.hash!=="#".concat(l)&&window.history.pushState(window.history.state,"","#".concat(l)),s(a)}}};return document.addEventListener("click",e),function(){document.removeEventListener("click",e),c()}}},54228(e,t,n){n.d(t,{N:()=>u,a:()=>a});var r=n(96540);function i(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,i,o,a,u=[],l=!0,c=!1;try{if(o=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(r=o.call(n)).done)&&(u.push(r.value),u.length!==t);l=!0);}catch(e){c=!0,i=e}finally{try{if(!l&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(c)throw i}}return u}}(e,t)||function(e,t){if(e){if("string"==typeof e)return o(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?o(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function o(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}var a=function(){var e=i((0,r.useState)((function(){return l()})),2),t=e[0],n=e[1];return(0,r.useEffect)((function(){var e=function(){var e=l();n(e)},t=window.matchMedia("(max-width: 768px)"),r=function(){return e()};return t.addEventListener("change",r),window.addEventListener("orientationchange",e),function(){t.removeEventListener("change",r),window.removeEventListener("orientationchange",e)}}),[]),t},u=function(e,t){var n=i((0,r.useState)(t),2),o=n[0],a=n[1];return(0,r.useEffect)((function(){var t=window.matchMedia(e);a(t.matches);var n=function(e){a(e.matches)};return t.addEventListener("change",n),function(){t.removeEventListener("change",n)}}),[e]),o};function l(){var e="ontouchstart"in window||navigator.maxTouchPoints>0||navigator.msMaxTouchPoints>0,t=navigator.userAgent||"",n=/android|webos|iphone|ipad|ipod|blackberry|iemobile|opera mini/i.test(t.toLowerCase()),r=(window.innerWidth||document.documentElement.clientWidth||document.body.clientWidth)<=768,i=(window.devicePixelRatio||1)>1.5,o=window.matchMedia("(pointer: coarse)").matches;return e||n||o||r&&i}},58171(e,t,n){n.d(t,{$S:()=>w,R8:()=>v,Zi:()=>m,c1:()=>h,f3:()=>x,hL:()=>g,rh:()=>y,uT:()=>p,vC:()=>d,zK:()=>f});var r=n(79494),i=n(99515),o=n(43977),a=n(58618);function u(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,i,o,a,u=[],l=!0,c=!1;try{if(o=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(r=o.call(n)).done)&&(u.push(r.value),u.length!==t);l=!0);}catch(e){c=!0,i=e}finally{try{if(!l&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(c)throw i}}return u}}(e,t)||function(e,t){if(e){if("string"==typeof e)return l(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?l(e,t):void 0}}
2(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function l(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}var c={login:"/einloggen",register:"/registrieren"},s=["check_logged_in","auth_required"],f=function(e){if(!e||"string"!=typeof e)return"";try{var t=new URL(e,window.location.origin);if(t.origin!==window.location.origin)return"";s.forEach((function(e){return t.searchParams.delete(e)})),t.searchParams.delete((0,r.um)()),t.pathname=(0,o.qP)(t.pathname);var n=t.searchParams.toString();return"".concat(t.pathname).concat(n?"?".concat(n):"").concat(t.hash||"")}catch(t){return e.startsWith("/")?(0,o.qP)(e):""}},d=function(){return"undefined"==typeof window?"":window.location?"".concat(window.location.pathname).concat(window.location.search||"").concat(window.location.hash||""):""},p=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.type,i=void 0===n?"login":n,a=t.destination,l=t.authRequired,s=void 0!==l&&l,p=(0,o.qP)(e||c[i]||c.login),h=u(p.split("#"),2),m=h[0],y=h[1],g=void 0===y?"":y,w=f(void 0===a?d():a);if(!w||w===m)return(0,r.$y)(p);var v=s?"&".concat("auth_required","=1"):"";return(0,r.$y)("".concat(m,"?destination=").concat(encodeURIComponent(w)).concat(v).concat(g?"#".concat(g):""))},h=function(e,t){if(!e)return e;var n=f(t);if(!n)return e;try{var r=new URL(e,window.location.origin);return r.searchParams.has("destination")?e:(r.searchParams.set("destination",n),"".concat(r.pathname).concat(r.search).concat(r.hash))}catch(t){if(/[?&]destination=/.test(e))return e;var i=e.includes("?")?"&":"?";return"".concat(e).concat(i,"destination=").concat(encodeURIComponent(n))}},m=function(e){return p(c.login,void 0===e?{type:"login"}:{type:"login",destination:e})},y=function(e){return p(c.login,void 0===e?{type:"login",authRequired:!0}:{type:"login",destination:e,authRequired:!0})},g=function(e){return p(c.register,void 0===e?{type:"register"}:{type:"register",destination:e})},w=function(e){var t=f(e);return Boolean(t&&(0,i.F_)(t))},v=function(e,t){var n=f(e);if(!n)return"function"==typeof t?void t("/"):void("undefined"!=typeof window&&window.location.assign("/"));var a=(0,r.$y)((0,o.qP)(n));"function"==typeof t&&(0,i.F_)(n)?t(a):"undefined"!=typeof window&&window.location.assign(a)},b=["/urlaub-gegen-hilfe/","/wohnen-gegen-hilfe/","/hilfe-und-tausch/","/haustausch/","/socialbusiness/"],L=new Set(["im","in","am","an","auf","aus","bei","bis","der","die","das","den","dem","des","ein","eine","für","gegen","mit","nach","oder","um","und","von","vom","vor","zu","zum","zur","über"]),M=function(e){return String(e||"").replace(/[-_]+/g," ").trim().split(/\s+/).filter(Boolean).map((function(e,t){var n=e.toLowerCase();return t>0&&L.has(n)?n:n.charAt(0).toUpperCase()+n.slice(1)})).join(" ")},x=function(e){if((0,a.Jk)(e))return(0,r.t)("ui.utils.dest.platform_tour");var t=String(e||"").split("?")[0].split("#")[0],n=(0,o.Op)(t),i={"/chat":(0,r.t)("ui.utils.dest.chat"),"/mein-profil":(0,r.t)("ui.utils.dest.my_profile"),"/meine-credits":(0,r.t)("ui.utils.dest.my_credits"),"/meine-deals":(0,r.t)("ui.utils.dest.my_deals"),"/meine-matches":(0,r.t)("ui.utils.dest.my_matches"),"/meine-bestellungen":(0,r.t)("ui.utils.dest.my_orders"),"/favoriten":(0,r.t)("ui.utils.dest.favorites"),"/deal-anlegen":(0,r.t)("ui.utils.dest.create_deal"),"/account":(0,r.t)("ui.utils.dest.account"),"/checkout":(0,r.t)("ui.utils.dest.checkout")};if(i[n])return i[n];if(0===n.indexOf("/deal-bearbeiten"))return(0,r.t)("ui.utils.dest.edit_deal");if(0===n.indexOf("/bewertungen"))return(0,r.t)("ui.utils.dest.reviews");var u=function(e){if(!b.find((function(t){return 0===e.indexOf(t)})))return"";var t=e.replace(/^\/+|\/+$/g,"").split("/");return t.length>=3?t[2]:t[t.length-1]}(n);return u?M(u):n?M(n.replace(/^\/+/,"").replace(/\//g," ")):(0,r.t)("ui.utils.dest.protected_page")}},58618(e,t,n){n.d(t,{Jk:()=>u,cx:()=>a,xY:()=>o});var r="hid-start-tour",i="hid_start_tour";function o(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"/",t=e&&e.startsWith("/")?e:"/";try{var n=new URL(t,window.location.origin);n.searchParams.set(i,"1"),n.hash="";var r=n.searchParams.toString();return"".concat(n.pathname).concat(r?"?".concat(r):"")}catch(e){var o=t.includes("?")?"&":"?";return"".concat(t).concat(o).concat(i,"=1")}}function a(e){if(!e||"string"!=typeof e)return e||"/";try{var t=new URL(e,window.location.origin);"1"===t.searchParams.get(i)&&t.searchParams.delete(i),t.hash.replace(/^#/,"")===r&&(t.hash="");var n=t.searchParams.toString();return"".concat(t.pathname).concat(n?"?".concat(n):"").concat(t.hash||"")}catch(t){return e.replace(new RegExp("([?&])".concat(i,"=1&?")),"$1").replace(new RegExp("[?&]".concat(i,"=1")),"").replace("#".concat(r),"")}}function u(e){if(!e||"string"!=typeof e)return!1;try{var t=new URL(e,window.location.origin);return t.origin===window.location.origin&&(t.hash.replace(/^#/,"")===r||"1"===t.searchParams.get(i))}catch(t){return e.includes("#".concat(r))||e.includes("".concat(i,"=1"))}}},58672(e,t,n){n.d(t,{A:()=>u,l:()=>a});var r=n(96540),i=n(47767),o=n(88730),a="hid_referral_preview";
2const u=function(){var e=(0,i.zy)();return(0,r.useEffect)((function(){var t=new URLSearchParams(e.search||""),n=t.get("ref");if(n){var r=!1;return(0,o.IR)({code:n,ctx:t.get("ctx")||""}).then((function(e){if(!r&&null!=e&&e.ok){try{sessionStorage.setItem(a,JSON.stringify(e))}catch(e){}window.dispatchEvent(new CustomEvent("hid-referral-preview",{detail:e}))}})).catch((function(){})),function(){r=!0}}}),[e.search]),null}},60573(e,t,n){n.d(t,{EE:()=>j,Hm:()=>U,MZ:()=>N,OD:()=>p,PJ:()=>_,S8:()=>O,TL:()=>I,ZC:()=>F,ZT:()=>P,fV:()=>Q,fx:()=>T,pc:()=>v,pp:()=>Y,rG:()=>y,rw:()=>D,tK:()=>C,vb:()=>x,wg:()=>z,yW:()=>G,zG:()=>g});var r=n(96540),i=n(1588),o=n(79494),a=n(85621);function u(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function l(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?u(Object(n),!0).forEach((function(t){c(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):u(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function c(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=d(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=d(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==d(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function s(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,i,o,a,u=[],l=!0,c=!1;try{if(o=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(r=o.call(n)).done)&&(u.push(r.value),u.length!==t);l=!0);}catch(e){c=!0,i=e}finally{try{if(!l&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(c)throw i}}return u}}(e,t)||function(e,t){if(e){if("string"==typeof e)return f(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?f(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function f(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function d(e){return d="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},d(e)}var p=function(e,t){var n=i.R6.find((function(t){return t.value===e}));if(n){var r,o="string"==typeof t?t.toLowerCase():"",a=null===(r=n.sub_categories)||void 0===r?void 0:r.find((function(t){if("string"==typeof t.value){if(t.value.toLowerCase()===o)return!0;var n=function(e,t){return"host finden"===e&&"ugh"===t?"ugh_host_content":"helfer finden"===e&&"ugh"===t?"ugh_helfer_content":"host finden"===e&&"wgh"===t?"wgh_host_content":"helfer finden"===e&&"wgh"===t?"wgh_helfer_content":e}(o,e);if(n&&t.value.toLowerCase()===n.toLowerCase())return!0}return"string"==typeof t.label&&t.label.toLowerCase()===o}));return a||n}return null};function h(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"unbekannt";return(e||"").toString().normalize("NFD").replace(/[\u0300-\u036f]/g,"").toLowerCase().replace(/[^a-z0-9]+/g,"-").replace(/^-+|-+$/g,"").replace(/-+/g,"-")||t}function m(e,t){var n=h(e.location||e.field_location||e.field_location_name||e.ort||e.city||"unbekannt"),r=h(e.title||e.nid,e.nid||"deal");return"".concat(t,"/").concat(n,"/").concat(r)}var y=function(e,t){var n,r=function(e){var n;return(null===(n=t.mapping_table)||void 0===n?void 0:n[e])||e},o=((null===i.R6||void 0===i.R6?void 0:i.R6.filter((function(e){return void 0!==e.value})).map((function(e){return e.value})))||[]).includes(null==e?void 0:e.value)&&Array.isArray(null==e||null===(n=e.filters)||void 0===n||null===(n=n[0])||void 0===n?void 0:n.items),a=0;return o?e.filters.map((function(e){var n=new Map,i=e.key;
2return(Array.isArray(e.items)?e.items:[]).forEach((function(e){if(e){var o=r(e);Object.keys(t).forEach((function(r){var u;if("mapping_table"!==r){var l=null===(u=t[r])||void 0===u?void 0:u[e];l&&"object"===d(l)&&!Array.isArray(l)&&Object.entries(l).forEach((function(e){var t=s(e,2),r=t[0],u=t[1];if(null!=u&&("string"==typeof u||"number"==typeof u)&&null!=r){var l="".concat(o,":").concat(r,";");if(n.has(u)){var c=n.get(u);c.name.includes(l)||(c.name+=l)}else{a++;var f="".concat(i,"-item-").concat(a);n.set(u,{name:l,value_key:r,label:String(u),visible:!1,key:f})}}}))}}))}})),l(l({},e),{},{items:Array.from(n.values())})})):e.filters.map((function(n){var i=new Map,o=n.key,u=[];return Array.isArray(n.items)?u=n.items:"string"==typeof n.items&&n.items&&(u=[n.items]),(u=u.filter(Boolean)).forEach((function(n){var u=r(n);Object.keys(t).forEach((function(r){if("mapping_table"!==r){var l=null;null!=e&&e.value&&t[e.value]&&"object"===d(t[e.value])&&(l=t[e.value][n]),!l&&t[r]&&"object"===d(t[r])&&(l=t[r][n]),l&&"object"===d(l)&&!Array.isArray(l)&&Object.entries(l).forEach((function(e){var t=s(e,2),n=t[0],r=t[1];if(null!=r&&("string"==typeof r||"number"==typeof r)&&null!=n){var l="".concat(u,":").concat(n,";");if(i.has(r)){var c=i.get(r);c.name.includes(l)||(c.name+=l)}else{a++;var f="".concat(o,"-item-").concat(a);i.set(r,{name:l,value_key:n,label:String(r),visible:!1,key:f})}}}))}}))})),l(l({},n),{},{items:Array.from(i.values())})}))},g=function(e,t){return t="string"==typeof t?t.toLowerCase():"","wgh"===e&&"all"===t?"t3=1&t4=1":"wgh"===e&&"host finden"===t?"t3=1":"wgh"===e&&"helfer finden"===t?"t4=1":"ugh"===e&&"all"===t?"t1=1&t2=1":"ugh"===e&&"host finden"===t?"t1=1":"ugh"===e&&"helfer finden"===t?"t2=1":"hgh_helfer_content"===e?"t5=1":"ht_host_content"===e?"t6=1":"mgg"===e&&"all"===t?"t7=1&t8=1":"mgg"===e&&"organisation finden"===t?"t7=1":"mgg"===e&&"unternehmen finden"===t?"t8=1":"all"===e&&"all"===t?"t1=1&t2=1&t3=1&t4=1&t5=1&t6=1&t7=1&t8=1":void 0===e&&"all"===t?Y():e},w=function(e){return null==e||("string"!=typeof e?!e:""===e.trim())},v=function(e,t){var n=!w(e),r=!w(t);return n||r?n&&r?"".concat(e," - ").concat(t):n?"".concat(e," - ").concat((0,o.t)("ui.deal_card.period.open_end")):"".concat((0,o.t)("ui.deal_card.period.open_start")," - ").concat(t):(0,o.t)("ui.deal_card.period.anytime")},b={ugh_host_content:"Host",wgh_host_content:"Host",ugh_helfer_content:"Helfer",wgh_helfer_content:"Helfer"},L={"ugh-host":"Host","wgh-host":"Host","ugh-helfer":"Helfer","wgh-helfer":"Helfer"},M={Host:"ui.deal_card.role.host",Helfer:"ui.deal_card.role.helfer",Unternehmen:"ui.deal_card.role.company",Organisation:"ui.deal_card.role.organisation"},x=function(e){if(!e)return"";var t=M[e];return t?(0,o.t)(t):String(e)},j=function(e){var t=(null==e?void 0:e.considerationhd)||(null==e?void 0:e.considerationh)||(null==e?void 0:e.consideration),n=t&&"Beliebig"!==t?t:(0,o.t)("ui.deal_card.duration.any"),r=function(e){var t,n,r;return"Host"===(null==e?void 0:e.subtype)||"Helfer"===(null==e?void 0:e.subtype)||"Unternehmen"===(null==e?void 0:e.subtype)||"Organisation"===(null==e?void 0:e.subtype)?e.subtype:null!==(t=null!==(n=null!==(r=L[null==e?void 0:e.type])&&void 0!==r?r:b[null==e?void 0:e.type])&&void 0!==n?n:b[null==e?void 0:e.nodeType])&&void 0!==t?t:null}(e);return"Host"===r?{subtype:r,duration:n,action:"sucht"}:"Helfer"===r?{subtype:r,duration:n,action:"bietet"}:"Unternehmen"===r||"Organisation"===r?{subtype:r,duration:n,action:null}:{subtype:null,duration:n,action:null}},E=function(e){if(!e||"string"!=typeof e)return null;var t=e.trim();if(!t)return null;if(/^\d{4}-\d{2}-\d{2}/.test(t)){var n=s(t.split("T")[0].split("-"),3),r=n[0],i=n[1],o=n[2],a=new Date(Date.UTC(Number(r),Number(i)-1,Number(o)));return Number.isNaN(a.getTime())?null:a}if(/^\d{2}\.\d{2}\.\d{4}/.test(t)){var u=s(t.split(" ")[0].split("."),3),l=u[0],c=u[1],f=u[2],d=new Date(Date.UTC(Number(f),Number(c)-1,Number(l)));return Number.isNaN(d.getTime())?null:d}var p=new Date(t);return Number.isNaN(p.getTime())?null:p},S=function(){return{label:(0,o.t)("ui.utils.runtime.running"),color:"#e59800"}},A=function(){return{label:(0,o.t)("ui.utils.runtime.expired"),color:"#9f1c62"}},k=function(){return{label:(0,o.t)("ui.utils.runtime.soon"),color:"#0f9a95"}},_=function(e,t){var n=(arguments.length>2&&void 0!==arguments[2]?arguments[2]:{}).soonThresholdDays,r=void 0===n?60:n,i=E(e),o=E(t);if(!i&&!o)return null;var a=new Date,u=new Date(Date.UTC(a.getUTCFullYear(),a.getUTCMonth(),a.getUTCDate()));if(!i&&o)return u<=o?S():A();if(i&&!o){if(u<i){return Math.ceil((i-u)/864e5)<=r?k():null}return S()}if(u<i){return Math.ceil((i-u)/864e5)<=r?k():null}return u<=o?S():A()},D=function(e){var t={};for(var n in e)if(e.hasOwnProperty(n)){var r=n.split("_");if(r.length>2)t[r.slice(2).join("_")]=e[n];else t[n]=e[n]}if(e.key)return e;var i=e.deal_url||t.deal_url,o=t.type,u=(0,a.codeFromBundle)(o);return u&&(t.bundleType=o,t.categoryCode=u,t.type=(0,a.getCategoryName)(u)||t.type),"ugh_helfer_content"===o?(t.subtype="Helfer",t.iconUrl="/sites/default/files/2021-02/Urlaub-gegen-Hilfe-120x120.png",t.savefavoiteData="".concat(e.nid,"-ughhe-").concat(e.is_favorite),t.dealurl=i||m(e,"/urlaub-gegen-hilfe")):"ugh_host_content"===o?(t.subtype="Host",t.iconUrl="/sites/default/files/2021-02/Urlaub-gegen-Hilfe-120x120.png",t.savefavoiteData="".concat(e.nid,"-ughho-").concat(e.is_favorite),t.dealurl=i||m(e,"/urlaub-gegen-hilfe")):"wgh_helfer_content"===o?(t.subtype="Helfer",t.iconUrl="/sites/default/files/2021-02/Wohnen-gegen-Hilfe-120x120.png",t.savefavoiteData="".concat(e.nid,"-wghhe-").concat(e.is_favorite),t.dealurl=i||m(e,"/wohnen-gegen-hilfe")):"wgh_host_content"===o?(t.subtype="Host",t.iconUrl="/sites/default/files/2021-02/Wohnen-gegen-Hilfe-120x120.png",t.savefavoiteData="".concat(e.nid,"-wghho-").concat(e.is_favorite),t.dealurl=i||m(e,"/wohnen-gegen-hilfe")):"hgh_helfer_content"===o?(t.subtype=null,t.iconUrl="/sites/default/files/2021-02/Hilfe-gegen-Hilfe-120x120.png",t.savefavoiteData="".concat(e.nid,"-hghh-").concat(e.is_favorite),t.dealurl=i||m(e,"/hilfe-und-tausch")):"ht_host_content"===o?(t.subtype=null,t.iconUrl="/sites/default/files/2021-02/Haustausch-120x120.png",t.savefavoiteData="".concat(e.nid,"-htho-").concat(e.is_favorite),t.dealurl=i||m(e,"/haustausch")):"sb_company_content"===o?(t.subtype="Unternehmen",t.iconUrl="/themes/helpindeal/images/b5/Icon_SocialDeal
2s.png",t.savefavoiteData="".concat(e.nid,"-mgu-").concat(e.is_favorite),t.dealurl=i||m(e,"/socialbusiness"),t.offer=t.offer_comp,t.search=t.offer_orga):"sb_organisation_content"===o&&(t.subtype="Organisation",t.iconUrl="/themes/helpindeal/images/b5/Icon_SocialDeals.png",t.savefavoiteData="".concat(e.nid,"-mgo-").concat(e.is_favorite),t.dealurl=i||m(e,"/socialbusiness"),t.offer=t.offer_orga,t.search=t.offer_comp),t.is_sb_group=e.is_sb_group,t.dealIconUrl="/themes/helpindeal/images/b5/deal.png",t},C=function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=new URLSearchParams(window.location.search),n={};if(i.TW.forEach((function(e){var r=t.get(e);r&&(n[e]=r)})),e)return n.category="all",n;var r="1"===t.get("t1"),o="1"===t.get("t2"),a="1"===t.get("t3"),u="1"===t.get("t4"),l="1"===t.get("t5"),c="1"===t.get("t6"),s="1"===t.get("t7"),f="1"===t.get("t8");return r&&o&&a&&u&&l&&c?n.category="all":a&&u||a||u?n.category="wgh":r&&o||r||o?n.category="ugh":l?n.category="hgh_helfer_content":c?n.category="ht_host_content":s&&f?n.category="mgg":s?n.category="sb_organisation_content":f&&(n.category="sb_company_content"),n},N={sortby:"created",sortdirection:"DESC"},O=function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];return l(l({},N),C(e))},T=function(){var e=new URLSearchParams(window.location.search),t="1"===e.get("t1"),n="1"===e.get("t2"),r="1"===e.get("t3"),i="1"===e.get("t4"),o="1"===e.get("t5"),a="1"===e.get("t6"),u="1"===e.get("t7"),l="1"===e.get("t8"),c="";return t&&n&&r&&i&&o&&a&&u&&l||r&&i?c="all":r?c="host finden":i?c="helfer finden":t&&n?c="all":t?c="host finden":n?c="helfer finden":o||a||u&l?c="all":u?c="organisation finden":l&&(c="unternehmen finden"),c},z=function(e,t){var n=t&&t.facets&&t.facets.bundle&&t.facets.bundle.reduce((function(e,t){return e[t.filter.replace(/"/g,"")]=t.count,e}),{})||{};return function e(i){return i.map((function(i){var o=n[i.value]||0;return i.sub_categories&&(i.sub_categories=e(i.sub_categories),o+=i.sub_categories.reduce((function(e,t){return e+(n[t.value]||0)}),0)),"all"===i.value&&t&&(o=t.count),l(l({},i),{},{displayLabel:r.createElement("div",{style:{display:"flex",alignItems:"center",width:"100%"}},r.createElement("span",{style:{minWidth:0,overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"}},i.label),r.createElement("span",{style:{marginLeft:"auto",paddingLeft:12,textAlign:"right",flexShrink:0}},o))})}))}(e)},I=function(e,t,n){t="string"==typeof t?t.toLowerCase():"";var r=function(){var e,t=null==n||null===(e=n.facets)||void 0===e?void 0:e.bundle;if(!Array.isArray(t))return 0;for(var r=0,i=arguments.length,o=new Array(i),a=0;a<i;a++)o[a]=arguments[a];return o.forEach((function(e){var n=t.find((function(t){return t.filter===e}));n&&(r+=n.count)})),r};return"wgh"===e&&"all"===t?r('"wgh_helfer_content"','"wgh_host_content"'):"wgh"===e&&"host finden"===t?r('"wgh_host_content"'):"wgh"===e&&"helfer finden"===t?r('"wgh_helfer_content"'):"ugh"===e&&"all"===t?r('"ugh_helfer_content"','"ugh_host_content"'):"ugh"===e&&"host finden"===t?r('"ugh_host_content"'):"ugh"===e&&"helfer finden"===t?r('"ugh_helfer_content"'):"hgh_helfer_content"===e?r('"hgh_helfer_content"'):"ht_host_content"===e?r('"ht_host_content"'):"mgg"===e&&"all"===t?r('"sb_organisation_content"','"sb_company_content"'):"mgg"===e&&"organisation finden"===t?r('"sb_organisation_content"'):"mgg"===e&&"unternehmen finden"===t?r('"sb_company_content"'):"ugh_host_content"===e?r('"ugh_host_content"'):"ugh_helfer_content"===e?r('"ugh_helfer_content"'):"wgh_host_content"===e?r('"wgh_host_content"'):"wgh_helfer_content"===e?r('"wgh_helfer_content"'):"sb_organisation_content"===e?r('"sb_organisation_content"'):"sb_company_content"===e?r('"sb_company_content"'):Number(null==n?void 0:n.count)||0},P=function(e){var t=function(e,t){var n;return function(){for(var r=arguments.length,i=new Array(r),o=0;o<r;o++)i[o]=arguments[o];n&&clearTimeout(n),n=setTimeout((function(){e.apply(void 0,i)}),t)}}((function(t){e(t)}),arguments.length>1&&void 0!==arguments[1]?arguments[1]:500);return function(n,r){var i=Object.keys(n);i.includes("radius")||i.includes("sortdirection")||i.includes("sortby")?e(r):!i.includes("location")&&i.includes("search")&&Object.values(n).some((function(e){return"string"==typeof e&&e.length<1||e.length>3}))&&t(r)}},Y=function(){switch(window.location.pathname){case"/urlaub-gegen-hilfe":return"t1=1&t2=1";case"/wohnen-gegen-hilfe":return"t3=1&t4=1";case"/hilfe-und-tausch":return"t5=1";case"/haustausch":return"t6=1";case"/socialbusiness":return"t7=1&t8=1";default:return"t1=1&t2=1&t3=1&t4=1&t5=1&t6=1&t7=1&t8=1"}},U=function(e){return e.map((function(e,t){return l(l({},e),{},{uniqueKey:e._key||"unique-".concat(t)})}))},B={ugh_helfer_content:"ui.search.tab.helper",ugh_host_content:"ui.search.tab.host",wgh_helfer_content:"ui.search.tab.helper",wgh_host_content:"ui.search.tab.host",sb_company_content:"ui.search.tab.company",sb_organisation_content:"ui.search.tab.org"},W={ugh_helfer_content:"/sites/default/files/2021-02/Urlaub-gegen-Hilfe-120x120.png",ugh_host_content:"/sites/default/files/2021-02/Urlaub-gegen-Hilfe-120x120.png",wgh_helfer_content:"/sites/default/files/2021-02/Wohnen-gegen-Hilfe-120x120.png",wgh_host_content:"/sites/default/files/2021-02/Wohnen-gegen-Hilfe-120x120.png",hgh_helfer_content:"/sites/default/files/2021-02/Hilfe-gegen-Hilfe-120x120.png",ht_host_content:"/sites/default/files/2021-02/Haustausch-120x120.png",sb_company_content:"/themes/helpindeal/images/b5/Icon_SocialDeal
2s.png",sb_organisation_content:"/themes/helpindeal/images/b5/Icon_SocialDeals.png"},F=function(e){var t=String(e||"").toLowerCase(),n=(0,a.codeFromBundle)(t),r=(0,a.getCategoryName)(n);if(!r)return"";var i=B[t];return i?"".concat(r," â ").concat((0,o.t)(i)):r},Q=function(e){var t=String(e||"").toLowerCase();return W[t]||""},R={wgh:"WGH",ugh:"UGH",mgg:"SB",sb:"SB"},H={"host finden":"ui.search.tab.host","helfer finden":"ui.search.tab.helper","organisation finden":"ui.search.tab.org","unternehmen finden":"ui.search.tab.company"},G=function(e,t){var n=null==e?void 0:e.toLowerCase(),r=null==t?void 0:t.toLowerCase();if("hgh_helfer_content"===n||"hgh"===n||"hut"===n)return(0,a.getCategoryName)("hgh");if("ht_host_content"===n||"ht"===n)return(0,a.getCategoryName)("ht");if("all"===n||!n)return(0,o.t)("ui.search.all_categories");var i=(0,a.normalizeCategoryCode)(n)||n,u=R[i];if(!u)return(0,a.getCategoryName)(i)||(0,o.t)("ui.search.all_categories");if(!r||"undefined"===r)return u;if("all"===r)return"sb"===i||"mgg"===i?"".concat(u," - ").concat((0,o.t)("ui.deal_card.role.organisation")," & ").concat((0,o.t)("ui.deal_card.role.company")):"".concat(u," - ").concat((0,o.t)("ui.deal_card.role.host")," & ").concat((0,o.t)("ui.deal_card.role.helfer"));var l=H[r];return l?"".concat(u," - ").concat((0,o.t)(l)):u}},63369(e,t,n){n.d(t,{S:()=>f,b:()=>d});var r=n(96540);function i(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,i,o,a,u=[],l=!0,c=!1;try{if(o=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(r=o.call(n)).done)&&(u.push(r.value),u.length!==t);l=!0);}catch(e){c=!0,i=e}finally{try{if(!l&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(c)throw i}}return u}}(e,t)||function(e,t){if(e){if("string"==typeof e)return o(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?o(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function o(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}var a=function(e){var t,n;return e?(t=e.scrollTop,n=e.scrollHeight-e.clientHeight):(t=window.scrollY||document.documentElement.scrollTop,n=document.documentElement.scrollHeight-document.documentElement.clientHeight),Math.min(Math.max(t,0),Math.max(n,0))};const u=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=i((0,r.useState)("up"),2),o=n[0],u=n[1],l=i((0,r.useState)(!0),2),c=l[0],s=l[1],f=(0,r.useRef)(!0),d=(0,r.useRef)(0),p=(0,r.useRef)("up"),h=(0,r.useRef)(t),m=(0,r.useRef)(e);h.current=t,m.current=e;var y=(0,r.useCallback)((function(e){var t=m.current,n=e<=t;f.current!==n&&(f.current=n,s(n));var r=p.current;e<=t?r="up":e>d.current+8?r="down":e<d.current-8&&(r="up"),p.current!==r?(u(r),p.current=r,d.current=e):("down"===r?e>d.current:e<d.current)&&(d.current=e)}),[]);return(0,r.useLayoutEffect)((function(){if(t)return t.scrollTop=0,d.current=0,f.current=!0,p.current="up",s(!0),void u("up");e<=0||y(a(null))}),[t,e,y]),(0,r.useLayoutEffect)((function(){e<=0||y(a(t))}),[e,t,y]),(0,r.useEffect)((function(){var e=function(){y(a(h.current))},n=t||window;return n.addEventListener("scroll",e,{passive:!0}),function(){n.removeEventListener("scroll",e)}}),[t,y]),{scrollDirection:o,isTop:c}};function l(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,i,o,a,u=[],l=!0,c=!1;try{if(o=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(r=o.call(n)).done)&&(u.push(r.value),u.length!==t);l=!0);}catch(e){c=!0,i=e}
2finally{try{if(!l&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(c)throw i}}return u}}(e,t)||function(e,t){if(e){if("string"==typeof e)return c(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?c(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function c(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}var s=(0,r.createContext)(),f=function(e){var t=e.defaultThreshold,n=void 0===t?0:t,i=e.children,o=l((0,r.useState)(n),2),a=o[0],c=o[1],f=l((0,r.useState)(null),2),d=f[0],p=f[1],h=l((0,r.useState)(0),2),m=h[0],y=h[1],g=l((0,r.useState)(0),2),w=g[0],v=g[1],b=(0,r.useCallback)((function(e){p(e||null)}),[]),L=(0,r.useCallback)((function(){p(null)}),[]),M=(0,r.useCallback)((function(){return y((function(e){return e+1})),function(){return y((function(e){return Math.max(0,e-1)}))}}),[]),x=(0,r.useCallback)((function(){return v((function(e){return e+1})),function(){return v((function(e){return Math.max(0,e-1)}))}}),[]),j=u(a,d),E=j.scrollDirection,S=j.isTop,A=l((0,r.useState)(!0),2),k=A[0],_=A[1],D=(0,r.useCallback)((function(){return _(!0)}),[]),C=(0,r.useCallback)((function(){return _(!1)}),[]),N=(0,r.useCallback)((function(){return _((function(e){return!e}))}),[]),O=Boolean(d),T=m>0,z=k&&(0===w||S),I=(0,r.useMemo)((function(){return{scrollDirection:E,isTop:S,isHeaderVisible:z,isOverlayScrollActive:O,isDetailOverlayOpen:T,showHeader:D,hideHeader:C,toggleHeader:N,setThreshold:c,registerScrollContainer:b,unregisterScrollContainer:L,registerDetailOverlayOpen:M,registerHeaderTopOnly:x}}),[E,S,z,O,T,D,C,N,b,L,M,x]);return r.createElement(s.Provider,{value:I},i)},d=function(e){var t=(0,r.useContext)(s),n=t.setThreshold;return(0,r.useLayoutEffect)((function(){void 0!==e&&n(e)}),[e,n]),t}},69134(e,t,n){n.d(t,{EJ:()=>f,Qk:()=>d,lF:()=>p});var r=n(96540),i=n(47767),o=n(79494),a=n(43977);function u(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function l(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?u(Object(n),!0).forEach((function(t){c(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):u(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function c(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=s(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=s(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==s(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function s(e){return s="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},s(e)}function f(e,t,n){return"".concat(e||"").concat(function(e){return e?e.startsWith("?")?e:"?".concat(e):""}(t)).concat(function(e){return e?e.startsWith("#")?e:"#".concat(e):""}(n))}function d(){var e=(0,i.Zp)();return(0,r.useCallback)((function(t,n){"number"!=typeof t?e(function(e){if("string"==typeof e)return(0,o.$y)((0,a.qP)(e));if(e&&"object"===s(e)&&"string"==typeof e.pathname){var t=(0,o.$y)((0,a.qP)(f(e.pathname,e.search,e.hash)));try{var n=new URL(t,window.location.origin);return l(l({},e),{},{pathname:n.pathname,search:n.search,hash:n.hash})}catch(t){return l(l({},e),{},{pathname:(0,a.qP)(e.pathname)})}}return e}(t),n):e(t)}),[e])}function p(e){return e&&"string"==typeof e?(0,o.$y)((0,a.qP)(e)):e}},69562(e,t,n){n.d(t,{Bt:()=>v,Kn:()=>g,sq:()=>w});
2var r=n(54583),i=n(83480),o=n(38781),a=n(77761),u=n(49400),l=n(63571),c=n(73481),s=n(31354),f=n(74353),d=n.n(f),p=(n(50494),n(65826),n(47317),n(813),n(33900),n(69423),n(63225),n(72369),n(79494)),h={de:r.A,en:i.A,fr:a.A,es:o.A,it:u.A,nl:l.A,pl:c.A,pt:s.A},m={de:"de",en:"en",fr:"fr",es:"es",it:"it",nl:"nl",pl:"pl",pt:"pt"},y={de:"de_DE",en:"en_US",fr:"fr_FR",es:"es_ES",it:"it_IT",nl:"nl_NL",pl:"pl_PL",pt:"pt_PT"};function g(){return h[(0,p.Xo)()]||r.A}function w(){d().locale(m[(0,p.Xo)()]||"de")}function v(){return y[(0,p.Xo)()]||"de_DE"}},70436(e,t,n){n.d(t,{A:()=>r});const r="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAIAAAACACAMAAAD04JH5AAAABGdBTUEAALGPC/xhBQAACklpQ0NQc1JHQiBJRUM2MTk2Ni0yLjEAAEiJnVN3WJP3Fj7f92UPVkLY8LGXbIEAIiOsCMgQWaIQkgBhhBASQMWFiApWFBURnEhVxILVCkidiOKgKLhnQYqIWotVXDjuH9yntX167+3t+9f7vOec5/zOec8PgBESJpHmomoAOVKFPDrYH49PSMTJvYACFUjgBCAQ5svCZwXFAADwA3l4fnSwP/wBr28AAgBw1S4kEsfh/4O6UCZXACCRAOAiEucLAZBSAMguVMgUAMgYALBTs2QKAJQAAGx5fEIiAKoNAOz0ST4FANipk9wXANiiHKkIAI0BAJkoRyQCQLsAYFWBUiwCwMIAoKxAIi4EwK4BgFm2MkcCgL0FAHaOWJAPQGAAgJlCLMwAIDgCAEMeE80DIEwDoDDSv+CpX3CFuEgBAMDLlc2XS9IzFLiV0Bp38vDg4iHiwmyxQmEXKRBmCeQinJebIxNI5wNMzgwAABr50cH+OD+Q5+bk4eZm52zv9MWi/mvwbyI+IfHf/ryMAgQAEE7P79pf5eXWA3DHAbB1v2upWwDaVgBo3/ldM9sJoFoK0Hr5i3k4/EAenqFQyDwdHAoLC+0lYqG9MOOLPv8z4W/gi372/EAe/tt68ABxmkCZrcCjg/1xYW52rlKO58sEQjFu9+cj/seFf/2OKdHiNLFcLBWK8ViJuFAiTcd5uVKRRCHJleIS6X8y8R+W/QmTdw0ArIZPwE62B7XLbMB+7gECiw5Y0nYAQH7zLYwaC5EAEGc0Mnn3AACTv/mPQCsBAM2XpOMAALzoGFyolBdMxggAAESggSqwQQcMwRSswA6cwR28wBcCYQZEQAwkwDwQQgbkgBwKoRiWQRlUwDrYBLWwAxqgEZrhELTBMTgN5+ASXIHrcBcGYBiewhi8hgkEQcgIE2EhOogRYo7YIs4IF5mOBCJhSDSSgKQg6YgUUSLFyHKkAqlCapFdSCPyLXIUOY1cQPqQ28ggMor8irxHMZSBslED1AJ1QLmoHxqKxqBz0XQ0D12AlqJr0Rq0Hj2AtqKn0UvodXQAfYqOY4DRMQ5mjNlhXIyHRWCJWBomxxZj5Vg1Vo81Yx1YN3YVG8CeYe8IJAKLgBPsCF6EEMJsgpCQR1hMWEOoJewjtBK6CFcJg4Qxwicik6hPtCV6EvnEeGI6sZBYRqwm7iEeIZ4lXicOE1+TSCQOyZLkTgohJZAySQtJa0jbSC2kU6Q+0hBpnEwm65Btyd7kCLKArCCXkbeQD5BPkvvJw+S3FDrFiOJMCaIkUqSUEko1ZT/lBKWfMkKZoKpRzame1AiqiDqfWkltoHZQL1OHqRM0dZolzZsWQ8ukLaPV0JppZ2n3aC/pdLoJ3YMeRZfQl9Jr6Afp5+mD9HcMDYYNg8dIYigZaxl7GacYtxkvmUymBdOXmchUMNcyG5lnmA+Yb1VYKvYqfBWRyhKVOpVWlX6V56pUVXNVP9V5qgtUq1UPq15WfaZGVbNQ46kJ1Bar1akdVbupNq7OUndSj1DPUV+jvl/9gvpjDbKGhUaghkijVGO3xhmNIRbGMmXxWELWclYD6yxrmE1iW7L57Ex2Bfsbdi97TFNDc6pmrGaRZp3mcc0BDsax4PA52ZxKziHODc57LQMtPy2x1mqtZq1+rTfaetq+2mLtcu0W7eva73VwnUCdLJ31Om0693UJuja6UbqFutt1z+o+02PreekJ9cr1Dund0Uf1bfSj9Rfq79bv0R83MDQINpAZbDE4Y/DMkGPoa5hpuNHwhOGoEctoupHEaKPRSaMnuCbuh2fjNXgXPmasbxxirDTeZdxrPGFiaTLbpMSkxeS+Kc2Ua5pmutG003TMzMgs3KzYrMnsjjnVnGueYb7ZvNv8jYWlRZzFSos2i8eW2pZ8ywWWTZb3rJhWPlZ5VvVW16xJ1lzrLOtt1ldsUBtXmwybOpvLtqitm63Edptt3xTiFI8p0in1U27aMez87ArsmuwG7Tn2YfYl9m32zx3MHBId1jt0O3xydHXMdmxwvOuk4TTDqcSpw+lXZxtnoXOd8zUXpkuQyxKXdpcXU22niqdun3rLleUa7rrStdP1o5u7m9yt2W3U3cw9xX2r+00umxvJXcM970H08PdY4nHM452nm6fC85DnL152Xlle+70eT7OcJp7WMG3I28Rb4L3Le2A6Pj1l+s7pAz7GPgKfep+Hvqa+It89viN+1n6Zfgf8nvs7+sv9j/i/4XnyFvFOBWABwQHlAb2BGoGzA2sDHwSZBKUHNQWNBbsGLww+FUIMCQ1ZH3KTb8AX8hv5YzPcZyya0RXKCJ0VWhv6MMwmTB7WEY6GzwjfEH5vpvlM6cy2CIjgR2yIuB9pGZkX+X0UKSoyqi7qUbRTdHF09yzWrORZ+2e9jvGPqYy5O9tqtnJ2Z6xqbFJsY+ybuIC4qriBeIf4RfGXEnQTJAntieTE2MQ9ieNzAudsmjOc5JpUlnRjruXcorkX5unOy553PFk1WZB8OIWYEpeyP+WDIEJQLxhP5aduTR0T8oSbhU9FvqKNolGxt7hKPJLmnVaV9jjdO31D+miGT0Z1xjMJT1IreZEZkrkj801WRNberM/ZcdktOZSclJyjUg1plrQr1zC3KLdPZisrkw3keeZtyhuTh8r35CP5c/PbFWyFTNGjtFKuUA4WTC+oK3hbGFt4uEi9SFrUM99m/ur5IwuCFny9kLBQuLCz2Lh4WfHgIr9FuxYji1MXdy4xXVK6ZHhp8NJ9y2jLspb9UOJYUlXyannc8o5Sg9KlpUMrglc0lamUycturvRauWMVYZVkVe9ql9VbVn8qF5VfrHCsqK74sEa45uJXTl/VfPV5bdra3kq3yu3rSOuk626s91m/r0q9akHV0IbwDa0b8Y3lG19tSt50oXpq9Y7NtM3KzQM1YTXtW8y2rNvyoTaj9nqdf13LVv2tq7e+2Sba1r/dd3vzDoMdFTve75TsvLUreFdrvUV99W7S7oLdjxpiG7q/5n7duEd3T8Wej3ulewf2Re/ranRvbNyvv7+yCW1SNo0eSDpw5ZuAb9qb7Zp3tXBaKg7CQeXBJ9+mfHvjUOihzsPcw83fmX+39QjrSHkr0jq/dawto22gPaG97+iMo50dXh1Hvrf/fu8x42N1xzWPV56gnSg98fnkgpPjp2Snnp1OPz3Umdx590z8mWtdUV29Z0PPnj8XdO5Mt1/3yfPe549d8Lxw9CL3Ytslt0utPa49R35w/eFIr1tv62X3y+1XPK509E3rO9Hv03/6asDVc9f41y5dn3m978bsG7duJt0cuCW69fh29u0XdwruTNxdeo94r/y+2v3qB/oP6n+0/rFlwG3g+GDAYM/DWQ/vDgmHnv6U/9OH4dJHzEfVI0YjjY+dHx8bDRq98mTOk+GnsqcTz8p+Vv9563Or59/94vtLz1j82PAL+YvPv655qfNy76uprzrHI8cfvM55PfGm/K3O233vuO+638e9H5ko/ED+UPPR+mPHp9BP9z7nfP78L/eE8/stRzjPAAAAIGNIUk0AAHomAACAhAAA+gAAAIDoAAB1MAAA6mAAADqYAAAXcJy6UTwAAADAUExURQAAAP///8LCwv7+/v39/fz8/Pv7+/r6+vn5+fj4+Pf39/b29vX19fT09PPz8/Ly8vHx8fDw8O/v7+7u7u3t7ezs7Ovr6+rq6unp6ejo6Ofn5+bm5uXl5eTk5OPj4+Li4uHh4eDg4N/f397e3t3d3dzc3Nvb29ra2tnZ2djY2NfX19bW1tXV1dTU1NPT09LS0tHR0dDQ0M/Pz87Ozs3NzczMzMvLy8rKysnJycjIyMfHx8bGxsXFxcTExMPDw////wT+sAgAAABAdFJOU////////////////////////////////////////////////////////////////////////////////////wDCe7FEAAAACXBIWXMAAAsTAAALEwEAmpwYAAAEtUlEQVR4nO2Z+08bRxDHvzPnB68AMSggWiRoVdRXqj6SiMf9+ZC06q9VmzSKWpkkOA2WjR/Qg9uZ/oABG7B3947DqnTzm+9uZz83O76d+S4xxmvjnj8HyAFygBwgB8gBcoAcIAfIAXKA/z9AGKZ0QMkJwjg6iyKUyhNl2rt3gDBq/NOW3o9yZWH2xb0ChFHtQzRwZXp5KRlCIoDtWvVs8AqTmV2b203gKyD/MU9fvyMm0r5LxBzV+av9ewF48vsRSHQAQAUwjeDrt/cA8PSPEwqUGP0ABYIwNfhb7xh4A2y+ajFUGNJ/VZRUldvFb6qe/gqez4f7TYYA5voNAQD9a8bTn/eXsDMqxkLmzXa2ADtVw3Lj7a+cBe16tgCdeiDDh7AB73uGwBPggEeOYEPdoywBtuowJENvxwRwLUuA41hu5n+fGRhp7GQI4BJeE9mf6TO/70Br9G0GBOh4ufSLQOzyUDc7gHB4/gEARMCA38f9jotSAgY2qTsG2LW+nAojyA7AJWUJUxkC2HyzQDGZIcCc5b5wIIVyhgAPHJzNPc8QoDiLwoghAhAvenn0BNhdAZiHpjkHovwwSwBUpmIa8T/nwKz8kinAizWoGbofisHEip9D7y9hZVF46Bgms+YZAG+AvfXJERuCWfZMwQR9wfuNI1G+yAO+yAhWsOrcF94dqv9mVPmcARSKADMDAQPorcrchu8CJGnNql8+aMaAKpREVUkBBgLIwsav3vMna89/qh4CpBAwgF4RQKvLPyfwlUyg2GrtHwEAQ1jAEPDi6lQSeSCxRLPdrLVPL39NPVxONn0akSqMTrpnZzEVi6WZiSTBTwtwTmGIE7763QCkt3HPP34Ab4VEBUrBLeseioCI9kK/nPDJge2z1sdOBADTy4uFgcorlG7tow
2HA0/MLkwUPBneAzdaHxlUlwPPzM6VCcRfA9qn5t3N4jEB7+2RxaWnSWTx2Bdipv20D3Juip5FNlohF5TQCwJfCGQsKS5+4bguOAM+qBwhU+HIKDOp0DAj67qK8vugWBLfd8MfXh6xKF/KsghnCRIpeZaCqwYV0wsQKOhQ32dQJ4IdXbYaC5LL6UAKJKqBMxMysIAqkB8MFKDfNYxcCF4AnL7ssCsZFJaR81QXruTGJXkZAREm5FX/nINw6ADz7sw3FeQnSu6SqOlid9/1UBaBsuFtyEG7tORjuN+HZcgOAssjfFknHDaBVw/BCfIQRgvjNVnqAnaqwWKSZW81Ag45dNLQCtBq3iuMOFogG7zbTAoTvASRZA2EFTNRMC3DaAIAkayACAeq2g00bwEmS4PfZkW28BSD01L5vWGQTbi0AcStdzRTgJB0AO3xKRplJC0AGSb4BfRZZstAa4HRVK8NYyjOLfz/tP4lZAFLGHwBbDrHG3hdYAErjBvCvA66b7fTAvgQpF4ktJZetNeN0aSgoWQBsfUGlHqTZjgrx499GP2EL8CPPI6BrJkXbeb4NoFJJtQayZhNvbADP1y2HFKMdrz6yPWftCw6+1+Mkq6AAJj771NogOjSnO3GnE/lWhUpUnp5yUI7duuNwF35n4uQsUeQqWQ6QA+QAOUAOkAPkADlADpAD5ABjB/gPQYigMrvWT1EAAAAASUVORK5CYII="},71222(e,t,n){n.d(t,{A:()=>d});var r=n(96540),i=n(84976),o=n(69134),a=["to"];function u(){return u=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},u.apply(null,arguments)}function l(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function c(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?l(Object(n),!0).forEach((function(t){s(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):l(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function s(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=f(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=f(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==f(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function f(e){return f="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},f(e)}function d(e){var t=e.to,n=function(e,t){if(null==e)return{};var n,r,i=function(e,t){if(null==e)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(-1!==t.indexOf(r))continue;n[r]=e[r]}return n}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r<o.length;r++)n=o[r],-1===t.indexOf(n)&&{}.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}(e,a),l=t;if("string"==typeof t)l=(0,o.lF)(t);else if(t&&"object"===f(t)&&"string"==typeof t.pathname){var s=(0,o.lF)((0,o.EJ)(t.pathname,t.search,t.hash));try{var d=new URL(s,window.location.origin);l=c(c({},t),{},{pathname:d.pathname,search:d.search,hash:d.hash})}catch(e){l=c(c({},t),{},{pathname:(0,o.lF)(t.pathname)})}}return r.createElement(i.N_,u({to:l},n))}},71265(e,t,n){n.d(t,{U6:()=>u,U9:()=>i,ep:()=>o,m2:()=>a,uF:()=>r});var r=120,i={tension:250,friction:30};function o(){var e=null!==document.getElementById("toolbar-bar"),t=0!==document.getElementsByClassName("toolbar-tray-horizontal is-active").length;return e?t?80:40:0}function a(e,t){return e&&"down"!==t?0:-136}function u(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:o();return e&&"down"!==t?r+n:n}},73333(e,t,n){n.d(t,{Ul:()=>o,tX:()=>r});var r=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:60,n=String(null!=e?e:"");return n.length<=t?n:t<=1?"â¦":"".concat(n.slice(0,t-1).replace(/\s+$/,""),"â¦")},i=function(e,t){if(!e||"string"!=typeof e)return"";var n=new RegExp('"'.concat(t,'"\\s*:\\s*"'),"m").exec(e);if(!n)return"";for(var r="",i=!1,o=n.index+n[0].length;o<e.length;o+=1){var a=e[o];if(i)r+=a,i=!1;else if("\\"!==a){if('"'===a)break;r+=a}else r+=a,i=!0}return function(e){return e.replace(/\\\\/g,"\\").replace(/\\"/g,'"').replace(/\\n
2/g,"\n").replace(/\\r/g,"\r").replace(/\\t/g,"\t").replace(/\\\//g,"/")}(r).trimStart()},o=function(e){var t=i(e,"deal_name"),n=i(e,"deal_description");return{deal_name:t?r(t):"",deal_description:n}}},74114(e,t,n){n.d(t,{d:()=>a});var r=n(58171),i=n(58618),o=n(88896);function a(e,t){null!=t&&t.preventDefault&&t.preventDefault(),e?(0,o.kP)():window.location.assign((0,r.rh)((0,i.xY)(window.location.pathname||"/")))}},74695(e,t,n){n.d(t,{BO:()=>l,NA:()=>c,nJ:()=>d,yA:()=>u});var r=n(79494);function i(e){return function(e){if(Array.isArray(e))return o(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(e){if("string"==typeof e)return o(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?o(e,t):void 0}}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function o(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}var a=1.609344;function u(e){var t,n,r=(null==e?void 0:e.unit_system)||(null==e?void 0:e.unitSystem);if("imperial"===r||"metric"===r)return r;try{var i,o=null===(i=window.drupalSettings)||void 0===i||null===(i=i.helpindeal)||void 0===i||null===(i=i.regional)||void 0===i?void 0:i.unitSystem;if("imperial"===o||"metric"===o)return o}catch(e){}return t=function(){try{return String(Intl.DateTimeFormat().resolvedOptions().timeZone||"").trim()}catch(e){return""}}(),(n=String(t||""))&&("Europe/London"===n||"Europe/Isle_of_Man"===n||"Europe/Guernsey"===n||"Europe/Jersey"===n||"Asia/Yangon"===n||"Africa/Monrovia"===n||"Pacific/Honolulu"===n||n.startsWith("America/Indiana/")||n.startsWith("America/Kentucky/")||n.startsWith("America/North_Dakota/")||["America/New_York","America/Chicago","America/Denver","America/Los_Angeles","America/Phoenix","America/Anchorage","America/Juneau","America/Sitka","America/Metlakatla","America/Yakutat","America/Nome","America/Adak","America/Boise","America/Detroit","America/Menominee","America/Shiprock"].includes(n))?"imperial":"metric"}function l(e,t){var n="imperial"===t?"imperial":"metric",i=Number(e);if(!Number.isFinite(i))return"";if("imperial"===n){var o=Math.round(i/a);return(0,r.t)("ui.my_matches.distance_mi",{mi:o,km:o,n:o})}return(0,r.t)("ui.my_matches.distance_km",{km:Math.round(i)})}function c(e,t){var n="imperial"===t?"imperial":"metric",i=Number(e);if(!Number.isFinite(i))return"";if("imperial"===n){var o=Math.round(i/a);return(0,r.t)("ui.my_matches.near_max_mi",{mi:o,km:o,n:o})}return(0,r.t)("ui.my_matches.near_max_km",{km:Math.round(i)})}var s=[10,20,50,70,100,200,800,3e3],f=[{mi:5,km:8},{mi:10,km:16},{mi:25,km:40},{mi:50,km:80},{mi:100,km:161},{mi:250,km:402},{mi:500,km:805},{mi:2e3,km:3219}];function d(e){return[].concat(i("imperial"===("imperial"===e?"imperial":"metric")?f.map((function(e){var t=e.mi;return{value:e.km,label:(0,r.t)("ui.constants.radius_mi",{n:t})}})):s.map((function(e){return{value:e,label:(0,r.t)("ui.constants.radius_km",{n:e})}}))),[{value:1e5,label:(0,r.t)("ui.constants.radius_all")}])}},76883(e,t,n){n.d(t,{$2:()=>se,$X:()=>Q,AB:()=>R,Dn:()=>H,Ic:()=>W,Jb:()=>ae,K2:()=>ce,LJ:()=>J,NM:()=>oe,NP:()=>q,Nf:()=>Z,RA:()=>ne,SQ:()=>$,Sk:()=>ue,W_:()=>V,Zn:()=>K,cN:()=>le,cl:()=>G,ee:()=>F,ff:()=>U,wn:()=>B,xC:()=>te});var r,i,o,a,u,l,c,s,f,d,p,h,m,y,g,w,v,b,L,M,x,j,E,S,A,k,_,D,C,N=n(38267),O=n(50400),T=n(39356),z=n(37122),I=n(42550),P=n(47686);function Y(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}var U=N.Ay.div(r||(r=Y(["\n max-width: 1320px;\n margin: 0 auto;\n padding: 1px 16px;\n @media (min-width: 992px) {\n max-width: 1320px;\n }\n"]))),B=N.Ay.div(i||(i=Y(["\n margin-bottom: 16px;\n @media (min-width: 992px) {\n margin-bottom: 24px;\n }\n"]))),W=(N.Ay.div(o||(o=Y(["\n background: #fff;\n border-radius: 8px;\n border: 1px solid #e3e3e3;\n"]))),(0,N.Ay)(I.A)(a||(a=Y(["\n .ant-table-tbody > tr > td {\n white-space: nowrap;\n overflow: hidden;\n text-overflow: ellipsis;\n padding: 8px 12px;\n }\n\n .ant-table-thead > tr > th {\n white-space: nowrap;\n padding: 8px 12px;\n }\n\n .ant-table {\n table-layout: fixed;\n }\n\n .ant-table-tbody > tr > td.ant-table-cell {\n max-width: 0;\n }\n\n /* Allow wrapping for Description column on small screens */\n @media (max-width: 576px) {\n /* Drop the max-width limiting so columns can grow to content width */\n .ant-table-tbody > tr > td.ant-table-cell {\n max-width: none !important;\n }\n /* Allow cells to display full content without ellipsis; scrolling reveals overflow */\n .ant-table-thead > tr > th,\n .ant-table-tbody > tr > td {\n overflow: visible !important;\n text-overflow: initial !important;\n }\n /* Keep Description in a single line (no wrapping) and reveal via horizontal scroll */\n td.description-column {\n white-space: nowrap !important;\n overflow: visible !important;\n text-overflow: initial !important;\n }\n }\n"])))),F=(0,N.Ay)(P.Uu)(u||(u=Y([""]))),Q=(0,N.Ay)(T.A)(l||(l=Y(["\n margin: 0 -16px;\n background-color: #f5f5f5;\n .ant-collapse-body {\n background-color: #fff !important;\n }\n"]))),R=N.Ay.div(c||(c=Y(["\n width: 60px;\n height: 60px;\n border-radius: 50%;\n background-color: rgba(159, 29, 98, 0.15);\n border: 6px solid #f9f5ff;\n display: flex;\n align-items: center;\n justify-content: center;\n margin: 0 auto 16px;\n\n svg {\n color: ",";\n }\n"])),(function(e){return e.$primary||"#9F1D62"})),H=N.Ay.div(s||(s=Y(["\n width: 60px;\n height: 60px;\n border-radius: 50%;\n background-color: rgba(15, 154, 149, 0.15);\n border: 6px solid #f5fffe;\n display: flex;\n align-items: center;\n justify-content: center;\n margin: 0;\n\n svg {\n color: rgb(15, 154, 149);\n }\n"]))),G=N.Ay.div(f||(f=Y(["\n width: 60px;\n height: 60px;\n border-radius: 50%;\n background-color: ",";\n border: 6px solid\n ",";\n display: flex;\n align-items: center;\n justify-content: center;\n margin: 0;\n font-weight: 700;\n font-size: 16px;\n color: ",";\n"])),(function(e){switch(e.$sectionKey){case"free-credits":return"rgba(15, 154, 124, 0.15)";case"extra-credits":return"rgba(26, 65, 119, 0.15)";default:return"rgba(62, 22, 149, 0.15)"}}),(function(e){switch(e.$sectionKey){case"free-credits":return"rgb(242, 247, 246)";case"extra-credits":return"rgb(244, 245, 249)";case"service-advantages":case"section-4":return"rgb(241, 240, 246)";default:return"#f5fffe"}}),(function(e){switch(e.$sectionKey){case"free-credits":default:return"rgb(15, 154, 149)";case"extra-credits":return"rgb(31, 89, 152)";case"service-advantages":case"section-4":return"rgb(62, 22, 149)"}})),q=(0,N.Ay)(P.Uu)(d||(d=Y(["\n text-align: center;\n\n .ant-card-body {\n text-align: center;\n }
2\n"]))),Z=(0,N.Ay)(q)(p||(p=Y(["\n margin-top: 12px;\n border-radius: 16px;\n .ant-card-body {\n padding: 24px;\n }\n"]))),J=N.Ay.div(h||(h=Y(["\n display: flex;\n flex-direction: column;\n align-items: center;\n"]))),K=N.Ay.h3(m||(m=Y(["\n margin: 0;\n color: ",";\n"])),(function(e){return e.$primary||"#9f1c62"})),V=(N.Ay.p(y||(y=Y(["\n margin: 8px 0 0;\n color: ",";\n"])),(function(e){return e.$muted||"#6B7280"})),N.Ay.div(g||(g=Y(["\n position: relative;\n width: 100%;\n max-width: 400px;\n aspect-ratio: 1 / 1;\n margin: 0 auto;\n overflow: hidden;\n box-sizing: border-box;\n display: flex;\n align-items: center;\n justify-content: center;\n background-image: url(",");\n background-size: calc(100% + 80px) calc(100% + 80px);\n background-position: center;\n background-repeat: no-repeat;\n background-clip: padding-box;\n border-radius: inherit;\n z-index: 1;\n"])),(function(e){return e.$bg}))),X=(0,N.i7)(w||(w=Y(["\n 0% { rotate: -4.5deg; }\n 50% { rotate: -2.5deg; }\n 100% { rotate: -4.5deg; }\n"]))),$=N.Ay.div(v||(v=Y(["\n position: absolute;\n left: 50%;\n top: 57%;\n /* Use individual transform properties so animation and hover scale compose */\n translate: -50% -50%;\n background: rgba(255, 255, 255, 0.97);\n width: 91%;\n border-radius: 12px;\n box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);\n display: flex;\n align-items: center;\n justify-content: space-evenly;\n padding: 8px 12px;\n transform-origin: 50% 50%;\n will-change: transform;\n animation: "," 6s ease-in-out infinite;\n scale: 1;\n transition: scale 180ms ease;\n\n &:hover {\n scale: 1.04;\n }\n\n .badge-left,\n .badge-right {\n text-align: left;\n }\n"])),X),ee=(0,N.i7)(b||(b=Y(["\n 0% { rotate: 4.5deg; }\n 50% { rotate: 2.5deg; }\n 100% { rotate: 4.5deg; }\n"]))),te=N.Ay.div(L||(L=Y(["\n position: absolute;\n left: 50%;\n top: 8%;\n /* Use individual transform properties so animation and hover scale compose */\n translate: -50% -50%;\n background: #9f1c62;\n width: 39%;\n border-radius: 5px;\n box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);\n display: flex;\n align-items: center;\n justify-content: space-evenly;\n padding: 1px;\n transform-origin: 50% 50%;\n will-change: transform;\n animation: "," 6s ease-in-out infinite;\n scale: 1;\n transition: scale 180ms ease;\n\n &:hover {\n scale: 1.14;\n }\n"])),ee),ne=(N.Ay.h2(M||(M=Y(["\n margin: 0;\n font-weight: 800;\n line-height: 1;\n font-size: 40px;\n"]))),N.Ay.h4(x||(x=Y(["\n margin: -2px 0 0;\n font-weight: 500;\n color: ",";\n"])),(function(e){return e.$muted||"#374151"}))),re=N.Ay.ul(j||(j=Y(['\n max-width: 520px;\n text-align: left;\n list-style: none;\n margin: 0;\n padding: 0;\n\n .perk-check {\n position: relative;\n color: #0f9a95;\n margin-right: 15px;\n z-index: 1;\n }\n .perk-check::before {\n content: "";\n position: absolute;\n left: 50%;\n top: 50%;\n width: 20px;\n height: 20px;\n background: #0f9a95;\n opacity: 0.18;\n border-radius: 50%;\n transform: translate(-50%, -50%);\n z-index: 0;\n pointer-events: none;\n display: block;\n }\n']))),ie=N.Ay.li(E||(E=Y(["\n padding-left: 0;\n display: flex;\n align-items: center;\n justify-content: unset;\n gap: 6px;\n margin: 6px 0;\n"])));re.Item=ie;var oe=re,ae=(0,N.Ay)(O.Ay)(S||(S=Y(["\n margin-top: 16px;\n height: 48px;\n font-size: 16px;\n"]))),ue=(0,N.Ay)(z.A)(A||(A=Y(["\n .ant-statistic-title {\n white-space: nowrap;\n }\n\n .ant-statistic-content-value {\n white-space: nowrap;\n }\n\n .ant-statistic-content-suffix {\n white-space: nowrap;\n margin-left: 4px;\n }\n\n /* Icon ausblenden wenn Container zu schmal wird */\n @media (max-width: 415px) {\n .ant-statistic-content-suffix {\n display: none !important;\n }\n }\n"]))),le=N.Ay.div(k||(k=Y(["\n .ant-alert-info {\n background-color: rgba(15, 154, 149, 0.1) !important;\n border-color: rgba(15, 154, 149, 1) !important;\n }\n\n .ant-alert-icon {\n color: rgba(15, 154, 149, 1) !important;\n }\n"]))),ce=N.Ay.div(_||(_=Y(["\n display: -webkit-box;\n -webkit-box-orient: vertical;\n -webkit-line-clamp: 2;\n overflow: hidden;\n text-overflow: ellipsis;\n max-width: 100%;\n width: 100%;\n white-space: normal;\n word-break: break-word;
2\n overflow-wrap: anywhere;\n\n * {\n max-width: 100%;\n box-sizing: border-box;\n margin: 0 !important;\n padding: 0 !important;\n }\n\n /* Reset common block elements to avoid injected spacing */\n p,\n h1,\n h2,\n h3,\n h4,\n h5,\n h6,\n ul,\n ol,\n li,\n blockquote,\n pre,\n figure,\n figcaption,\n dd,\n dt {\n margin: 0 !important;\n padding: 0 !important;\n }\n\n ul,\n ol {\n list-style: none;\n }\n"]))),se=N.Ay.div(D||(D=Y(["\n max-width: 100%;\n width: 100%;\n white-space: normal;\n word-break: break-word;\n overflow-wrap: anywhere;\n hyphens: auto;\n\n * {\n max-width: 100%;\n box-sizing: border-box;\n }\n\n img,\n video,\n iframe {\n max-width: 100%;\n height: auto;\n }\n\n table {\n width: 100%;\n table-layout: fixed;\n word-break: break-all;\n }\n"])));N.Ay.div(C||(C=Y(["\n line-height: 1.5714285714285714;\n\n * {\n line-height: 1.5714285714285714;\n }\n\n ul,\n ol {\n line-height: 1.5714285714285714;\n }\n\n li {\n line-height: 1.5714285714285714;\n }\n\n h2 {\n font-size: 1.7em;\n margin-top: 0;\n text-align: center;\n letter-spacing: 0em;\n }\n"])))},79494(e,t,n){n.d(t,{$y:()=>N,Ee:()=>y,S5:()=>k,Xo:()=>h,Yq:()=>E,ZV:()=>S,Zx:()=>O,ag:()=>D,dE:()=>j,hK:()=>w,ks:()=>_,t:()=>M,um:()=>v,vv:()=>A,xC:()=>C,yY:()=>x});var r=n(43977),i=n(85621);function o(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function a(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?o(Object(n),!0).forEach((function(t){u(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):o(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function u(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=s(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=s(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==s(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function l(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,i,o,a,u=[],l=!0,c=!1;try{if(o=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(r=o.call(n)).done)&&(u.push(r.value),u.length!==t);l=!0);}catch(e){c=!0,i=e}finally{try{if(!l&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(c)throw i}}return u}}(e,t)||function(e,t){if(e){if("string"==typeof e)return c(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?c(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function c(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function s(e){return s="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},s(e)}var f="de";function d(e){if(!e||"/"===e)return!0;try{return!function(e){return["/api/","/credits/stripe/","/identity/stripe/","/user/login","/user/reset/","/user/password","/user/register","/user/logout","/cron/","/themes/","/modules/","/sites/","/core/","/system/"].some((function(t){return e===t.replace(/\/$/,"")||e.startsWith(t)}))}(e)&&(!(0,r.Bm)(e)&&!(0,i.isCategoryLanding)(e)||(0,r.X2)(e))}catch(e){return!0}}function p(){var e;return"undefined"==typeof window?{lang:f,fallback:f,persist:"query",param:"hl"}:(null===(e=window.drupalSettings)||void 0===e||null===(e=e.helpindeal)||void 0===e?void 0:e.i18n)||{lang:f,fallback:f,persist:"query",param:"hl"}}function h(){return p().lang||f}function m(){return p().fallback||f}function y(){return p().persist||"query"}var g=[{value:"de",label:"Deutsch"},{value:"en",label:"English"},{value:"fr",label:"Français"},{value:"es",label:"Español"},{value:"it",label:"Italiano"},{value:"nl",label:"Nederlands"},{value:"pl",label:"Polski"},{value:"pt",label:"Português"}];function w(){if("undefined"!=typeof window){var e,t=null===(e=window.drupalSettings)||void 0===e||null===(e=e.helpindeal)||void 0===e||null===(e=e.i18n)||void 0===e?void 0:e.languages;if(t&&"object"===s(t))return Object.entries(t).map((function(e){var t=l(e,2),n=t[0],r=t[1];return{value:n,label:String(r)}}))}return g}function v(){return p().param||"hl"}function b(){if("undefined"==typeof window)return!1;try{return"debug"===new URLSearchParams(window.location.search).get("i18n")}catch(e){return!1}}function L(e){var t="undefined"==typeof window?{}:window.__HID_I18N__&&"object"===s(window.__HID_I18N__)?window.__HID_I18N__:{};return Object.prototype.hasOwnProperty.call(t,e)&&""!==t[e]?t[e]:null}function M(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=function(e,t){if(!t||"number"!=typeof t.count)return e;var n="other";try{n=new Intl.PluralRules(h()).select(t.count)}
2catch(e){n=1===t.count?"one":"other"}var r="".concat(e,"_").concat(n);return null!==L(r)?r:"other"!==n&&null!==L("".concat(e,"_other"))?"".concat(e,"_other"):e}(e,t),r=L(n);return null===r&&n!==e&&(r=L(e)),null===r?b()?(console.warn("[i18n] missing key: ".concat(n)),"â¦".concat(n,"â§")):n:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return t&&"string"==typeof e?e.replace(/\{(\w+)\}/g,(function(e,n){if(Object.prototype.hasOwnProperty.call(t,n)){var r=t[n];return"function"==typeof r?e:String(r)}return e})):e}(r,t)}function x(e){return b()?{"data-i18n-key":e}:{}}function j(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=M(e,a(a({},arguments.length>2&&void 0!==arguments[2]?arguments[2]:{}),t));if(!t||0===Object.keys(t).length)return n;var r=Object.keys(t).join("|");if(!r)return n;for(var i,o=new RegExp("\\{(".concat(r,")\\}([\\s\\S]*?)\\{/\\1\\}"),"g"),u=[],l=0;null!==(i=o.exec(n));){i.index>l&&u.push(n.slice(l,i.index));var c=i[1],s=i[2],f=t[c];u.push("function"==typeof f?f(s):s),l=i.index+i[0].length}return l<n.length&&u.push(n.slice(l)),1===u.length?u[0]:u}function E(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=e instanceof Date?e:new Date(e);try{return new Intl.DateTimeFormat(h(),t).format(n)}catch(t){return String(e)}}function S(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};try{return new Intl.NumberFormat(h(),t).format(e)}catch(t){return String(e)}}function A(e){var t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},n=((arguments.length>1&&void 0!==arguments[1]?arguments[1]:"EUR")||"EUR").toString().toUpperCase();try{return new Intl.NumberFormat(h(),a({style:"currency",currency:n,minimumFractionDigits:2,maximumFractionDigits:2},t)).format(Number(e))}catch(t){return"".concat(S(e,{minimumFractionDigits:2,maximumFractionDigits:2})," ").concat(n)}}function k(){var e;if("undefined"==typeof window)return null;var t=null===(e=window.drupalSettings)||void 0===e||null===(e=e.helpindeal)||void 0===e?void 0:e.hreflang;if(!t||"object"!==s(t))return null;var n=t[h()]||t[m()];if("string"!=typeof n||!n||"null"===n)return null;try{if(new URL(n,window.location.origin).pathname!==window.location.pathname)return null}catch(e){return null}return t}function _(e){"undefined"!=typeof window&&(window.drupalSettings||(window.drupalSettings={}),window.drupalSettings.helpindeal||(window.drupalSettings.helpindeal={}),e&&"object"===s(e)&&Object.keys(e).length?window.drupalSettings.helpindeal.hreflang=e:delete window.drupalSettings.helpindeal.hreflang)}function D(e){if("undefined"==typeof window)return"?hl=".concat(e);var t,n=v(),o=m(),a=k();try{var u=a&&a[e];if("string"==typeof u&&u&&"null"!==u)t=new URL(u,window.location.origin);else if(t=new URL(window.location.href),(0,r.Bm)(t.pathname)||(0,i.isCategoryLanding)(t.pathname)){var l=(0,r.Op)(t.pathname),c=(0,r.HF)(l,e);"string"==typeof c&&c&&"null"!==c&&(t.pathname=c)}var s=window.location.hash.replace(/^#/,"");if(s){var f=(0,r.Fl)(s,e);t.hash="#".concat(f||s)}}catch(t){return"?".concat(n,"=").concat(e)}var p=d(t.pathname);return"query"===y()&&p||"query"!==y()&&e!==o&&p?t.searchParams.set(n,e):t.searchParams.delete(n),t.toString()}function C(e){"undefined"!=typeof window&&window.location.assign(D(e))}function N(e){if(!e||"string"!=typeof e||"undefined"==typeof window)return e;if("query"!==y())return e;try{var t=new URL(e,window.location.origin);return t.origin!==window.location.origin?e:d(t.pathname)?(t.searchParams.has(v())||t.searchParams.set(v(),h()),"".concat(t.pathname).concat(t.search).concat(t.hash)):(t.searchParams.delete(v()),"".concat(t.pathname).concat(t.search).concat(t.hash))}catch(t){return e}}function O(e,t,n){return function(){var r=e(),i=t();return n((function(){if("query"===y()){var e=v(),t=h(),n=new URLSearchParams(r.
2search);if(d(r.pathname))n.get(e)!==t&&(n.set(e,t),i({pathname:r.pathname,search:"?".concat(n.toString()),hash:r.hash},{replace:!0,state:r.state}));else{if(!n.has(e))return;n.delete(e);var o=n.toString();i({pathname:r.pathname,search:o?"?".concat(o):"",hash:r.hash},{replace:!0,state:r.state})}}}),[r.pathname,r.search,r.hash,r.state,i]),null}}},81138(e,t,n){n.d(t,{A:()=>r});const r="data:image/svg+xml;base64,PHN2ZyBpZD0iRWJlbmVfMSIgZGF0YS1uYW1lPSJFYmVuZSAxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB2aWV3Qm94PSIwIDAgMzU2IDk0LjM2Ij48ZGVmcz48c3R5bGU+LmNscy0xe2ZpbGw6bm9uZTt9LmNscy0ye2ZpbGw6I2ZmZjt9LmNscy0ze2NsaXAtcGF0aDp1cmwoI2NsaXAtcGF0aCk7fS5jbHMtNHtmaWxsOiMwMGEwOWE7fTwvc3R5bGU+PGNsaXBQYXRoIGlkPSJjbGlwLXBhdGgiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC0yMC45MiAtNC4zNikiPjxwYXRoIGNsYXNzPSJjbHMtMSIgZD0iTTk4LjU0LDU4LjQyYTM4LjgxLDM4LjgxLDAsMSwxLTM4LjgyLTM4LjhBMzguODIsMzguODIsMCwwLDEsOTguNTQsNTguNDJaIi8+PC9jbGlwUGF0aD48L2RlZnM+PHRpdGxlPmhlbHBpbmRlYWxfbG9nbzwvdGl0bGU+PHBhdGggY2xhc3M9ImNscy0yIiBkPSJNMTQ5LjU3LDY3Ljg5YTYuOTMsNi45MywwLDAsMS0yLjUxLS41LDYuMjQsNi4yNCwwLDAsMS0yLjgxLTIuNDksOC43Nyw4Ljc3LDAsMCwxLTEuNDItNC43Miw2LjUzLDYuNTMsMCwwLDEsLjMyLTIuMDhsLjg2LTIuMjhxMS4zNy0zLjc2LDMuNC05LjEzYS4yNi4yNiwwLDAsMSwuMDUtLjE1LjU2LjU2LDAsMCwwLDAtLjI5LjgyLjgyLDAsMCwwLS4xLS4zN2MtLjEzLS4yNC0uNTQtLjM2LTEuMjQtLjM2YTYuNDMsNi40MywwLDAsMC00LDEuODcsMjYuMTYsMjYuMTYsMCwwLDAtNC41Myw1LjI5LDk0LjMzLDk0LjMzLDAsMCwwLTcuMjMsMTIuNzlsLS44MywyLjQyaC0uNjZhMS44NSwxLjg1LDAsMCwxLTEuNTgtLjk0cS0uNTQtMS4yMi0xLjYxLTQuNDFhNy4yOCw3LjI4LDAsMCwxLS41NC0yLjgzYzAtLjIyLDAtLjY3LjExLTEuMzNhNy4yMiw3LjIyLDAsMCwxLC4zMi0xLjZsNS4xMi0xNC4xOWMuMjEtLjU0LjQxLTEuMDguNjEtMS42NHE0LjEzLTEyLjA2LDctMTkuNzdhMS4zMiwxLjMyLDAsMCwxLDEuMjktLjg2LDEuODEsMS44MSwwLDAsMSwuNjIuMTMsNy41OCw3LjU4LDAsMCwxLDIuNDYsMS45Miw0LjgzLDQuODMsMCwwLDEsMS4yLDIuMzQsNS4zNiw1LjM2LDAsMCwxLS4xLjg1cS0uMjcsMS4yMy0xLjQ2LDQuOWMtLjgsMi40NC0yLjE3LDYuNS00LjExLDEyLjE1YTAsMCwwLDAsMCwwLDB2LjA4bC0yLDUuNzZxNC41Ny02LjQyLDkuNS03LjRhMTIuNjMsMTIuNjMsMCwwLDEsMi4yLS4yMSwxMC4xMywxMC4xMywwLDAsMSwyLC4yNCw3LjA4LDcuMDgsMCwwLDEsMi4xLjc1bC45MS40OWE1LjMxLDUuMzEsMCwwLDEsMS4zNSwxLjE0LDMuOCwzLjgsMCwwLDEsLjY1LDEuMTksMy4yNSwzLjI1LDAsMCwxLC4xOSwxLDIuNiwyLjYsMCwwLDEtLjA4Ljc1bC0uMDguMjgtMS44Nyw1LjYxcS0zLjc1LDExLTMuNzUsMTEuMjZjMCwuMTQuMTEuMjEuMzIuMjFhMy45LDMuOSwwLDAsMCwxLjUtLjQyLDE2LjI3LDE2LjI3LDAsMCwwLDQuNTUtMy40LDUwLjc5LDUwLjc5LDAsMCwwLDMuNjQtNC4zcTIuNy0zLjUxLDUuMzYtNy4wNmEyLDIsMCwwLDEsMS41NS0uNzhoMS41YS4zLjMsMCwwLDEsLjM0LjM0YzAsLjEtMS41MSwyLjI3LTQuNTUsNi41MXEtNS43Nyw4LTcuMjgsOS42OGExMi4xOSwxMi4xOSwwLDAsMS00LjA3LDIuODhBNi4xOCw2LjE4LDAsMCwxLDE0OS41Nyw2Ny44OVoiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC0yMC45MiAtNC4zNikiLz48cGF0aCBjbGFzcz0iY2xzLTIiIGQ9Ik0xNjcuMTksNjcuODZhOC4xOCw4LjE4LDAsMCwxLTMuOC0uNzgsMTAuMzYsMTAuMzYsMCwwLDEtMi45Mi0yLjMxbC0uNDMtLjQ5YTcuMzEsNy4zMSwwLDAsMS0xLjE4LTQuMThBMTguMzEsMTguMzEsMCwwLDEsMTYwLjA5LDU0cTIuMzQtNy4xNiw1LjgxLTEwLjRhNi43LDYuNywwLDAsMSw0Ljc0LTEuOTIsOC42NCw4LjY0LDAsMCwxLDMuMTEuNjQsMTAuMTksMTAuMTksMCwwLDEsMy4xNSwyLDUuNzcsNS43NywwLDAsMSwxLjkxLDMuNTFjMCwuMzYuMDUuNzIuMDUsMS4wOWE5LjgsOS44LDAsMCwxLS41OSwzLjE0cS0yLjE4LDYuMzgtNy41OCw2LjM4YTExLjQ1LDExLjQ1LDAsMCwxLTMuMzQtLjU0QTkuMDgsOS4wOCwwLDAsMSwxNjUsNTdsLS4wNS4xM2E4LjU4LDguNTgsMCwwLDAtLjU5LDIuMmwwLC44NmEzLDMsMCwwLDAsLjkzLDIuMzksMi4xOCwyLjE4LDAsMCwwLDEuMjQuNTksOS44NSw5Ljg1LDAsMCwwLDIuMjIuMjYsMTAuNjgsMTAuNjgsMCwwLDAsNC0uODNBMTAuODUsMTAuODUsMCwwLDAsMTc3LDU5LjVxMi4zNS0yLjY5LDguNTEtMTFhMS45MiwxLjkyLDAsMCwxLDEuNTUtLjc3aDEuNWMuMjMsMCwuMzUuMS4zNS4zMWEuNDYuNDYsMCwwLDEtLjA1LjJMMTg4LDQ5LjM4cS02LjI4LDguODUtOC4yNCwxMS4yOWEyMC43NywyMC43NywwLDAsMS04LjQ0LDYuNTJBMTMuMjgsMTMuMjgsMCwwLDEsMTY3LjE5LDY3Ljg2Wm0xLjkzLTEyLjEyYTExLDExLDAsMCwwLDEuMzUtLjE1LDMuMzUsMy4zNSwwLDAsMCwxLjgzLTEsNS42Niw1LjY2LDAsMCwwLDEuMjEtMS43LDMxLjgzLDMxLjgzLDAsMCwwLC44OC0zLjA2bC4yOS0xLjI1YzAtLjI2LDAtLjQ5LDAtLjdhMi43MSwyLjcxLDAsMCwwLS4zLTEuMzIsMS4yLDEuMiwwLDAsMC0xLjA5LS43LDIuMzcsMi4zNywwLDAsMC0uNTEuMDhBNi4xOSw2LjE5LDAsMCwwLDE3MC41Niw0N2ExNywxNywwLDAsMC00LjY4LDcuMzFjLS4wOC4yMy0uMTYuNDUtLjI0LjY1QTEwLDEwLDAsMCwwLDE2OS4xMiw1NS43NFoiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC0yMC45MiAtNC4zNikiLz48cGF0aCBjbGFzcz0iY2xzLTIiIGQ9Ik0xODUuMTIsNjcuODlhNi45Myw2LjkzLDAsMCwxLTIuNTEtLjUsNi40NSw2LjQ1LDAsMCwxLTIuODEtMi40OSw4LjU3LDguNTcsMCwwLDEtMS40NS00LjcyLDYsNiwwLDAsMSwuMzUtMi4wOGwzLjA4LTguMywyLjkxLTcuNzFMMTg1LjEsNDFxNC4zNC0xMi41OCw3LTE5Ljc3YTEuMjksMS4yOSwwLDAsMSwxLjI1LS44NiwxLjg4LDEuODgsMCwwLDEsLjY1LjEzLDcuMTYsNy4xNiwwLDAsMSwzLjU2LDMuODQsMS4zMSwxLjMxLDAsMCwxLC4wOC41MiwzNi40LDM2LjQsMCwwLDEtMS41OCw1LjY4cS0xLjMzLDQuMjItNC4xLDEyLjEybC0xLjYsNC43M2MtLjU4LDEuNTktLjk0LDIuNjQtMS4xLDMuMTZxLTMuMzcsMTAuMTMtMy43MiwxMS4wOGE5LjM1LDkuMzUsMCwwLDEtLjQzLDEuMjIsMiwyLDAsMCwwLS4xOS43YzAsLjE5LjExLjI5LjMyLjI5YTMuNjksMy42OSwwLDAsMCwxLjEtLjI2LDE0LjUsMTQuNSwwLDAsMCw0LjktMy40M3EyLTIsOS0xMS40NGEyLDIsMCwwLDEsMS41Ni0uNzhoMS41Yy4yMywwLC4zNC4xLjM0LjMxcy0xLjUyLDIuMjgtNC41Nyw2LjU0cS01Ljc2LDgtNy4yNiw5LjY4YTEyLjE5LDEyLjE5LDAsMCwxLTQuMDcsMi44OEE2LjE4LDYuMTgsMCwwLDEsMTg1LjEyLDY3Ljg5WiIgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoLTIwLjkyIC00LjM2KSIvPjxwYXRoIGNsYXNzPSJjbHMtMiIgZD0iTTE5MS4yMyw4OC41NEE5LjczLDkuNzMsMCwwLDEsMTg3LDg0LjFhNyw3LDAsMCwxLS40NS0yLjQ2LDE0LDE0LDAsMCwxLC4xMi0xLjQsNy43NCw3Ljc0LDAsMCwxLC4zMy0xLjYxLjIxLjIxLDAsMCwxLC4wNi0uMTZsNi44NS0xOS4xNSw2LTE2LjgxYTEuMzIsMS4zMiwwLDAsMSwxLjI5LS44MywxLjc3LDEuNzcsMCwwLDEsLjYxLjFjLjYzLjIzLDEuMTguNDEsMS42Ni41NWE5LjQ3LDkuNDcsMCwwLDEsMS41OC41NSwxLjg3LDEuODcsMCwwLDEsLjkxLjkzbDAsLjA3YTguMDYsOC4wNiwwLDAsMS0uMjksMS4zOEExMC4yMywxMC4yMywwLDAsMSwyMTAuODIsNDJhOSw5LDAsMCwxLDIuNDQtLjMxLDEzLjE2LDEzLjE2LDAsMCwxLDEuODQuMTNBNSw1LDAsMCwxLDIxOC43Nyw0NWExMi4wOCwxMi4wOCwwLDAsMSwuOTQsNC45NWMwLC40OS0uMDYsMS40OC0uMTksM2ExOC41OSwxOC41OSwwLDAsMS0yLDYuMDUsMTguODcsMTguODcsMCwwLDEtNS4yNiw2LjU2LDE3Ljg1LDE3Ljg1LDAsMCwxLTIuMzgsMS41OCw2LDYsMCwwLDEtMywuNzhxLTMuNjUsMC02LjE4LTYuNjdMMTk4LDY5LjE2Wm0xNS42My0yNi40MWMxLjQ4LDAsMi45My0uODMsNC4zNi0yLjQ3YTE5LjQ4LDE5LjQ4LDAsMCwwLDIuODQtNC4zOSwxNS42NiwxNS42NiwwLDAsMCwxLjg3LTYuMDksNyw3LDAsMCwwLS42MS0yLjY5LDIuODYsMi44NiwwLDAsMC0yLjU3LTEuNjdsLS4yNywwYTYuMTIsNi4xMiwwLDAsMC0xLC4xMiw1Ljc1LDUuNzUsMCwwLDAtMS44My44OSwxNS40NCwxNS40NCwwLDAsMC0yLjgsMi42Miw0MCw0MCwwLDAsMC0zLjcsNS4yMmMtLjQ1LDEuNC0uOTEsMi44My0xLjQsNC4yOGE4LjM4LDguMzgsMCwwLDAsMywzLjYxQTMuNjQsMy42NCwwLDAsMCwyMDYuODYsNjIuMTNaIiB0cmFuc2Zvcm09InRyYW5zbGF0ZSgtMjAuOTIgLTQuMzYpIi8+PHBhdGggY2xhc3M9ImNscy0yIiBkPSJNMjI4LjQ2LDY3Ljg5YTcsNywwLDAsMS0yLjU0LS41LDYuNDgsNi40OCwwLDAsMS0yLjg0LTIuNDksOC43Niw4Ljc2LDAsMCwxLTEuNDItNC43Nyw1Ljg1LDUuODUsMCwwLDEsLjM1LTJsLjgzLTIuMjhxMi43OS03LjY0LDQuODctMTNhMS45MSwxLjkxLDAsMCwxLDEuMS0xLjIyLDEuNjgs
2MS42OCwwLDAsMSwuNjItLjEsNC41Miw0LjUyLDAsMCwxLDEuNjMuMzlRMjM0LDQzLjMzLDIzNCw0NS44NmEyLjA3LDIuMDcsMCwwLDEtLjA4LjYycS0uMDcuMjktMi45MSw4Ljc4Yy0xLjksNS42Ny0yLjg0LDguNTEtMi44NCw4LjUzcy4wNS4xLjE2LjFhMi4xNSwyLjE1LDAsMCwwLC40OC0uMDgsMTMuMDgsMTMuMDgsMCwwLDAsNS43OC0zLjcxcTItMi4wNyw5LTExLjQ0YTIsMiwwLDAsMSwxLjU4LS43OGgxLjVjLjIzLDAsLjM0LjEuMzQuMzFzLTEuNTIsMi4yOC00LjU3LDYuNTRjLTMuNzksNS4yNi02LjIsOC40OS03LjI2LDkuNjhhMTIuNjgsMTIuNjgsMCwwLDEtNC4wNiwyLjg4QTYuMTksNi4xOSwwLDAsMSwyMjguNDYsNjcuODlabTcuODUtMzAuNjhhMiwyLDAsMCwxLS42NS0uMTJsLTMuNTYtMS4zQTEuNTUsMS41NSwwLDAsMSwyMzEsMzQuMjNhMS44NywxLjg3LDAsMCwxLC4wOC0uNTdsMS4zMy0zLjQ4YTEuODQsMS44NCwwLDAsMSwxLjEtMS4xOSwxLjkxLDEuOTEsMCwwLDEsLjY0LS4xMSw0LjMsNC4zLDAsMCwxLDEuNjEuMzksNSw1LDAsMCwxLDIuNjgsMi40Nyw0LDQsMCwwLDEsLjI2LDEuNDMsMi4yMywyLjIzLDAsMCwxLS4wOC42NWwtLjA4LjI4LS42NCwxLjk1YTEuNjksMS42OSwwLDAsMS0uOTEsMUExLjMsMS4zLDAsMCwxLDIzNi4zMSwzNy4yMVoiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC0yMC45MiAtNC4zNikiLz48cGF0aCBjbGFzcz0iY2xzLTIiIGQ9Ik0yNjEuNzMsNjcuODlhNyw3LDAsMCwxLTIuNTEtLjUsNi40NSw2LjQ1LDAsMCwxLTIuODEtMi40OUE4LjcsOC43LDAsMCwxLDI1NSw2MC4xOGE2LjUzLDYuNTMsMCwwLDEsLjMyLTIuMDhsLjg2LTIuMjhxMS4zNi0zLjc2LDMuNC05LjEzYTEuNjYsMS42NiwwLDAsMSwuMDYtLjIxLjU5LjU5LDAsMCwwLDAtLjIzLjgyLjgyLDAsMCwwLS4xLS4zN3EtLjE5LS4zOS0xLjI2LS4zOS0zLjMxLDAtNy43Niw2LjJhODIuOCw4Mi44LDAsMCwwLTcuMjEsMTIuMjVsLTEuMzMsNGgtLjY3YTEuODUsMS44NSwwLDAsMS0xLjU4LS45NHEtLjU0LTEuMjItMS42MS00LjQxYTcuNDYsNy40NiwwLDAsMS0uNTMtMi44M2MwLS4yMiwwLS42Ny4xLTEuMzNhNy44NSw3Ljg1LDAsMCwxLC4zMi0xLjZjMC0uMDkuMy0uOS44My0yLjQ0cTIuNDgtNy4xNiw0LjEzLTExLjQ3YTEuNzQsMS43NCwwLDAsMSwxLjcxLTEuMzIsNC4zNCw0LjM0LDAsMCwxLDEuNjMuMzksNi4zMSw2LjMxLDAsMCwxLDEuOCwxLjE5LDMuODEsMy44MSwwLDAsMSwuODgsMS4yOSwzLjkxLDMuOTEsMCwwLDEsLjI3LDEuMTgsNSw1LDAsMCwxLS4wNi44NWwtLjA4LjMxLS40NSwxLjMzcTQuNTUtNi4xOCw5LjM3LTdhMTEuMjksMTEuMjksMCwwLDEsMi0uMTksMTAuNDMsMTAuNDMsMCwwLDEsMiwuMjUsNy42NSw3LjY1LDAsMCwxLDIuMDcuNzRsLjg5LjQ5YTUuMzEsNS4zMSwwLDAsMSwxLjM1LDEuMTQsNC4wNiw0LjA2LDAsMCwxLC42NiwxLjE5LDMuNTEsMy41MSwwLDAsMSwuMTgsMSwyLjYsMi42LDAsMCwxLS4wOC43NWwtLjA4LjI4TDI2NS43Miw1MWEyLjM3LDIuMzcsMCwwLDEtLjM0LDEuMTJsLS4xOS40OWMtLjE2LjUzLS4zNCwxLjA2LS41NCwxLjU4bC0xLjU1LDQuNjdxLTEuNjEsNC43My0xLjYxLDQuODZjMCwuMTEuMDguMTguMjQuMThhMy4wNiwzLjA2LDAsMCwwLDEuMjktLjM5aC4wNWExNS4xMiwxNS4xMiwwLDAsMCw0LjgyLTMuNDNxMi0yLDktMTEuNDRhMiwyLDAsMCwxLDEuNTUtLjc4aDEuNWEuMzEuMzEsMCwwLDEsLjM1LjM0cTAsLjE1LTQuNTYsNi41MS01Ljc4LDgtNy4yOCw5LjY4YTEyLjI1LDEyLjI1LDAsMCwxLTQuMDYsMi44OEE2LjIyLDYuMjIsMCwwLDEsMjYxLjczLDY3Ljg5WiIgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoLTIwLjkyIC00LjM2KSIvPjxwYXRoIGNsYXNzPSJjbHMtMiIgZD0iTTI5Miw2Ny45MWE1LjkyLDUuOTIsMCwwLDEtMy44NC0xLjM3QTcuODYsNy44NiwwLDAsMSwyODUuNzIsNjNhMTQuMzcsMTQuMzcsMCwwLDEtMywzLjEsOSw5LDAsMCwxLTIuNjIsMS40LDcsNywwLDAsMS0xLjg2LjM1aC0uNDVhNS40Niw1LjQ2LDAsMCwxLTIuNTUtLjY3LDExLjA1LDExLjA1LDAsMCwxLTIuOTQtMi4zMWwtLjQzLS41YTcuMTMsNy4xMywwLDAsMS0xLjE1LTRjMC0uMTIsMC0uNjMsMC0xLjU1YTE1LjY1LDE1LjY1LDAsMCwxLDEuMDYtNC4yMywzNy45NCwzNy45NCwwLDAsMSwzLjQ1LTcuNjYsMTIuMjcsMTIuMjcsMCwwLDEsNC4yLTQuMzMsNy4wNSw3LjA1LDAsMCwxLDMuMTktLjgzLDkuMjMsOS4yMywwLDAsMSw0LjksMS42MSw4LjczLDguNzMsMCwwLDEsMi41NywyLjQxbDEuMDctMi44M2MuMzQtLjkuNTgtMS41NS43Mi0ycTQuMzMtMTIuNTgsNy0xOS43N2ExLjMxLDEuMzEsMCwwLDEsMS4yOC0uODYsMS42NCwxLjY0LDAsMCwxLC42Mi4xMyw3LDcsMCwwLDEsMy41NiwzLjg0LDEuMzEsMS4zMSwwLDAsMSwuMDguNTJBMzEuMzYsMzEuMzYsMCwwLDEsMzAzLDMwLjQ5cS0xLjYzLDUtNC4xMiwxMi4xMmwtLjkxLDIuNy0xLjQsNC00LjcxLDE0LjA5YTEuNzMsMS43MywwLDAsMC0uMDUuMzFxMCwuMjQuMjEuMjRhMS40MiwxLjQyLDAsMCwwLC41OS0uMTZsLjE0LDBhMTUuMjQsMTUuMjQsMCwwLDAsMS41Mi0uNjMsMjEuNjIsMjEuNjIsMCwwLDAsNi44My02LjQ2Yy4yNS0uMjMsMS4yMy0xLjUyLDIuOTQtMy44OS44OC0xLjIsMS43Ny0yLjM4LDIuNjgtMy41NmE0LjMsNC4zLDAsMCwxLDEuMTItMS4wOSwzLjY0LDMuNjQsMCwwLDEsMS40OC0uMjZsLjkxLjA2Yy4yMy4wNS4zNC4xMy4zNC4yNmEuMjQuMjQsMCwwLDEtLjEuMThxLTQuODMsNy4xMy0xMC4xMiwxNGEyMS4xNiwyMS4xNiwwLDAsMS0zLjQsMy42Miw4LjYzLDguNjMsMCwwLDEtNC40NywyWm0tMTQuMzQtNC4xN2E0LjQxLDQuNDEsMCwwLDAsMi43NC0xLjU1LDE3LjY1LDE3LjY1LDAsMCwwLDIuNzItMy4zNmwuNC0uNjVhMjUsMjUsMCwwLDAsMy4xOC03Ljc2bC4zNS0xLjQ4LDAtLjdhNi41MSw2LjUxLDAsMCwwLS4wNi0uODgsMS41NSwxLjU1LDAsMCwwLS43NS0xLjIyLDEuMjIsMS4yMiwwLDAsMC0uNjEtLjE4LDUuMDksNS4wOSwwLDAsMC0zLjUxLDEuMzgsMTguNTMsMTguNTMsMCwwLDAtNC40Nyw3LjIzYy0uNTUsMS40OS0uOTIsMi41OC0xLjEsMy4yN2E4Ljc3LDguNzcsMCwwLDAtLjQyLDEuMyw3
2LjU0LDcuNTQsMCwwLDAtLjI0LDEuOTJjMCwuMTQsMCwuNDUsMCwuOTJhMi40LDIuNCwwLDAsMCwuOTQsMS41NSwxLjE1LDEuMTUsMCwwLDAsLjY5LjIxWiIgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoLTIwLjkyIC00LjM2KSIvPjxwYXRoIGNsYXNzPSJjbHMtMiIgZD0iTTMwOS4zLDY3Ljg2YTguMjEsOC4yMSwwLDAsMS0zLjgtLjc4LDEwLjUsMTAuNSwwLDAsMS0yLjkyLTIuMzFsLS40Mi0uNDlBNy4yNCw3LjI0LDAsMCwxLDMwMSw2MC4xLDE4LjMxLDE4LjMxLDAsMCwxLDMwMi4yMSw1NHEyLjMyLTcuMTYsNS44MS0xMC40YTYuNjYsNi42NiwwLDAsMSw0LjczLTEuOTIsOC42LDguNiwwLDAsMSwzLjExLjY0LDEwLjEyLDEwLjEyLDAsMCwxLDMuMTYsMiw1LjcxLDUuNzEsMCwwLDEsMS45LDMuNTEsOS44Myw5LjgzLDAsMCwxLC4wNSwxLjA5LDkuNTQsOS41NCwwLDAsMS0uNTksMy4xNHEtMi4xNiw2LjM4LTcuNTcsNi4zOGExMS41MSwxMS41MSwwLDAsMS0zLjM1LS41NCw4Ljg4LDguODgsMCwwLDEtMi4zNS0uOTFsLS4wNi4xM2E5LjQ4LDkuNDgsMCwwLDAtLjU5LDIuMmwwLC44NmEyLjkyLDIuOTIsMCwwLDAsLjk0LDIuMzksMi4xNSwyLjE1LDAsMCwwLDEuMjMuNTksMTAsMTAsMCwwLDAsMi4yMi4yNiwxMS4zNCwxMS4zNCwwLDAsMCw4LjI3LTMuOTJxMi4zNS0yLjY5LDguNTItMTFhMS45MiwxLjkyLDAsMCwxLDEuNTUtLjc3aDEuNWMuMjMsMCwuMzQuMS4zNC4zMWEuMzUuMzUsMCwwLDEtLjA1LjJsLS43OCwxLjA5cS02LjI4LDguODUtOC4yNCwxMS4yOWEyMC44MSwyMC44MSwwLDAsMS04LjQzLDYuNTJBMTMuMz
2ksMTMuMzksMCwwLDEsMzA5LjMsNjcuODZabTEuOTMtMTIuMTJhMTAuNTgsMTAuNTgsMCwwLDAsMS4zNS0uMTUsMy4zNSwzLjM1LDAsMCwwLDEuODMtMSw1LjMyLDUuMzIsMCwwLDAsMS4yMS0xLjcsMzEuODMsMzEuODMsMCwwLDAsLjg4LTMuMDZsLjMtMS4yNWMwLS4yNiwwLS40OSwwLS43YTIuNzEsMi43MSwwLDAsMC0uMjktMS4zMiwxLjIyLDEuMjIsMCwwLDAtMS4xLS43LDIuNTYsMi41NiwwLDAsMC0uNTEuMDhBNi4wNyw2LjA3LDAsMCwwLDMxMi42OCw0NywxNywxNywwLDAsMCwzMDgsNTQuMzFhNS40OSw1LjQ5LDAsMCwxLS4yNC42NUExMC4wNiwxMC4wNiwwLDAsMCwzMTEuMjMsNTUuNzRaIiB0cmFuc2Zvcm09InRyYW5zbGF0ZSgtMjAuOTIgLTQuMzYpIi8+PHBhdGggY2xhc3M9ImNscy0yIiBkPSJNMzQzLjE5LDY3Ljk0QTYuNTUsNi41NSwwLDAsMSwzMzYuODIsNjNhMTQuNTksMTQuNTksMCwwLDEtMywzLjEsOS4xOSw5LjE5LDAsMCwxLTIuNjMsMS40LDcsNywwLDAsMS0xLjg4LjM1aC0uNDZhNS4yOSw1LjI5LDAsMCwxLTIuNTItLjY3LDEwLjQ1LDEwLjQ1LDAsMCwxLTIuOTQtMi4zMWwtLjQzLS41YTcuMDcsNy4wNywwLDAsMS0xLjE4LTRjMC0uMTIsMC0uNjMuMDYtMS41NWExNS43NywxNS43NywwLDAsMSwxLjA3LTQuMjMsMzcsMzcsMCwwLDEsMy40OC03LjY2LDEyLjA2LDEyLjA2LDAsMCwxLDQuMTctNC4zMyw2Ljk0LDYuOTQsMCwwLDEsMy4xNi0uODMsOS4zNSw5LjM1LDAsMCwxLDQuOTMsMS42MSw4LjczLDguNzMsMCwwLDEsMi41NywyLjQxYy4zNy0xLC43NS0xLjk0LDEuMTItMi44OGExLjkxLDEuOTEsMCwwLDEsMS4xLTEuMjIsMS40OSwxLjQ5LDAsMCwxLC41OS0uMSw0LjQ3LDQuNDcsMCwwLDEsMS42My4zOWMyLC45MSwyLjk1LDIuMjIsMi45NSwzLjkyYTMsMywwLDAsMS0uMDcuNjJxLS4wNy4yOS0yLjg1LDguNTljLTEuOTMsNS43MS0yLjg5LDguNjEtMi44OSw4Ljcycy4wNS4xMy4xNi4xM2wuMzItLjA2YTEyLjgxLDEyLjgxLDAsMCwwLDUuOTEtMy43NnExLjk0LTIsOS0xMS40NGEyLDIsMCwwLDEsMS41OC0uNzhoMS41YS4yOC4yOCwwLDAsMSwuMzIuMzEuNTQuNTQsMCwwLDEtLjA1LjIxcS05LDEyLjc2LTExLjc4LDE1Ljg4YTEyLjU1LDEyLjU1LDAsMCwxLTQuMTgsMy4xNEE1Ljc0LDUuNzQsMCwwLDEsMzQzLjE5LDY3Ljk0Wm0tMTQuNDUtNC4yYTQuNDEsNC40MSwwLDAsMCwyLjc0LTEuNTUsMTcuNjUsMTcuNjUsMCwwLDAsMi43Mi0zLjM2bC40LS42NWEyNiwyNiwwLDAsMCwzLjE5LTcuNzZsLjM0LT
2EuNDgsMC0uN2E4LjY1LDguNjUsMCwwLDAtLjA1LS44OCwxLjcxLDEuNzEsMCwwLDAtLjc1LTEuMjIsMS4zOCwxLjM4LDAsMCwwLS42Mi0uMTgsNS4wOSw1LjA5LDAsMCwwLTMuNTEsMS4zOCwxNy42OCwxNy42OCwwLDAsMC00LjQ0LDcuMjMsMzMuNjUsMzMuNjUsMCwwLDAtMS4xMiwzLjI3LDcuMzEsNy4zMSwwLDAsMC0uNDMsMS4zLDguNTQsOC41NCwwLDAsMC0uMjQsMi4wOGMwLC4wOCwwLC4zNSwwLC44YTIuNCwyLjQsMCwwLDAsLjk0LDEuNTEsMS4wNSwxLjA1LDAsMCwwLC42Ny4yMVoiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC0yMC45MiAtNC4zNikiLz48cGF0aCBjbGFzcz0iY2xzLTIiIGQ9Ik0zNTguMzcsNjcuODlhNyw3LDAsMCwxLTIuNTItLjVBNi41Nyw2LjU3LDAsMCwxLDM1Myw2NC45YTguNjQsOC42NCwwLDAsMS0xLjQ0LTQuNzJBNS43OSw1Ljc5LDAsMCwxLDM1Miw1OC4xTDM1NSw0OS44bDIuOTItNy43MS40LTEuMTRxNC4zNC0xMi41OCw3LTE5Ljc3YTEuMjksMS4yOSwwLDAsMSwxLjI2LS44NiwxLjc4LDEuNzgsMCwwLDEsLjY0LjEzLDcuMTIsNy4xMiwwLDAsMSwzLjU2LDMuODQsMS4xNSwxLjE1LDAsMCwxLC4wOC41MiwzNS43NCwzNS43NCwwLDAsMS0xLjU3LDUuNjhxLTEuMzUsNC4yMi00LjEsMTIuMTJsLTEuNjEsNC43M2MtLjU3LDEuNTktLjkzLDIuNjQtMS4wOSwzLjE2cS0zLjM3LDEwLjEzLTMuNzIsMTEuMDhhMTEuMTksMTEuMTksMCwwLDEtLjQzLDEuMjIsMiwyLDAsMCwwLS4xOS43YzAsLjE5LjExLjI5LjMyLjI5YTMuNjksMy42OSwwLDAsMCwxLjEtLjI2LDE0LjUsMTQuNSwwLDAsMCw0LjktMy40M3EyLTIsOS0xMS40NGEyLDIsMCwwLDEsMS41NS0uNzhoMS41Yy4yMywwLC4zNS4xLjM1LjMxcy0xLjUzLDIuMjgtNC41OCw2LjU0cS01Ljc0LDgtNy4yNSw5LjY4QTEyLjMsMTIuMywwLDAsMSwzNjEsNjcuMjksNi4yMSw2LjIxLDAsMCwxLDM1OC4zNyw2Ny44OVoiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC0yMC45MiAtNC4zNikiLz48ZyBjbGFzcz0iY2xzLTMiPjxwYXRoIGNsYXNzPSJjbHMtNCIgZD0iTTk4LjU0LDU4LjQyYTM4LjgxLDM4LjgxLDAsMSwxLTM4LjgyLTM4LjhBMzguODIsMzguODIsMCwwLDEsOTguNTQsNTguNDJaIiB0cmFuc2Zvcm09InRyYW5zbGF0ZSgtMjAuOTIgLTQuMzYpIi8+PHBhdGggY2xhc3M9ImNscy0yIiBkPSJNNjQuNzgsOTEuMTJhMTAsMTAsMCwwLDEtMy43LS43NSw5LjUyLDkuNTIsMCwwLDEtNC4xNC0zLjc4LDEzLjczLDEzLjczLDAsMCwxLTIuMDktNy4xNyw5LjczLDkuNzMsMCwwLDEsLjQ4LTMuMTVsMS4yNi0zLjQ3cTItNS43Miw1LTEzLjg3YS40NS40NSwwLDAsMSwuMDgtLjIyLjk0Ljk0LDAsMCwwLC4wOC0uNDUsMS4yMywxLjIzLDAsMCwwLS4xNi0uNTVjLS4xOC0uMzYtLjc5LS41NS0xLjgxLS41NXEtMi42NCwwLTUuODcsMi44NGEzOS43NSwzOS43NSwwLDAsMC02LjY2LDhjLTMuNjgsNS41NC04Ljc4LDE2LjQ1LTEyLjE5LDIzLjg2bC0xLjIzLDMuNjZoLTFhMi43LDIuNywwLDAsMS0yLjMzLTEuNDJjLS41Mi0xLjI0LTEuMzEtMy40Ni0yLjM2LTYuNjlhMTEuNDIsMTEuNDIsMCwwLDEtLjc5LTQuM2MwLS4zNC4wNi0xLC4xNi0yQTEwLjc3LDEwLjc3LDAsMCwxLDI4LDc4LjY5bDkuMDktMjZxLjQ2LTEuMjMuOS0yLjQ5QzQyLDM4LDUwLjY5LDEzLjQ3LDUzLjUzLDUuNjdhMS45MiwxLjkyLDAsMCwxLDEuODktMS4zMSwyLjMzLDIuMzMsMCwwLDEsLjkuMkExMS4xNSwxMS4xNSwwLDAsMSw2MCw3LjQ4LDcuNDcsNy40NywwLDAsMSw2MS43MiwxMWE4LjEzLDguMTMsMCwwLDEtLjE2LDEuM2MtLjI2LDEuMjQtNi4xOSwxOC4yNi03LjM2LDIycy0zLjE4LDkuODYtNiwxOC40NWMwLDAsMCwwLDAsMHYuMTJMNDUuMiw2MS42NXE2LjczLTkuNzQsMTQtMTEuMjNhMTguMDksMTguMDksMCwwLDEsMy4yMy0uMzIsMTQuNDksMTQuNDksMCwwLDEsMi44OS4zNkExMC43MywxMC43MywwLDAsMSw2OC40LDUxLjZsMS4zNC43NWE3LjU3LDcuNTcsMCwwLDEsMiwxLjczLDYuMTMsNi4xMywwLDAsMSwxLDEuOCw1LjUyLDUuNTIsMCwwLDEsLjI3LDEuNiw1LDUsMCwwLDEtLjExLDEuMTRsLS4xMi40M0w3MCw2Ny41NnEtNS41MiwxNi43NC01LjUxLDE3LjFjMCwuMjEuMTUuMzEuNDcuMzFhNS43LDUuNywwLDAsMCwyLjItLjYzLDI0LjIsMjQuMiwwLDAsMCw2LjctNS4xNiw3OC44NCw3OC44NCwwLDAsMCw1LjM2LTYuNTRxNC01LjMxLDcuODctMTAuNzFhMi44NSwyLjg1LDAsMCwxLDIuMjktMS4xOWgyLjIxYS40NS40NSwwLDAsMSwuNTEuNTJxMCwuMjMtNi43LDkuODgtOC41LDEyLjIzLTEwLjcxLDE0LjdhMTguMjcsMTguMjcsMCwwLDEtNiw0LjM4QTkuMTIsOS4xMiwwLDAsMSw2NC43OCw5MS4xMloiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC0yMC45MiAtNC4zNikiLz48L2c+PHBhdGggY2xhc3M9ImNscy0yIiBkPSJNMTIyLjIzLDk2LjE3bDIuNjEtLjE0YTEuNzgsMS43OCwwLDAsMCwxLDEuMDgsNC41Nyw0LjU3LDAsMCwwLDEuOTUuMzUsNC44OCw0Ljg4LDAsMCwwLDItLjMxcS42Ni0uMzIuNjYtLjcyYS41NC41NCwwLDAsMC0uMjgtLjQ1LDIuODgsMi44OCwwLDAsMC0xLS4zM2MtLjMyLS4wNi0xLS4xNi0yLjE1LS4zMmExMC43NiwxMC43NiwwLDAsMS0zLS43NGMtLjgxLS40MS0xLjIyLS45MS0xLjIyLTEuNWExLjQxLDEuNDEsMCwwLDEsLjU4LTEuMDcsNCw0LDAsMCwxLDEuNjUtLjc2LDExLjY0LDExLjY0LDAsMCwxLDIuNjItLjI1LDguOTMsOC45MywwLDAsMSwzLjc2LjYxLDIsMiwwLDAsMSwxLjMzLDEuNjVsLTIuNjguMDZhMS4zLDEuMywwLDAsMC0uNzQtLjgzLDQuNTQsNC41NCwwLDAsMC0xLjctLjI1LDUsNSwwLDAsMC0xLjgzLjI3Yy0uMjguMTItLjQzLjI3LS40My40N3MuMTQuMzIuNC40NWExMS4zLDExLjMsMCwwLDAsMi40Ny41LDE5LjM5LDE5LjM5LDAsMCwxLDIuODkuNTQsMy42MywzLjYzLDAsMCwxLDEuNDcuNzUsMS41NiwxLjU2LDAsMCwxLC41MywxLjE5LDEuNTgsMS41OCwwLDAsMS0uNjQsMS4yLDQsNCwwLDAsMS0xLjc5Ljg0LDEzLDEzLDAsMCwxLTIuODkuMjcsOSw5LDAsMCwxLTMuODctLjY2QTIuNzEsMi43MSwwLDAsMSwxMjIuMjMsOTYuMTdaIiB0cmFuc2Zvcm09InRyYW5zbGF0ZSgtMjAuOTIgLTQuMzYpIi8+PHBhdGggY2xhc3M9ImNscy0yIiBkPSJNMTM0Ljc0LDk0LjkxYTMsMywwLDAsMSwuNjEtMS45MSw0LjI2LDQuMjYsMCwwLDEsMS4yMy0xLDYuNjIsNi42MiwwLDAsMSwxLjcyLS42NywxMi4yOCwxMi4yOCwwLDAsMSwyLjg2LS4yOSw5LjM0LDkuMzQsMCwwLDEsNC43LDEsMy4xNiwzLjE2LDAsMCwxLDEuNzYsMi44NSwzLjEzLDMuMTMsMCwwLDEtMS43NSwyLjgyLDkuMjIsOS4yMiwwLDAsMS00LjY3LDEsOS4zMyw5LjMzLDAsMCwxLTQuNzEtMUEzLjExLDMuMTEsMCwwLDEsMTM0Ljc0LDk0LjkxWm0yLjc2LDBhMi4xMiwyLjEyLDAsMCwwLDEsMS45Miw1LjY1LDUuNjUsMCwwLDAsNS4yOCwwLDIuMTUsMi4xNSwwLDAsMCwxLTIsMi4wOSwyLjA5LDAsMCwwLTEtMS45MSw0Ljg3LDQuODcsMCwwLDAtMi42Ni0uNjQsNSw1LDAsMCwwLTIuNjcuNjRBMi4xMywyLjEzLDAsMCwwLDEzNy41LDk0Ljg2WiIgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoLTIwLjkyIC00LjM2KSIvPjxwYXRoIGNsYXNzPSJjbHMtMiIgZD0iTTE1OC4yMSw5NS44NWwyLjYuNDdhMy43NCwzLjc0LDAsMCwxLTIsMS44MSw4Ljk0LDguOTQsMCwwLDEtMy41My41OSw4LjMyLDguMzIsMCwwLDEtNC4zNC0xLDMuMTIsMy4xMiwwLDAsMS0xLjcxLTIuNzhBMy4yLDMuMiwwLDAsMSwxNTEsOTJhMTAuMjgsMTAuMjgsMCwwLDEsOC40Ni0uMjMsMy4xOCwzLjE4LDAsMCwxLDEuMzYsMS4zOGwtMi42Ni4zNmExLjc1LDEuNzUsMCwwLDAtMS0uOTIsNC40OCw0LjQ4LDAsMCwwLTEuODItLjM0LDQuMyw0LjMsMCwwLDAtMi4zOS42LDIuMTIsMi4xMiwwLDAsMC0uOTIsMS45MywyLjI1LDIuMjUsMCwwLDAsLjksMiw0LjIxLDQuMjEsMCwwLDAsMi4zNi42LDQuMDYsNC4wNiwwLDAsMCwxLjg0LS4zOUEyLjIsMi4yLDAsMCwwLDE1OC4yMSw5NS44NVoiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC0yMC45MiAtNC4zNikiLz48cGF0aCBjbGFzcz0iY2xzLTIiIGQ9Ik0xNjMsOTguNlY5MS4xM2gyLjY4Vjk4LjZaIiB0cmFuc2Zvcm09InRyYW5zbGF0ZSgtMjAuOTIgLTQuMzYpIi8+PHBhdGggY2xhc3M9ImNscy0yIiBkPSJNMTgwLjI0LDk4LjZoLTIuOTFsLTEuMTYtMS43aC01LjMxbC0xLjEsMS43aC0yLjg0bDUuMTctNy40N2gyLjgzWm0tNC45My0zLTEuODMtMi43Ny0xLjgsMi43N1oiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC0yMC45MiAtNC4zNikiLz48cGF0aCBjbGFzcz0iY2xzLTIiIGQ9Ik0xODEuNzQsOTguNlY5MS4xOWgyLjY4djYuMTVoNi42N1Y5OC42WiIgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoLTIwLjkyIC00LjM2KSIvPjxwYXRoIGNsYXNzPSJjbHMtMiIgZD0iTTE5Ny44MSw5MS4xM2g0LjlhMTYsMTYsMCwwLDEsMi41My4xNSw1LjU1LDUuNTUsMCwwLDEsMiwuNjgsMy43LDMuNywwLDAsMSwxLjI3LDEuMjEsMy4zNiwzLjM2LDAsMCwxLC40MywxLjc3LDMsMywwLDAsMS0uNDEsMS41OCwzLjU2LDMuNTYsMCwwLDEtMS40MiwxLjMyLDYsNiwwLDAsMS0xLjg4LjYsMTQuNzgsMTQuNzgsMCwwLDEtMi4zOC4xNmgtNVptMi42OCwxLjI3djQuOTRoMmExMi40MSwxMi40MSwwLDAsMCwxLjYyLS4wN0EzLjYzLDMuNjMsMCwwLDAsMjA1LjIsOTdhMS44LDEuOCwwLDAsMCwuNy0uNzIsMi45MiwyLjkyLDAsMCwwLC4yNy0xLjM3LDIuNjcsMi42NywwLDAsMC0uMjctMS4zMywyLDIsMCwwLDAtLjc2LS43MiwzLjQzLDMuNDMsMCwwLDAtMS4yNS0uMzUsMjAuNzIsMjAuNzIsMCwwLDAtMi4yLS4wN1oiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC0yMC45MiAtNC4zNikiLz48cGF0aCBjbGFzcz0iY2xzLTIiIGQ9Ik0yMTEuMjEsOTguNlY5MS4xM2g5Ljg1VjkyLjRIMjEzLjl2MS42NWg2LjY2djEuMjZIMjEzLjl2Mmg3LjQyVjk4LjZaIiB0cmFuc2Zvcm09InRyYW5zbGF0ZSgtMjAuOTIgLTQuMzYpIi8+PHBhdGggY2xhc3M9ImNscy0yIiBkPSJNMjM1LjU2LDk4LjZoLTIuOTFsLTEuMTYtMS43aC01LjMxbC0xLjEsMS43aC0yLjg0bDUuMTctNy40N2gyLjg0Wm0tNC45My0zLTEuODMtMi43N0wyMjcsOTUuNjRaIiB0cmFuc2Zvcm09InRyYW5zbGF0ZSgtMjAuOTIgLTQuMzYpIi8+PHBhdGggY2xhc3M9ImNscy0yIiBkPSJNMjM3LjA2LDk4LjZWOTEuMTloMi42OHY2LjE1aDYuNjdWOTguNloiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC0yMC45MiAtNC4zNikiLz48cGF0aCBjbGFzcz0iY2xzLTIiIGQ9Ik0yNjEuNjQsOTUuODVsMi42LjQ3YTMuNzcsMy43NywwLDAsMS0yLDEuODEsOSw5LDAsMCwxLTMuNTMuNTksOC4zOSw4LjM5LDAsMCwxLTQuMzUtMSwzLjEzLDMuMTMsMCwwLDEtMS43LTIuNzhBMy4yLDMuMiwwLDAsMSwyNTQuMzgsOTJhOC42Miw4LjYyLDAsMCwxLDQuNS0xLDguNTIsOC41MiwwLDAsMSw0LC44LDMuMTMsMy4xMywwLDAsMSwxLjM2LDEuMzhsLTIuNjUuMzZ
2hMS43NywxLjc3LDAsMCwwLTEtLjkyLDQuNDYsNC40NiwwLDAsMC0xLjgxLS4zNCw0LjMxLDQuMzEsMCwwLDAtMi40LjYsMi4xNCwyLjE0LDAsMCwwLS45MiwxLjkzLDIuMjQsMi4yNCwwLDAsMCwuOTEsMiw0LjE4LDQuMTgsMCwwLDAsMi4zNS42LDQsNCwwLDAsMCwxLjg0LS4zOUEyLjI1LDIuMjUsMCwwLDAsMjYxLjY0LDk1Ljg1WiIgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoLTIwLjkyIC00LjM2KSIvPjxwYXRoIGNsYXNzPSJjbHMtMiIgZD0iTTI2Niw5NC45MUEzLDMsMCwwLDEsMjY2LjYsOTNhNC4xOCw0LjE4LDAsMCwxLDEuMjQtMSw2LjQxLDYuNDEsMCwwLDEsMS43MS0uNjcsMTIuMzIsMTIuMzIsMCwwLDEsMi44Ny0uMjksOS4zMiw5LjMyLDAsMCwxLDQuNjksMSwzLjE2LDMuMTYsMCwwLDEsMCw1LjY3LDExLjM3LDExLjM3LDAsMCwxLTkuMzksMEEzLjEzLDMuMTMsMCwwLDEsMjY2LDk0LjkxWm0yLjc3LDBhMi4xLDIuMSwwLDAsMCwxLDEuOTIsNS42Myw1LjYzLDAsMCwwLDUuMjcsMCwyLjE1LDIuMTUsMCwwLDAsMS0yLDIuMDksMi4wOSwwLDAsMC0xLTEuOTEsNC44Myw0LjgzLDAsMCwwLTIuNjYtLjY0LDUsNSwwLDAsMC0yLjY3LjY0QTIuMTQsMi4xNCwwLDAsMCwyNjguNzYsOTQuODZaIiB0cmFuc2Zvcm09InRyYW5zbGF0ZSgtMjAuOTIgLTQuMzYpIi8+PHBhdGggY2xhc3M9ImNscy0yIiBkPSJNMjgwLjkzLDk4LjZWOTEuMTNoNGwyLjQxLDUuMDksMi4zOS01LjA5aDRWOTguNmgtMi40OVY5Mi43MmwtMi42NCw1Ljg4aC0yLjU4bC0yLjYzLTUuODhWOTguNloiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC0yMC45MiAtNC4zNikiLz48cGF0aCBjbGFzcz0iY2xzLTIiIGQ9Ik0yOTYuMzksOTguNlY5MS4xM2g0bDIuNDEsNS4wOSwyLjM4LTUuMDloNFY5OC42aC0yLjQ5VjkyLjcybC0yLjYzLDUuODhIMzAxLjVsLTIuNjItNS44OFY5OC42WiIgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoLTIwLjkyIC00LjM2KSIvPjxwYXRoIGNsYXNzPSJjbHMtMiIgZD0iTTMxMS44Niw5MS4xM2gyLjY4djQuMDVhNC41NCw0LjU0LDAsMCwwLC4xLDEuMjQsMS4zOCwxLjM4LDAsMCwwLC44Mi43NCw0LjY3LDQuNjcsMCwwLDAsMS43Ny4yOCw0LjI1LDQuMjUsMCwwLDAsMS43Mi0uMjcsMS4xMiwxLjEyLDAsMCwwLC43LS42NCw0LjcsNC43LDAsMCwwLC4xMi0xLjI3VjkxLjEzaDIuNjh2My45MmE1LjYyLDUuNjIsMCwwLDEtLjIyLDEuOSwyLDIsMCwwLDEtLjguOTQsNSw1LDAsMCwxLTEuNTYuNjEsMTEuOTMsMTEuOTMsMCwwLDEtMi41Ni4yMiwxMi45MSwxMi45MSwwLDAsMS0yLjg4LS4yNCw1LDUsMCwwLDEtMS41Ni0uNjQsMiwyLDAsMCwxLS43NS0uODMsNS4zOSw1LjM5LDAsMCwxLS4yNi0xLjlaIiB0cmFuc2Zvcm09InRyYW5zbGF0ZSgtMjAuOTIgLTQuMzYpIi8+PHBhdGggY2xhc3M9ImNscy0yIiBkPSJNMzI1LjMsOTguNlY5MS4xM2gyLjYxbDUuNDMsNXYtNWgyLjVWOTguNmgtMi42OWwtNS4zNi00Ljg3Vjk4LjZaIiB0cmFuc2Zvcm09InRyYW5zbGF0ZSgtMjAuOTIgLTQuMzYpIi8+PHBhdGggY2xhc3M9ImNscy0yIiBkPSJNMzM4LjU5LDk4LjZWOTEuMTNoMi42OFY5OC42WiIgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoLTIwLjkyIC00LjM2KSIvPjxwYXRoIGNsYXNzPSJjbHMtMiIgZD0iTTM0Ni44Miw5OC42VjkyLjRoLTMuOTRWOTEuMTNoMTAuNTVWOTIuNEgzNDkuNXY2LjJaIiB0cmFuc2Zvcm09InRyYW5zbGF0ZSgtMjAuOTIgLTQuMzYpIi8+PHBhdGggY2xhc3M9ImNscy0yIiBkPSJNMzU4LjY1LDk4LjZWOTUuNDZsLTQuODctNC4zM2gzLjE1bDMuMTIsMywzLjA2LTNoMy4wOWwtNC44OCw0LjM0Vjk4LjZaIiB0cmFuc2Zvcm09InRyYW5zbGF0ZSgtMjAuOTIgLTQuMzYpIi8+PC9zdmc+"},85621(e,t,n){function r(e){return function(e){if(Array.isArray(e))return a(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||o(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function i(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,i,o,a,u=[],l=!0,c=!1;try{if(o=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(r=o.call(n)).done)&&(u.push(r.value),u.length!==t);l=!0);}catch(e){c=!0,i=e}finally{try{if(!l&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(c)throw i}}return u}}(e,t)||o(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function o(e,t){if(e){if("string"==typeof e)return a(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?a(e,t):void 0}}function a(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}n.r(t),n.d(t,{CATEGORY_ALIASES:()=>l,CATEGORY_DEFINITIONS:()=>u,canonicalCategoryPath:()=>L,categoryLangcodeFromPath:()=>M,codeFromBundle:()=>h,codeFromPath:()=>d,codeFromTid:()=>p,formatCategoryName:()=>g,getCategoryDefinition:()=>j,getCategoryName:()=>y,getCategoryPath:()=>w,getDealApiDetailType:()=>E,isCategoryLanding:()=>v,isCategoryPathAmbiguous:()=>x,localizeCategoryPath:()=>b,normalizeCategoryCode:()=>f,setCategoryApiLabels:()=>s});
2var u={ugh:{tid:1,path:"/urlaub-gegen-hilfe",bundles:["ugh_host_content","ugh_helfer_content"],solrFlags:{t1:1,t2:1},apiDetailType:"ugh-host"},wgh:{tid:2,path:"/wohnen-gegen-hilfe",bundles:["wgh_host_content","wgh_helfer_content"],solrFlags:{t3:1,t4:1},apiDetailType:"wgh-host"},hgh:{tid:3,path:"/hilfe-und-tausch",bundles:["hgh_helfer_content"],solrFlags:{t5:1},apiDetailType:"hut"},ht:{tid:4,path:"/haustausch",bundles:["ht_host_content"],solrFlags:{t6:1},apiDetailType:"ht"},sb:{tid:43,path:"/socialbusiness",bundles:["sb_organisation_content","sb_company_content"],solrFlags:{t7:1,t8:1},apiDetailType:"sb-org"},community:{tid:11,path:"/community",bundles:[],solrFlags:{}}},l={hut:"hgh",mgg:"sb"},c={};function s(){var e,t={},n=function(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=o(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,i=function(){};return{s:i,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,u=!0,l=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return u=e.done,e},e:function(e){l=!0,a=e},f:function(){try{u||null==n.return||n.return()}finally{if(l)throw a}}}}(arguments.length>0&&void 0!==arguments[0]?arguments[0]:[]);try{for(n.s();!(e=n.n()).done;){var r=e.value,i=f(null==r?void 0:r.code);i&&null!=r&&r.title&&(t[i]=String(r.title))}}catch(e){n.e(e)}finally{n.f()}c=t}function f(e){if(null==e||""===e)return null;var t=String(e).toLowerCase();return u[t]?t:l[t]||null}function d(e){if(!e)return null;var t="/"+String(e).split("?")[0].replace(/\/+$/,"").replace(/^\/+/,"").toLowerCase();if("/"===t)return null;for(var n="/"+t.replace(/^\//,"").split("/")[0],r=m(),o=0,a=Object.entries(r);o<a.length;o++){for(var l=i(a[o],2),c=l[0],s=l[1],d=(null==s?void 0:s.paths)||{},p=0,h=Object.values(d);p<h.length;p++){var y=h[p];if(y===t||y===n)return f(c)}if((null==s?void 0:s.path)===t||(null==s?void 0:s.path)===n)return f(c)}for(var g=0,w=Object.entries(u);g<w.length;g++){var v=i(w[g],2),b=v[0],L=v[1];if(L.path===t||L.path===n)return b}return null}function p(e){var t=Number(e);if(!Number.isFinite(t))return null;for(var n=0,r=Object.entries(u);n<r.length;n++){var o=i(r[n],2),a=o[0];if(o[1].tid===t)return a}return null}function h(e){if(!e)return null;for(var t=String(e).toLowerCase(),n=0,r=Object.entries(u);n<r.length;n++){var o=i(r[n],2),a=o[0];if(o[1].bundles.includes(t))return a}return null}function m(){var e;return(null===(e=window.drupalSettings)||void 0===e||null===(e=e.helpindeal)||void 0===e?void 0:e.categories)||{}}function y(e){var t,n=f(e);if(!n)return"";var r=null===(t=m()[n])||void 0===t?void 0:t.name;return r?String(r):c[n]?c[n]:""}function g(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=y(e);return n?t.uppercase?n.toUpperCase():n:""}function w(e,t){var n,r,i,o=f(e);if(!o)return"";var a=m()[o],l=t||("undefined"!=typeof window?null===(n=window.drupalSettings)||void 0===n||null===(n=n.helpindeal)||void 0===n||null===(n=n.i18n)||void 0===n?void 0:n.lang:null)||"de",c=null==a||null===(r=a.paths)||void 0===r?void 0:r[l];return c?String(c):!t&&null!=a&&a.path?String(a.path):"de"!==l&&null!=a&&a.paths?(null==a||null===(i=a.paths)||void 0===i?void 0:i.de)||u[o].path||"":u[o].path}function v(e){if(!e)return!1;var t=String(e).split("?")[0].split("#")[0],n=t.replace(/^\/+|\/+$/g,"");return!(!n||n.includes("/"))&&null!==d(t)}function b(e,t){if(!v(e))return null;var n=d(e);return n&&w(n,t)||null}function L(e){if(!v(e))return null;var t=d(e);return t?w(t,"de"):null}function M(e){var t;if(!v(e))return null;var n=d(e);if(!n)return null;for(var o="/"+String(e).split("?")[0].replace(/\/+$/,"").replace(/^\/+/,"").toLowerCase(),a=m()[n],l=(null==a?void 0:a.paths)||{de:null===(t=u[n])||void 0===t?void 0:t.path},c=[],s=0,f=Object.entries(l);s<f.length;s++){var p=i(f[s],2),h=p[0];p[1]===o&&c.push(h)}var y=r(new Set(c));return 1===y.length?y[0]:null}function x(e){return v(e)&&null===M(e)}function j(e){var t=f(e);return t?u[t]:null}function E(e){var t=j(e);return(null==t?void 0:t.apiDetailType)||null}},88683(e,t,n){n.d(t,{H8:()=>l,vh:()=>u});var r=n(96540),i=n(43977),o=new Set,a=["/deal-anlegen","/deal-bearbeiten","/checkout","/chat","/registrieren","/verifizierung"];function u(e){if(o.size>0)return!0;var t=e||"/",n=t;try{n=(0,i.Op)(t)||t}catch(e){n=t}return a.some((function(e){return n===e||n.startsWith("".concat(e,"/"))}))}function l(e){(0,r.useEffect)((function(){return function(e){e&&o.add(e)}(e),function(){return function(e){e&&o.delete(e)}(e)}}),[e])}}
2,88730(e,t,n){n.d(t,{Lz:()=>Ie,M6:()=>se,FH:()=>M,jk:()=>Ue,M2:()=>K,IR:()=>Ct,mS:()=>X,ze:()=>Et,ro:()=>st,n0:()=>Dt,jR:()=>At,NJ:()=>et,iG:()=>fe,gb:()=>ae,dT:()=>Ke,TI:()=>tt,uG:()=>P,Wz:()=>I,gY:()=>_,T$:()=>xt,w_:()=>Mt,IT:()=>Se,FS:()=>R,WN:()=>ze,TZ:()=>W,Y:()=>F,zz:()=>T,Ap:()=>Ze,Lo:()=>ct,yC:()=>lt,XW:()=>De,fD:()=>Y,_F:()=>U,v4:()=>Q,m0:()=>N,$o:()=>ke,n_:()=>D,cX:()=>$,Es:()=>ee,JJ:()=>ne,IM:()=>te,Yn:()=>C,Gb:()=>q,e9:()=>qe,gn:()=>B,oU:()=>H,P5:()=>Re,MB:()=>z,DZ:()=>O,oE:()=>Z,hP:()=>J,mh:()=>G,l2:()=>Je,G0:()=>pt,En:()=>dt,EQ:()=>Ge,Cf:()=>ve,RK:()=>je,rU:()=>Ne,HW:()=>Oe,Rw:()=>A,Hq:()=>Ye,K4:()=>_t,eH:()=>me,p5:()=>pe,Qg:()=>Me,Lq:()=>Le,SB:()=>St,cC:()=>ie,iP:()=>oe,H_:()=>ce,jr:()=>de,fT:()=>He,vZ:()=>Qe,ly:()=>Be,sv:()=>We,zO:()=>Fe,mg:()=>mt,LU:()=>E,GN:()=>le,fK:()=>V,WL:()=>Ve,uw:()=>at,UA:()=>rt,tZ:()=>ot,J7:()=>nt,Jq:()=>ut,qx:()=>re,gJ:()=>jt,jE:()=>ue,oV:()=>kt,Fx:()=>Pe,Dc:()=>Lt,zC:()=>wt,h6:()=>vt,kw:()=>bt,dw:()=>yt,GB:()=>gt,XB:()=>it,Tk:()=>Nt,Kd:()=>ht,oL:()=>Te,Ci:()=>$e,Xx:()=>Xe});var r=n(71083),i=n(60573),o=n(73333),a={ugh_host_content:{field_deal_custom_status:{1:"Active",2:"Pause",3:"Draft",4:"Closed",5:"Review",6:"Block"},field_ughhost_availability:{1:"ab sofort",2:"flexibel",3:"dauerhaft"},field_ughhost_category:{1:"Handwerkliche Hilfe",2:"Reparaturen",3:"Gartenpflege",4:"Landwirtschaftliche Hilfe",5:"Erntehelfer",6:"Haushaltshilfe",7:"Kochen & Backen",8:"Textilarbeiten",9:"Digitale Arbeit",10:"Lehrkraft",11:"Kinderbetreuung",12:"Seniorenbetreuung",13:"Housesitting",14:"Tiersitting",15:"Soziale Hilfsorganisation",16:"Umwelt- und Tierschutz",17:"Event & Animation",18:"Servicetätigkeit",19:"Sport & Gesundheit",20:"Beauty & Wellness",21:"Kunst & Gestaltung"}
2,field_ughhost_catering:{1:"Kochmöglichkeit",2:"Inkl.Verpflegung"},field_ughhost_considerationhd:{1:"1 Std./ Tag",2:"2 Std./ Tag",3:"3 Std./ Tag",4:"4 Std./ Tag",5:"5 Std./ Tag",6:"6 Std./ Tag"},field_ughhost_duration:{1:"Beliebig",2:"3 - 5 Tage",3:"6 - 8 Tage",4:"9 - 12 Tage",5:"13 - 15 Tage",6:"16 - 22 Tage",7:"1 Woche",8:"2 Wochen",9:"3 Wochen",10:"4 Wochen",11:"5 Wochen",12:"6 Wochen"},field_ughhost_furnishing:{1:"Eigenes Bad",2:"Bettwäsche",3:"Waschmöglichkeit",4:"freies W-LAN",5:"Klimaanlage",6:"Balkon",7:"Garten",8:"PKW Stellplatz",9:"Kinder willkommen",10:"Tiere willkommen",11:"Zeltplatz"},field_ughhost_languages:{1:"Deutsch",2:"Englisch",3:"Französisch",4:"Spanisch",5:"Portugiesisch",6:"Italienisch",7:"Russisch",8:"Polnisch",9:"Schwedisch",10:"Griechisch",11:"Kroatisch",12:"Arabisch",13:"Türkisch",14:"Indonesisch",15:"Japanisch",16:"Chinesisch"},field_ughhost_location:{1:"Zentrum",2:"Ländlich",3:"Berge",4:"Strandnah"},field_ughhost_offer:{1:"Zimmer",2:"Apartment",3:"Wohnung",4:"Haus",5:"Hütte",6:"Wohnmobil",7:"Stellplatz für Wohnmobil",8:"Tippi",9:"Zeltplatz",10:"Baumhaus",11:"Bauernhof"},field_ughhost_particularities:{1:"Vegetarisch",2:"Barrierefrei",3:"Raucher"},field_ughhost_post_runtime:{1:"9 Monate",2:"12 Monate"}},ugh_helfer_content:{field_deal_custom_status:{1:"Active",2:"Pause",3:"Draft",4:"Closed",5:"Review",6:"Block"},field_ughhelfer_availability:{1:"ab sofort",2:"flexibel",3:"dauerhaft"},field_ughhelfer_considerationhd:{1:"1 Std./ Tag",2:"2 Std./ Tag",3:"3 Std./ Tag",4:"4 Std./ Tag",5:"5 Std./ Tag",6:"6 Std./ Tag"},field_ughhelfer_desiredlocation:{1:"Zentrum",2:"Ländlich",3:"Berge",4:"Strandnah"},field_ughhelfer_duration:{1:"Beliebig",2:"3 - 5 Tage",3:"6 - 8 Tage",4:"9 - 12 Tage",5:"13 - 15 Tage",6:"16 - 22 Tage",7:"1 Woche",8:"2 Wochen",9:"3 Wochen",10:"4 Wochen",11:"5 Wochen",12:"6 Wochen"},field_ughhelfer_languages:{1:"Deutsch",2:"Englisch",3:"Französisch",4:"Spanisch",5:"Portugiesisch",6:"Italienisch",7:"Russisch",8:"Polnisch",9:"Schwedisch",10:"Griechisch",11:"Kroatisch",12:"Arabisch",13:"Türkisch",14:"Indonesisch",15:"Japanisch",16:"Chinesisch"},field_ughhelfer_offer:{1:"Handwerkliche Hilfe",2:"Reparaturen",3:"Gartenpflege",4:"Landwirtschaftliche Hilfe",5:"Erntehelfer",6:"Haushaltshilfe",7:"Kochen & Backen",8:"Textilarbeiten",9:"Digitale Arbeit",10:"Lehrkraft",11:"Kinderbetreuung",12:"Seniorenbetreuung",13:"Housesitting",14:"Tiersitting",15:"Soziale Hilfsorganisation",16:"Umwelt- und Tierschutz",17:"Event & Animation",18:"Servicetätigkeit",19:"Sport & Gesundheit",20:"Beauty & Wellness",21:"Kunst & Gestaltung"},field_ughhelfer_post_runtime:{1:"9 Monate",2:"12 Monate"},field_ughhelfer_search:{1:"Zimmer",2:"Apartment",3:"Wohnung",4:"Haus",5:"Hütte",6:"Wohnmobil",7:"Stellplatz für Wohnmobil",8:"Tippi",9:"Zeltplatz",10:"Baumhaus",11:"Bauernhof"}},wgh_host_content:{field_deal_custom_status:{1:"Active",2:"Pause",3:"Draft",4:"Closed",5:"Review",6:"Block"},field_wghhost_availability:{1:"ab sofort",2:"flexibel",3:"dauerhaft"},field_wghhost_category:{1:"Handwerkliche Hilfe",2:"Reparaturen",3:"Gartenpflege",4:"Landwirtschaftliche Hilfe",5:"Erntehelfer",6:"Haushaltshilfe",7:"Kochen & Backen",8:"Textilarbeiten",9:"Digitale Arbeit",10:"Lehrkraft",11:"Kinderbetreuung",12:"Seniorenbetreuung",13:"Housesitting",14:"Tiersitting",15:"Soziale Hilfsorganisation",16:"Umwelt- und Tierschutz",17:"Event & Animation",18:"Servicetätigkeit",19:"Sport & Gesundheit",20:"Beauty & Wellness",21:"Kunst & Gestaltung"}
2,field_wghhost_catering:{1:"Kochmöglichkeit",2:"Inkl.Verpflegung"},field_wghhost_considerationhd:{1:"1 Std./ Tag",2:"2 Std./ Tag",3:"3 Std./ Tag",4:"4 Std./ Tag",5:"5 Std./ Tag",6:"6 Std./ Tag"},field_wghhost_duration:{1:"Beliebig",2:"1 - 3 Monate",3:"4 - 7 Monate",4:"8 - 12 Monate",5:"1 Jahr",6:"2 Jahre",7:"3 Jahre",8:"4 Jahre",9:"5 Jahre"},field_wghhost_furnishing:{1:"Eigenes Bad",2:"Bettwäsche",3:"Waschmöglichkeit",4:"freies W-LAN",5:"Klimaanlage",6:"Balkon",7:"Garten",8:"PKW Stellplatz",9:"Kinder willkommen",10:"Tiere willkommen",11:"Zeltplatz"},field_wghhost_languages:{1:"Deutsch",2:"Englisch",3:"Französisch",4:"Spanisch",5:"Portugiesisch",6:"Italienisch",7:"Russisch",8:"Polnisch",9:"Schwedisch",10:"Griechisch",11:"Kroatisch",12:"Arabisch",13:"Türkisch",14:"Indonesisch",15:"Japanisch",16:"Chinesisch"},field_wghhost_location:{1:"Zentrum",2:"Ländlich",3:"Berge",4:"Strandnah"},field_wghhost_offer:{1:"Zimmer",2:"Apartment",3:"2 Zi. Wohnung",4:"3 Zi. Wohnung",5:"4 Zi. Wohnung",6:"5 Zi. Wohnung",7:"Haus",8:"Hütte",9:"Wohnmobil",10:"Stellplatz für Wohnmobil",11:"Tippi",12:"Zeltplatz",13:"Baumhaus",14:"Bauernhof"},field_wghhost_particularities:{1:"Vegetarisch",2:"Barrierefrei",3:"Raucher"},field_wghhost_post_runtime:{1:"9 Monate",2:"12 Monate"}},wgh_helfer_content:{field_deal_custom_status:{1:"Active",2:"Pause",3:"Draft",4:"Closed",5:"Review",6:"Block"},field_wghhelfer_availability:{1:"ab sofort",2:"flexibel",3:"dauerhaft"},field_wghhelfer_considerationhd:{1:"1 Std./ Tag",2:"2 Std./ Tag",3:"3 Std./ Tag",4:"4 Std./ Tag",5:"5 Std./ Tag",6:"6 Std./ Tag"},field_wghhelfer_desiredlocat:{1:"Zentrum",2:"Ländlich",3:"Berge",4:"Strandnah"},field_wghhelfer_duration:{1:"Beliebig",2:"1 - 3 Monate",3:"4 - 7 Monate",4:"8 - 12 Monate",5:"1 Jahr",6:"2 Jahre",7:"3 Jahre",8:"4 Jahre",9:"5 Jahre"},field_wghhelfer_languages:{1:"Deutsch",2:"Englisch",3:"Französisch",4:"Spanisch",5:"Portugiesisch",6:"Italienisch",7:"Russisch",8:"Polnisch",9:"Schwedisch",10:"Griechisch",11:"Kroatisch",12:"Arabisch",13:"Türkisch",14:"Indonesisch",15:"Japanisch",16:"Chinesisch"},field_wghhelfer_offer:{1:"Handwerkliche Hilfe",2:"Reparaturen",3:"Gartenpflege",4:"Landwirtschaftliche Hilfe",5:"Erntehelfer",6:"Haushaltshilfe",7:"Kochen & Backen",8:"Textilarbeiten",9:"Digitale Arbeit",10:"Lehrkraft",11:"Kinderbetreuung",12:"Seniorenbetreuung",13:"Housesitting",14:"Tiersitting",15:"Soziale Hilfsorganisation",16:"Umwelt- und Tierschutz",17:"Event & Animation",18:"Servicetätigkeit",19:"Sport & Gesundheit",20:"Beauty & Wellness",21:"Kunst & Gestaltung"},field_wghhelfer_post_runtime:{1:"9 Monate",2:"12 Monate"},field_wghhelfer_search:{1:"Zimmer",2:"Apartment",3:"2 Zi. Wohnung",4:"3 Zi. Wohnung",5:"4 Zi. Wohnung",6:"5 Zi. Wohnung",7:"Haus",8:"Hütte",9:"Wohnmobil",10:"Stellplatz für Wohnmobil",11:"Tippi",12:"Zeltplatz",13:"Baumhaus",14:"Bauernhof"}},hgh_helfer_content:{field_deal_custom_status:{1:"Active",2:"Pause",3:"Draft",4:"Closed",5:"Review",6:"Block"},field_hghhelfer_availability:{1:"ab sofort",2:"flexibel",3:"dauerhaft"},field_hghhelfer_considerationh:{1:"1 Std.",2:"2 Std.",3:"3 Std.",4:"4 Std.",5:"5 Std.",6:"6 Std.",7:"7 Std.",8:"8 Std.",9:"9 Std.",10:"10 Std."},field_hghhelfer_languages:{1:"Deutsch",2:"Englisch",3:"Französisch",4:"Spanisch",5:"Portugiesisch",6:"Italienisch",7:"Russisch",8:"Polnisch",9:"Schwedisch",10:"Griechisch",11:"Kroatisch",12:"Arabisch",13:"Türkisch",14:"Indonesisch",15:"Japanisch",16:"Chinesisch"},field_hghhelfer_offer:{1:"Handwerkliche Hilfe",2:"Reparaturen",3:"Gartenpflege",4:"Landwirtschaftliche Hilfe",5:"Erntehelfer",6:"Haushaltshilfe",7:"Kochen & Backen",8:"Textilarbeiten",9:"Digitale Arbeit",10:"Lehrkraft",11:"Kinderbetreuung",30:"Kinderbedarf",12:"Seniorenbetreuung",13:"Housesitting",14:"Tiersitting",15:"Soziale Hilfsorganisation",16:"Umwelt- und Tierschutz",17:"Event & Animation",18:"Servicetätigkeit",19:"Sport & Gesundheit",20:"Beauty & Wellness",21:"Kunst & Gestaltung",22:"Elektro & Werkzeug",23:"Auto, Rad & Boot",24:"Möbel & Einrichtung",25:"Mode & Kleidung",26:"Bücher, Filme & Musik",27:"Haushaltsutensilien",28:"Lebensmittel",29:"Eintrittskarten",31:"Tierbetreuung",32:"Tierbedarf",33:"Mitnutzung"},field_hghhelfer_post_runtime:{1:"9 Monate",2:"12 Monate"},field_hghhelfer_search:{1:"Handwerkliche Hilfe",2:"Reparaturen",3:"Gartenpflege",4:"Landwirtschaftliche Hilfe",5:"Erntehelfer",6:"Haushaltshilfe",7:"Kochen & Backen",8:"Textilarbeiten",9:"Digitale Arbeit",10:"Lehrkraft",11:"Kinderbetreuung",30:"Kinderbedarf",22:"Elektro & Werkzeug",12:"Seniorenbetreuung",13:"Housesitting",14:"Tiersitting",15:"Soziale Hilfsorganisation",16:"Umwelt- und Tierschutz",17:"Event & Animation",18:"Servicetätigkeit",19:"Sport & Gesundheit",20:"Beauty & Wellness",21:"Kunst & Gestaltung",23:"Auto, Rad & Boot",24:"Möbel & Einrichtung",25:"Mode & Kleidung",26:"Bücher, Filme & Musik",27:"Haushaltsutensilien",28:"Lebensmittel",29:"Eintrittskarten",31:"Tierbetreuung",32:"Tierbedarf",33:"Mitnutzung"}},ht_host_content:{field_deal_custom_status:{1:"Active",2:"Pause",3:"Draft",4:"Closed",5:"Review",6:"Block"},field_hthost_availability:{1:"ab sofort",2:"flexibel",3:"dauerhaft"},field_hthost_category:{1:"Zimmer",2:"Apartment",3:"2 Zi. Wohnung",4:"3 Zi. Wohnung",5:"4 Zi. Wohnung",6:"5 Zi. Wohnung",7:"Haus",8:"Hütte",9:"Wohnmobil",10:"Stellplatz für Wohnmobil",11:"Tippi",12:"Zeltplatz",13:"Baumhaus",14:"Bauernhof"},field_hthost_desiredposit:{1:"Zentrum",2:"Ländlich",3:"Berge",4:"Strandnah"},field_hthost_duration:{1:"Beliebig",2:"1 - 3 Monate",3:"4 - 7 Monate",4:"8 - 12 Monate",5:"1 Jahr",6:"2 Jahre",7:"3 Jahre",8:"4 Jahre",9:"5 Jahre",10:"Dauerhaft"},field_hthost_furnishing:{1:"Eigenes Bad",2:"Bettwäsche",3:"Waschmöglichkeit",4:"freies W-LAN",5:"Klimaanlage",6:"Balkon",7:"Garten",8:"PKW Stellplatz",9:"Kinder willkommen",10:"Tiere willkommen",11:"Zeltplatz"},field_hthost_languages:{1:"Deutsch",2:"Englisch",3:"Französisch",4:"Spanisch",5:"Portugiesisch",6:"Italienisch",7:"Russisch",8:"Polnisch",9:"Schwedisch",10:"Griechisch",11:"Kroatisch",12:"Arabisch",13:"Türkisch",14:"Indonesisch",15:"Japanisch",16:"Chinesisch"}
2,field_hthost_location:{1:"Zentrum",2:"Ländlich",3:"Berge",4:"Strandnah"},field_hthost_offer:{1:"Zimmer",2:"Apartment",3:"2 Zi. Wohnung",4:"3 Zi. Wohnung",5:"4 Zi. Wohnung",6:"5 Zi. Wohnung",7:"Haus",8:"Hütte",9:"Wohnmobil",10:"Stellplatz für Wohnmobil",11:"Tippi",12:"Zeltplatz",13:"Baumhaus",14:"Bauernhof"},field_hthost_particularities:{1:"Barrierefrei",2:"Rauchmöglichkeiten"},field_hthost_post_runtime:{1:"9 Monate",2:"12 Monate"}}},u=n(1588);function l(e){return function(e){if(Array.isArray(e))return d(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||f(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function c(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=f(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,i=function(){};return{s:i,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,a=!0,u=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return a=e.done,e},e:function(e){u=!0,o=e},f:function(){try{a||null==n.return||n.return()}finally{if(u)throw o}}}}function s(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,i,o,a,u=[],l=!0,c=!1;try{if(o=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(r=o.call(n)).done)&&(u.push(r.value),u.length!==t);l=!0);}catch(e){c=!0,i=e}finally{try{if(!l&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(c)throw i}}return u}}(e,t)||f(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function f(e,t){if(e){if("string"==typeof e)return d(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?d(e,t):void 0}}function d(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function p(e){return p="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},p(e)}function h(){var e,t,n="function"==typeof Symbol?Symbol:{},r=n.iterator||"@@iterator",i=n.toStringTag||"@@toStringTag";function o(n,r,i,o){var l=r&&r.prototype instanceof u?r:u,c=Object.create(l.prototype);return m(c,"_invoke",function(n,r,i){var o,u,l,c=0,s=i||[],f=!1,d={p:0,n:0,v:e,a:p,f:p.bind(e,4),d:function(t,n){return o=t,u=0,l=e,d.n=n,a}};function p(n,r){for(u=n,l=r,t=0;!f&&c&&!i&&t<s.length;t++){var i,o=s[t],p=d.p,h=o[2];n>3?(i=h===r)&&(l=o[(u=o[4])?5:(u=3,3)],o[4]=o[5]=e):o[0]<=p&&((i=n<2&&p<o[1])?(u=0,d.v=r,d.n=o[1]):p<h&&(i=n<3||o[0]>r||r>h)&&(o[4]=n,o[5]=r,d.n=h,u=0))}if(i||n>1)return a;throw f=!0,r}return function(i,s,h){if(c>1)throw TypeError("Generator is already running");for(f&&1===s&&p(s,h),u=s,l=h;(t=u<2?e:l)||!f;){o||(u?u<3?(u>1&&(d.n=-1),p(u,l)):d.n=l:d.v=l);try{if(c=2,o){if(u||(i="next"),t=o[i]){if(!(t=t.call(o,l)))throw TypeError("iterator result is not an object");if(!t.done)return t;l=t.value,u<2&&(u=0)}else 1===u&&(t=o.return)&&t.call(o),u<2&&(l=TypeError("The iterator does not provide a '"+i+"' method"),u=1);o=e}else if((t=(f=d.n<0)?l:n.call(r,d))!==a)break}catch(t){o=e,u=1,l=t}finally{c=1}}return{value:t,done:f}}}(n,i,o),!0),c}var a={};function u(){}function l(){}function c(){}t=Object.getPrototypeOf;var s=[][r]?t(t([][r]())):(m(t={},r,(function(){return this})),t),f=c.prototype=u.prototype=Object.create(s);function d(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,c):(e.__proto__=c,m(e,i,"GeneratorFunction")),e.prototype=Object.create(f),e}return l.prototype=c,m(f,"constructor",c),m(c,"constructor",l),l.displayName="GeneratorFunction",m(c,i,"GeneratorFunction"),m(f),m(f,i,"Generator"),m(f,r,(function(){return this})),m(f,"toString",(function(){return"[object Generator]"})),(h=function(){return{w:o,m:d}})()}function m(e,t,n,r){var i=Object.defineProperty;try{i({},"",{})}catch(e){i=0}m=function(e,t,n,r){function o(t,n){m(e,t,(function(e){return this._invoke(t,n,e)}))}t?i?i(e,t,{value:n,enumerable:!r,configurable:!r,writable:!r}):e[t]=n:(o("next",0),o("throw",1),o("return",2))},m(e,t,n,r)}function y(e,t,n,r,i,o,a){try{var u=e[o](a),l=u.value}catch(e){return void n(e)}u.done?t(l):Promise.resolve(l).then(r,i)}function g(e){return function(){var t=this,n=arguments;return new Promise((function(r,i){var o=e.apply(t,n);
2function a(e){y(o,r,i,a,u,"next",e)}function u(e){y(o,r,i,a,u,"throw",e)}a(void 0)}))}}function w(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function v(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?w(Object(n),!0).forEach((function(t){b(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):w(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function b(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=p(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=p(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==p(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var L={Accept:"application/json"};var M=r.A.create({baseURL:"",headers:L,withCredentials:!0});M.interceptors.request.use((function(e){try{var t,n=String(e.url||"");if(n.includes("/jsonapi/")||n.startsWith("jsonapi/"))return e;var r="undefined"!=typeof window?null===(t=window.drupalSettings)||void 0===t||null===(t=t.helpindeal)||void 0===t?void 0:t.i18n:null,i=(null==r?void 0:r.param)||"hl",o=null==r?void 0:r.lang;o&&(e.params=v(v({},e.params||{}),{},b({},i,o)))}catch(e){}return e}));var x=null,j=function(){var e=g(h().m((function e(){var t,n,i;return h().w((function(e){for(;;)switch(e.p=e.n){case 0:if(!x){e.n=1;break}return e.a(2,x);case 1:return e.p=1,e.n=2,r.A.get("".concat("","/session/token"),{withCredentials:!0});case 2:return t=e.v,n=t.data,x=n,e.a(2,n);case 3:return e.p=3,i=e.v,console.error("Failed to fetch CSRF token",i),e.a(2,null)}}),e,null,[[1,3]])})));return function(){return e.apply(this,arguments)}}(),E=function(){x=null};function S(e){"undefined"!=typeof window&&window.location.pathname!==e&&("function"==typeof window.__spaNavigate&&window.__spaNavigate(e)||window.location.assign(e))}function A(e){return k.apply(this,arguments)}function k(){return(k=g(h().m((function e(t){var n,r,i,o,a,u,l,c,f,d;return h().w((function(e){for(;;)switch(e.p=e.n){case 0:return n=t.queryKey,r=s(n,2),r[0],i=r[1].type,o=function(e){switch(e){case"wgh":return"t3=1&t4=1";case"ugh":return"t1=1&t2=1";case"hgh":return"t5=1";case"ht":return"t6=1";case"sb":return"t7=1&t8=1";default:return""}},a=o(i),(u=new URLSearchParams(a)).set("frontpage_feed","1"),l="/api/search?".concat(u.toString()),e.p=1,e.n=2,M.get(l);case 2:return c=e.v,f=c.data,e.a(2,{pager:f.pager,results:f.results});case 3:return e.p=3,d=e.v,console.error("Error fetching frontpage results:",d),e.a(2,{pager:{},results:[]})}}),e,null,[[1,3]])})))).apply(this,arguments)}M.interceptors.request.use(function(){var e=g(h().m((function e(t){var n,r,i,o,a,u;return h().w((function(e){for(;;)switch(e.n){case 0:if((null==t?void 0:t.data)instanceof FormData&&(t.headers&&(delete t.headers["Content-Type"],delete t.headers["content-type"]),null!==(r=t.headers)&&void 0!==r&&r.common&&(delete t.headers.common["Content-Type"],delete t.headers.common["content-type"]),null!==(i=t.headers)&&void 0!==i&&i.post&&(delete t.headers.post["Content-Type"],delete t.headers.post["content-type"]),null!==(o=t.headers)&&void 0!==o&&o.put&&(delete t.headers.put["Content-Type"],delete t.headers.put["content-type"]),null!==(a=t.headers)&&void 0!==a&&a.patch&&(delete t.headers.patch["Content-Type"],delete t.headers.patch["content-type"])),!["post","put","delete","patch"].includes(null===(n=t.method)||void 0===n?void 0:n.toLowerCase())){e.n=2;break}return e.n=1,j();case 1:(u=e.v)&&(t.headers["X-CSRF-Token"]=u);case 2:return e.a(2,t)}}),e)})));return function(t){return e.apply(this,arguments)}}()),M.interceptors.response.use((function(e){return e}),(function(e){try{var t,n,r=null==e||null===(t=e.response)||void 0===t?void 0:t.status,i=(null==e||null===(n=e.response)||void 0===n?void 0:n.data)||{};if(403===r&&i&&"profile_incomplete"===i.error)return S("string"==typeof i.redirect&&i.redirect.trim()?i.redirect:"/registrieren2"),Promise.reject(e);
2if(403===r&&i&&"insufficient_credits"===i.error)if(!1===("boolean"==typeof i.is_authenticated?i.is_authenticated:void 0)){var o=!1;try{o=document.cookie.split(";").map((function(e){return e.trim()})).some((function(e){return e.startsWith("credit_system_ever_logged_in=")}))}catch(e){}o||window.dispatchEvent(new CustomEvent("guest-credits-exhausted"))}else{S(("string"==typeof i.redirect_path&&i.redirect_path.trim()?i.redirect_path:void 0)||"/meine-credits")}}catch(e){}return Promise.reject(e)})),M.interceptors.response.use((function(e){return e}),(function(e){var t,n,r=null==e||null===(t=e.response)||void 0===t?void 0:t.status,i=String((null==e||null===(n=e.config)||void 0===n?void 0:n.url)||"");if(401===r&&(i.includes("/api/credits/")||i.includes("/credits/"))){var o,a=!1===((null==e||null===(o=e.response)||void 0===o?void 0:o.data)||{}).is_authenticated,u=!1;try{u=document.cookie.split(";").map((function(e){return e.trim()})).some((function(e){return e.startsWith("credit_system_ever_logged_in=")}))}catch(e){}a&&!u?window.dispatchEvent(new CustomEvent("guest-credits-exhausted")):a||S("/unauthorized")}return Promise.reject(e)}));var _=function(){var e=g(h().m((function e(){var t,n,r;return h().w((function(e){for(;;)switch(e.n){case 0:return e.n=1,M.get("/api/chat/badge",{params:{cb:Date.now()},headers:{"Cache-Control":"no-cache",Pragma:"no-cache"}});case 1:if(t=e.v,!(n=t.data)||"object"!==p(n)){e.n=2;break}return e.a(2,{count:Number(n.count)||0,next_poll_seconds:Number(n.next_poll_seconds)||45,cache_ttl:Number(n.cache_ttl)||30,last_checked:n.last_checked||null});case 2:return r=Number(n)||0,e.a(2,{count:r,next_poll_seconds:r>0?20:45,cache_ttl:r>0?10:30,last_checked:null})}}),e)})));return function(){return e.apply(this,arguments)}}(),D=function(){var e=g(h().m((function e(){var t,n,r;return h().w((function(e){for(;;)switch(e.n){case 0:return e.n=1,M.get("/api/meine-matches/badge",{params:{cb:Date.now()},headers:{"Cache-Control":"no-cache",Pragma:"no-cache"}});case 1:if(t=e.v,!(n=t.data)||"object"!==p(n)){e.n=2;break}return e.a(2,{count:Number(n.count)||0,next_poll_seconds:Number(n.next_poll_seconds)||120});case 2:return r=Number(n)||0,e.a(2,{count:r,next_poll_seconds:r>0?60:120})}}),e)})));return function(){return e.apply(this,arguments)}}(),C=function(){var e=g(h().m((function e(){var t;return h().w((function(e){for(;;)switch(e.n){case 0:return e.n=1,M.get("/api/frontpage/promo-block");case 1:return t=e.v,e.a(2,t.data)}}),e)})));return function(){return e.apply(this,arguments)}}(),N=function(){var e=g(h().m((function e(){var t;return h().w((function(e){for(;;)switch(e.n){case 0:return e.n=1,M.get("/api/announcements/latest");case 1:return t=e.v,e.a(2,Array.isArray(t.data)?t.data:[])}}),e)})));return function(){return e.apply(this,arguments)}}(),O=function(){var e=g(h().m((function e(){var t;return h().w((function(e){for(;;)switch(e.n){case 0:return e.n=1,M.get("/api/users/community");case 1:return t=e.v,e.a(2,t.data)}}),e)})));return function(){return e.apply(this,arguments)}}(),T=function(){var e=g(h().m((function e(){var t,r,i,o;return h().w((function(e){for(;;)switch(e.n){case 0:return e.n=1,Promise.resolve().then(n.bind(n,85621));case 1:return t=e.v,r=t.setCategoryApiLabels,e.n=2,M.get("/api/getdealcategories");case 2:return i=e.v,o=i.data,r(Array.isArray(o)?o:[]),e.a(2,o)}}),e)})));return function(){return e.apply(this,arguments)}}(),z=function(){var e=g(h().m((function e(){var t;return h().w((function(e){for(;;)switch(e.n){case 0:return e.n=1,M.get("/api/reviews",{headers:{"Content-Type":"application/json"}});case 1:return t=e.v,e.a(2,t.data)}}),e)})));return function(){return e.apply(this,arguments)}}(),I=function(){var e=g(h().m((function e(){var t;return h().w((function(e){for(;;)switch(e.n){case 0:return e.n=1,M.get("/api/blogpreview");case 1:return t=e.v,e.a(2,t.data)}}),e)})));return function(){return e.apply(this,arguments)}}(),P=function(){var e=g(h().m((function e(){var t;return h().w((function(e){for(;;)switch(e.n){case 0:return e.n=1,M.get("/api/blog-links");case 1:return t=e.v,e.a(2,t.data)}}),e)})));return function(){return e.apply(this,arguments)}}(),Y=function(){var e=g(h().m((function e(){var t;return h().w((function(e){for(;;)switch(e.n){case 0:return e.n=1,M.get("/api/faqs");case 1:return t=e.v,e.a(2,t.data)}}),e)})));return function(){return e.apply(this,arguments)}}(),U=function(){var e=g(h().m((function e(){var t;return h().w((function(e){for(;;)switch(e.n){case 0:return e.n=1,M.get("/api/faqs/taxonomy");case 1:return t=e.v,e.a(2,t.data)}}),e)})));return function(){return e.apply(this,arguments)}}(),B=function(){var e=g(h().m((function e(){var t;return h().w((function(e){for(;;)switch(e.n){case 0:return e.n=1,M.get("/api/partners");case 1:return t=e.v,e.a(2,t.data)}}),e)})));return function(){return e.apply(this,arguments)}}(),W=function(){var e=g(h().m((function e(){var t,n,r=arguments;return h().w((function(e){for(;;)switch(e.n){case 0:return t=r.length>0&&void 0!==r[0]?r[0]:"6",e.n=1,M.get("/api/credits/dashboard?months=".concat(t));case 1:return n=e.v,e.a(2,n.data)}}),e)})));return function(){return e.apply(this,arguments)}}(),F=function(){var e=g(h().m((function e(){var t;return h().w((function(e){for(;;)switch(e.n){case 0:return e.n=1,M.get("/api/credits/public-info");case 1:return t=e.v,e.a(2,t.data)}}),e)})));return function(){return e.apply(this,arguments)}}(),Q=function(){var e=g(h().m((function e(){var t;return h().w((function(e){for(;;)switch(e.n){case 0:return e.n=1,M.get("/api/credits/help");case 1:return t=e.v,e.a(2,t.data)}}),e)})));return function(){return e.apply(this,arguments)}}(),R=function(){var e=g(h().m((function e(){var t;return h().w((function(e){for(;;)switch(e.n){case 0:return e.n=1,M.get("/api/credits/actions-teaser");case 1:return t=e.v,e.a(2,t.data)}}),e)})));return function(){return e.apply(this,arguments)}}(),H=function(){var e=g(h().m((function e(){var t;return h().w((function(e){for(;;)switch(e.n){case 0:return e.n=1,M.get("/api/credits/packages");case 1:return t=e.v,e.a(2,t.data)}}),e)})));return function(){return e.apply(this,arguments)}}(),G=function(){var e=g(h().m((function e(t){var n,r,i,o,a,u=arguments;return h().w((function(e){for(;;)switch(e.n){case 0:return n=u.length>1&&void 0!==u[1]?u[1]:1,r=u.length>2&&void 0!==u[2]?u[2]:10,i=t[0].format("YYYY-MM-DD"),o=t[1].format("YYYY-MM-DD"),e.n=1,M.get("/api/credits/transactions?startDate=".concat(i,"&endDate=").concat(o,"&page=").concat(n,"&pageSize=").concat(r));case 1:return a=e.v,e.a(2,a.data)}}),e)})));return function(t){return e.apply(this,arguments)}}(),q=function(){var e=g(h().m((function e(){var t,n,r,i=arguments;return h().w((function(e){for(;;)switch(e.n){case 0:return t=i.length>0&&void 0!==i[0]?i[0]:1,n=i.length>1&&void 0!==i[1]?i[1]:10,e.n=1,M.get("/api/credits/orders?page=".concat(t,"&pageSize=").concat(n));case 1:return r=e.v,e.a(2,r.data)}}),e)})));return function(){return e.apply(this,arguments)}}(),Z=function(){var e=g(h().m((function e(){var t;return h().w((function(e){for(;;)switch(e.n){case 0:return e.n=1,M.get("/api/credits/subscription");case 1:return t=e.v,e.a(2,t.data)}}),e)})));return function(){return e.apply(this,arguments)}}(),J=function(){var e=g(h().m((function e(){var t;return h().w((function(e){for(;;)switch(e.n){case 0:return e.n=1,M.get("/api/credits/subscriptions");case 1:return t=e.v,e.a(2,t.data)}}),e)})));return function(){return e.apply(this,arguments)}}(),K=function(){var e=g(h().m((function e(){var t;return h().w((function(e){for(;;)switch(e.n){case 0:return e.n=1,M.post("/api/credits/subscription/cancel",{});case 1:return t=e.v,e.a(2,t.data)}}),e)})));return function(){return e.apply(this,arguments)}}(),V=function(){var e=g(h().m((function e(){var t;return h().w((function(e){for(;;)switch(e.n){case 0:return e.n=1,M.post("/api/credits/subscription/resume",{});case 1:return t=e.v,e.a(2,t.data)}}),e)})));return function(){return e.apply(this,arguments)}}(),X=function(){var e=g(h().m((function e(t){var n;return h().w((function(e){for(;;)switch(e.n){case 0:return e.n=1,M.post("/api/credits/subscription/change",{package_id:t});case 1:return n=e.v,e.a(2,n.data)}}),e)})));return function(t){return e.apply(this,arguments)}}(),$=function(){var e=g(h().m((function e(){var t;return h().w((function(e){for(;;)switch(e.n){case 0:return e.n=1,M.get("/api/meine-deals");case 1:return t=e.v,e.a(2,t.data)}}),e)})));return function(){return e.apply(this,arguments)}}(),ee=function(){var e=g(h().m((function e(){var t;return h().w((function(e){for(;;)switch(e.n){case 0:return e.n=1,M.get("/api/favoriten");case 1:return t=e.v,e.a(2,t.data)}}),e)})));return function(){return e.apply(this,arguments)}}(),te=function(){var e=g(h().m((function e(){var t,n,r,i,o,a,u,l,c,s,f=arguments;return h().w((function(e){for(;;)switch(e.n){case 0:return n=(t=f.length>0&&void 0!==f[0]?f[0]:{}).limit,r=void 0===n?20:n,i=t.refresh,o=void 0!==i&&i,a=t.sort,u=void 0===a?"score":a,l=t.nearMaxKm,c={limit:r,refresh:o?1:0,sort:u},null!=l&&(c.near_max_km=l),e.n=1,M.get("/api/meine-matches",{params:c});case 1:return s=e.v,e.a(2,s.data)}}),e)})));return function(){return e.apply(this,arguments)}}(),ne=function(){var e=g(h().m((function e(){var t;return h().w((function(e){for(;;)switch(e.n){case 0:return e.n=1,M.get("/api/meine-matches/settings");case 1:return t=e.v,e.a(2,t.data)}}),e)})));return function(){return e.apply(this,arguments)}}(),re=function(){var e=g(h().m((function e(t){var n;return h().w((function(e){for(;;)switch(e.n){case 0:return e.n=1,M.post("/api/meine-matches/settings",t,{headers:{"Content-Type":"application/json"}});case 1:return n=e.v,e.a(2,n.data)}}),e)})));return function(t){return e.apply(this,arguments)}}(),ie=function(){var e=g(h().m((function e(t){var n;return h().w((function(e){for(;;)switch(e.n){case 0:return e.n=1,M.post("/api/meine-matches/".concat(t,"/seen"),{});case 1:return n=e.v,e.a(2,n.data)}}),e)})));return function(t){return e.apply(this,arguments)}}(),oe=function(){var e=g(h().m((function e(){var t,n,r=arguments;return h().w((function(e){for(;;)switch(e.n){case 0:return t=r.length>0&&void 0!==r[0]?r[0]:[],e.n=1,M.post("/api/meine-matches/seen-feed",{ids:t});case 1:return n=e.v,e.a(2,n.data)}}),e)})));return function(){return e.apply(this,arguments)}}(),ae=function(){var e=g(h().m((function e(t){var n;return h().w((function(e){for(;;)switch(e.n){case 0:return e.n=1,M.post("/api/meine-matches/".concat(t,"/dismiss"),{});case 1:return n=e.v,e.a(2,n.data)}}),e)})));return function(t){return e.apply(this,arguments)}}(),ue=function(){var e=g(h().m((function e(t){var n,r,i,o,a;return h().w((function(e){for(;;)switch(e.n){case 0:return n=t.matchId,r=t.signal,i=t.context,o=void 0===i?{}:i,e.n=1,M.post("/api/meine-matches/".concat(n,"/feedback"),{signal:r,context:o});case 1:return a=e.v,e.a(2,a.data)}}),e)})));return function(t){return e.apply(this,arguments)}}(),le=function(){var e=g(h().m((function e(t){var n;return h().w((function(e){for(;;)switch(e.n){case 0:return e.n=1,M.post("/api/meine-matches/".concat(t,"/feedback/reset"),{});case 1:return n=e.v,e.a(2,n.data)}}),e)})));return function(t){return e.apply(this,arguments)}}(),ce=function(){var e=g(h().m((function e(t){var n;return h().w((function(e){for(;;)switch(e.n){case 0:return e.n=1,M.post("/api/deals/".concat(t,"/pause"),{});case 1:return n=e.v,e.a(2,n.data)}}),e)})));return function(t){return e.apply(this,arguments)}}(),se=function(){var e=g(h().m((function e(t){var n;return h().w((function(e){for(;;)switch(e.n){case 0:return e.n=1,M.post("/api/deals/".concat(t,"/activate"),{});case 1:return n=e.v,e.a(2,n.data)}}),e)})));return function(t){return e.apply(this,arguments)}}(),fe=function(){var e=g(h().m((function e(t){var n;return h().w((function(e){for(;;)switch(e.n){case 0:return e.n=1,M.post("/api/deals/".concat(t,"/delete"),{});case 1:return n=e.v,e.a(2,n.data)}}),e)})));return function(t){return e.apply(this,arguments)}}(),de=function(){var e=g(h().m((function e(t,n){var r;return h().w((function(e){for(;;)switch(e.n){case 0:return e.n=1,M.post("/api/deals/".concat(t,"/promote"),{action:n});case 1:return r=e.v,e.a(2,r.data)}}),e)})));return function(t,n){return e.apply(this,arguments)}}();function pe(e){return he.apply(this,arguments)}
2function he(){return(he=g(h().m((function e(t){var n,r,o,a,l,c,f,d,p,m;return h().w((function(e){for(;;)switch(e.p=e.n){case 0:return n=t.queryKey,r=s(n,3),r[0],o=r[1],a=r[2],l=(0,i.zG)(o.category,a),c=new URLSearchParams,void 0===o.sortdirection&&(o.sortdirection="DESC"),u.TW.forEach((function(e){var t=o[e];null!=t&&("string"==typeof t&&t.trim()?c.append(e,t.trim()):"string"!=typeof t&&c.append(e,t))})),void 0!==l&&l.split("&").forEach((function(e){var t=s(e.split("="),2),n=t[0],r=t[1];n&&r&&c.append(n,r)})),f="/api/search?".concat(c.toString()),e.p=1,e.n=2,M.get(f);case 2:return d=e.v,p=d.data,e.a(2,{pager:(null==p?void 0:p.pager)||{},results:Array.isArray(null==p?void 0:p.results)?p.results:[]});case 3:throw e.p=3,m=e.v,console.error("Error fetching search results:",m),m;case 4:return e.a(2)}}),e,null,[[1,3]])})))).apply(this,arguments)}function me(e){return ye.apply(this,arguments)}function ye(){return(ye=g(h().m((function e(t){var n,r,o,a,l,c,f,d,p,m;return h().w((function(e){for(;;)switch(e.p=e.n){case 0:return n=t.queryKey,r=s(n,3),r[0],o=r[1],a=r[2],l=new URLSearchParams((0,i.pp)()),c=new URLSearchParams,l.forEach((function(e,t){c.append(t,e)})),u.TW.forEach((function(e){var t=o[e];null!=t&&("string"==typeof t&&t.trim()?c.append(e,t.trim()):"string"!=typeof t&&c.append(e,t))})),void 0!==a&&a.split("&").forEach((function(e){var t=s(e.split("="),2),n=t[0],r=t[1];n&&r&&c.append(n,r)})),f="/api/search-count?".concat(c.toString()),e.p=1,e.n=2,M.get(f);case 2:return d=e.v,p=d.data,e.a(2,p);case 3:return e.p=3,m=e.v,console.error("Error fetching search counts:",m),e.a(2,{count:0,facets:{bundle:[]}})}}),e,null,[[1,3]])})))).apply(this,arguments)}var ge=function(e){var t="string"==typeof(null==e?void 0:e.field_location)?e.field_location:"",n=t?t.split(",").map((function(e){return Number(e.trim())})):[Number(null==e?void 0:e.lat),Number(null==e?void 0:e.lng)];if(2!==n.length)return null;var r=s(n,2),i=r[0],o=r[1];return function(e){return Number.isFinite(e)&&e>=-90&&e<=90}(i)&&function(e){return Number.isFinite(e)&&e>=-180&&e<=180}(o)?{lat:i,lng:o,key:t||"".concat(i,",").concat(o)}:null},we=function(e){var t={};return e.flatMap((function(e){var n=ge(e);return n?(t[n.key]=(t[n.key]||0)+1,[{item:v(v({},e),{},{lat:n.lat,lng:n.lng}),key:n.key}]):[]})).map((function(e){var n=e.item,r=e.key;return v(v({},n),{},{overlapping:t[r]>1,point_count_near:t[r]})}))};function ve(e){return be.apply(this,arguments)}function be(){return(be=g(h().m((function e(t){var n,r,o,a,l,c,f,d,p,m,y,g,w,v;return h().w((function(e){for(;;)switch(e.p=e.n){case 0:return n=t.queryKey,r=s(n,4),r[0],o=r[1],a=void 0===o?{}:o,l=r[2],c=void 0===l?{}:l,f=r[3],d=void 0!==f&&f,p=(0,i.zG)(a.category,c),m=new URLSearchParams,void 0===a.sortdirection&&(a.sortdirection="DESC"),u.TW.forEach((function(e){var t=a[e];null!=t&&("string"==typeof t&&t.trim()?m.append(e,t.trim()):"string"!=typeof t&&m.append(e,t))})),void 0!==p&&p.split("&").forEach((function(e){var t=s(e.split("="),2),n=t[0],r=t[1];n&&r&&m.append(n,r)})),d&&m.set("frontpage_feed","1"),y="/api/search/alllatlongs?".concat(m.toString()),e.p=1,e.n=2,M.get(y);case 2:if(g=e.v,w=g.data,Array.isArray(w)){e.n=3;break}throw new TypeError("Invalid coordinate response");case 3:return e.a(2,we(w));case 4:throw e.p=4,v=e.v,console.error("Error fetching all lat and longs:",v),v;case 5:return e.a(2)}}),e,null,[[1,4]])})))).apply(this,arguments)}var Le=function(){var e=g(h().m((function e(t,n){return h().w((function(e){for(;;)switch(e.n){case 0:M.get("/api/getallcategoryfieldtypes").then((function(e){t(e.data)})).catch((function(e){console.log(e.message),t(a)})).finally((function(){n(!1)}));case 1:return e.a(2)}}),e)})));return function(t,n){return e.apply(this,arguments)}}();function Me(e){return xe.apply(this,arguments)}function xe(){return(xe=g(h().m((function e(t){var n,r,i,o,a,l,c,f;return h().w((function(e){for(;;)switch(e.p=e.n){case 0:return n=t.queryKey,r=s(n,2),r[0],i=r[1],o=new URLSearchParams,void 0===i.sortdirection&&(i.sortdirection="DESC"),u.TW.forEach((function(e){var t=i[e];null!=t&&("memberoffer"===e||"membersearch"===e?Array.isArray(t)&&o.append(e,JSON.stringify(t)):"string"==typeof t&&t.trim()?o.append(e,t.trim()):"string"!=typeof t&&o.append(e,t))})),a="/api/searchuser?".concat(o.toString()),e.p=1,e.n=2,M.get(a);case 2:return l=e.v,c=l.data,history.pushState(null,"","?".concat(o.toString())),e.a(2,{pager:(null==c?void 0:c.pager)||{},results:Array.isArray(null==c?void 0:c.results)?c.results:[]});case 3:throw e.p=3,f=e.v,console.error("Error fetching search results:",f),f;case 4:return e.a(2)}}),e,null,[[1,3]])}
2)))).apply(this,arguments)}function je(e){return Ee.apply(this,arguments)}function Ee(){return(Ee=g(h().m((function e(t){var n,r,i,o,a,l,c,f;return h().w((function(e){for(;;)switch(e.p=e.n){case 0:return n=t.queryKey,r=s(n,2),r[0],i=r[1],o=new URLSearchParams,void 0===i.sortdirection&&(i.sortdirection="DESC"),u.TW.forEach((function(e){var t=i[e];null!=t&&("memberoffer"===e||"membersearch"===e?Array.isArray(t)&&o.append(e,JSON.stringify(t)):"string"==typeof t&&t.trim()?o.append(e,t.trim()):"string"!=typeof t&&o.append(e,t))})),a="/api/alluserlatlongs?".concat(o.toString()),e.p=1,e.n=2,M.get(a);case 2:if(l=e.v,c=l.data,history.pushState(null,"","?".concat(o.toString())),Array.isArray(c)){e.n=3;break}throw new TypeError("Invalid community coordinate response");case 3:return e.a(2,we(c));case 4:throw e.p=4,f=e.v,console.error("Error fetching search results:",f),f;case 5:return e.a(2)}}),e,null,[[1,4]])})))).apply(this,arguments)}function Se(e){return Ae.apply(this,arguments)}function Ae(){return(Ae=g(h().m((function e(t){var n,r;return h().w((function(e){for(;;)switch(e.n){case 0:return e.n=1,M.get("/api/community/map-card/".concat(t));case 1:if(n=e.v,(r=n.data)&&"object"===p(r)&&!Array.isArray(r)){e.n=2;break}throw new TypeError("Invalid community map card response");case 2:return e.a(2,r)}}),e)})))).apply(this,arguments)}function ke(e){return _e.apply(this,arguments)}function _e(){return _e=g(h().m((function e(t){var n,r,i,o,a,u,c,s=arguments;return h().w((function(e){for(;;)switch(e.n){case 0:if(n=s.length>1&&void 0!==s[1]?s[1]:{},0!==(r=l(new Set((t||[]).map((function(e){return String(e||"").trim()})).filter(Boolean)))).length){e.n=1;break}return e.a(2,{});case 1:return(i=new URLSearchParams).set("keys",r.join(",")),o=String(n.label||"").trim(),a=String(n.placeType||"").trim(),o&&i.set("label",o),a&&i.set("place_type",a),e.n=2,M.get("/api/location-outlines?".concat(i.toString()));case 2:if(u=e.v,(c=u.data)&&"object"===p(c)&&!Array.isArray(c)){e.n=3;break}throw new TypeError("Invalid location outline response");case 3:return e.a(2,c)}}),e)}))),_e.apply(this,arguments)}function De(e){return Ce.apply(this,arguments)}function Ce(){return(Ce=g(h().m((function e(t){var n,r;return h().w((function(e){for(;;)switch(e.n){case 0:return e.n=1,M.get("/api/search/map-card/".concat(t));case 1:if(n=e.v,(r=n.data)&&"object"===p(r)&&!Array.isArray(r)){e.n=2;break}throw new TypeError("Invalid deal map card response");case 2:return e.a(2,r)}}),e)})))).apply(this,arguments)}var Ne=function(){var e=g(h().m((function e(t){var n,r,i,o,a;return h().w((function(e){for(;;)switch(e.n){case 0:return n=t.queryKey,r=s(n,2),r[0],i=r[1],e.n=1,M.get("/api/allowed-values/".concat(i));case 1:if(200===(o=e.v).status){e.n=2;break}throw new Error("Failed to fetch field storage configuration");case 2:return a=o.data,e.a(2,a||{})}}),e)})));return function(t){return e.apply(this,arguments)}}(),Oe=function(){var e=g(h().m((function e(){var t;return h().w((function(e){for(;;)switch(e.n){case 0:return e.n=1,M.get("/api/currentuser",{params:{_t:Date.now()},headers:{"Cache-Control":"no-cache",Pragma:"no-cache"}});case 1:return t=e.v,e.a(2,t.data||{})}}),e)})));return function(){return e.apply(this,arguments)}}(),Te=function(){var e=g(h().m((function e(t){var n,r;return h().w((function(e){for(;;)switch(e.n){case 0:return e.n=1,M.post("/api/tour-preferences",{action:t});case 1:return n=e.v,r=n.data,e.a(2,r||{})}}),e)})));return function(t){return e.apply(this,arguments)}}(),ze=function(){var e=g(h().m((function e(){var t,n,r,i,o,a,u,l,c=arguments;return h().w((function(e){for(;;)switch(e.p=e.n){case 0:return t=(c.length>0&&void 0!==c[0]?c[0]:{}).consume,n=void 0!==t&&t,e.p=1,r=new URLSearchParams,n||r.append("consume","0"),i=r.toString(),o="/api/credits/notifications".concat(i?"?".concat(i):""),e.n=2,M.get(o);case 2:return a=e.v,u=a.data,e.a(2,u||{notifications:[],next_poll_seconds:60});case 3:return e.p=3,l=e.v,console.error("Error fetching credit notifications:",l),e.a(2,{notifications:[],next_poll_seconds:60})}}),e,null,[[1,3]])})));return function(){return e.apply(this,arguments)}}(),Ie=function(){var e=g(h().m((function e(t){var n,r,i,o;return h().w((function(e){for(;;)switch(e.p=e.n){case 0:return e.p=0,n=Array.isArray(t)&&t.length>0?{ids:t}:{},e.n=1,M.post("/api/credits/notifications/ack",n);case 1:return r=e.v,i=r.data,e.a(2,i);case 2:return e.p=2,o=e.v,console.error("Error acknowledging credit notifications:",o),e.a(2,{removed:0})}}),e,null,[[0,2]])})));return function(t){return e.apply(this,arguments)}}(),Pe=function(){var e=g(h().m((function e(){var t,n,r,i,o,a,u,l,c,s=arguments;return h().w((function(e){for(;;)switch(e.n){case 0:return n=(t=s.length>0&&void 0!==s[0]?s[0]:{}).consent,r=void 0!==n&&n,i=t.forceNew,o=void 0!==i&&i,a=t.refreshSecret,u=void 0!==a&&a,e.n=1,M.post("/api/identity/session",{consent:Boolean(r),force_new:Boolean(o),refresh_secret:Boolean(u)},{headers:{"Content-Type":"application/json"}});case 1:return l=e.v,c=l.data,e.a(2,c)}}),e)})));return function(){return e.apply(this,arguments)}}(),Ye=function(){var e=g(h().m((function e(){var t,n;return h().w((function(e){for(;;)switch(e.n){case 0:return e.n=1,M.get("/api/identity/status");case 1:return t=e.v,n=t.data,e.a(2,n)}}),e)})));return function(){return e.apply(this,arguments)}}(),Ue=function(){var e=g(h().m((function e(){var t,n;return h().w((function(e){for(;;)switch(e.n){case 0:return e.n=1,M.post("/api/identity/cancel");case 1:return t=e.v,n=t.data,e.a(2,n)}}),e)})));return function(){return e.apply(this,arguments)}}(),Be=function(){var e=g(h().m((function e(t){var n,r;return h().w((function(e){for(;;)switch(e.n){case 0:return e.n=1,M.post("/api/register/step1",t,{headers:{"Content-Type":"application/json"}});case 1:return n=e.v,r=n.data,e.a(2,r)}}),e)})));return function(t){return e.apply(this,arguments)}}(),We=function(){var e=g(h().m((function e(t){var n,r;return h().w((function(e){for(;;)switch(e.n){case 0:return e.n=1,M.post("/api/register/step2",t,{headers:{"Content-Type":"application/json"}});case 1:return n=e.v,r=n.data,e.a(2,r)}}),e)})));return function(t){return e.apply(this,arguments)}}(),Fe=function(){var e=g(h().m((function e(t){var n,r;return h().w((function(e){for(;;)switch(e.n){case 0:return e.n=1,M.post("/api/register/step3",t);case 1:return n=e.v,r=n.data,e.a(2,r)}}),e)})));return function(t){return e.apply(this,arguments)}}(),Qe=function(){var e=g(h().m((function e(t){var n,r;return h().w((function(e){for(;;)switch(e.n){case 0:return e.n=1,M.post("/api/register/confirm-email-code",t,{headers:{"Content-Type":"application/json"}});case 1:return n=e.v,r=n.data,e.a(2,r)}}),e)})));return function(t){return e.apply(this,arguments)}}(),Re=function(){var e=g(h().m((function e(t){var n,r,i,o;return h().w((function(e){for(;;)switch(e.n){case 0:return n=t.queryKey,r=s(n,2),r[0],i=r[1].dealType,e.n=1,M.get("/api/register/deal-form/".concat(i));case 1:return o=e.v,e.a(2,o.data)}}),e)})));return function(t){return e.apply(this,arguments)}}(),He=function(){var e=g(h().m((function e(t){var n,r;return h().w((function(e){for(;;)switch(e.n){case 0:return e.n=1,M.post("/api/register/complete-with-deal",t);case 1:return n=e.v,r=n.data,e.a(2,r)}}),e)})));return function(t){return e.apply(this,arguments)}}(),Ge=function(){var e=g(h().m((function e(){var t,n,r=arguments;return h().w((function(e){for(;;)switch(e.n){case 0:return t=(r.length>0&&void 0!==r[0]?r[0]:{}).cacheBuster,e.n=1,M.get("/api/menus/aggregated",{params:t?{cb:t}:void 0,headers:{"Cache-Control":"no-cache"}});case 1:return n=e.v,e.a(2,n.data)}}),e)})));return function(){return e.apply(this,arguments)}}(),qe=function(){var e=g(h().m((function e(){var t;return h().w((function(e){for(;;)switch(e.n){case 0:return e.n=1,M.get("/api/downloads");case 1:return t=e.v,e.a(2,t.data)}}),e)})));return function(){return e.apply(this,arguments)}}(),Ze=function(){var e=g(h().m((function e(t){var n,r,i,o,a,u,l;return h().w((function(e){for(;;)switch(e.n){case 0:return n=t.queryKey,r=s(n,2),r[0],i=r[1],o=i.type,a=i.location,u=i.slug,e.n=1,M.get("/api/deal/".concat(o,"/").concat(a,"/").concat(u));case 1:return l=e.v,e.a(2,l.data)}}),e)})));return function(t){return e.apply(this,arguments)}}(),Je=function(){var e=g(h().m((function e(t){var n,r,i,o;return h().w((function(e){for(;;)switch(e.n){case 0:return n=t.queryKey,r=s(n,2),r[0],i=r[1].username,e.n=1,M.get("/api/user/".concat(i));case 1:return o=e.v,e.a(2,o.data)}}),e)})));return function(t){return e.apply(this,arguments)}}(),Ke=function(){var e=g(h().m((function e(){var t,n;return h().w((function(e){for(;;)switch(e.n){case 0:return e.n=1,M.get("/api/account/profile");case 1:return t=e.v,n=t.data,e.a(2,n)}}),e)})));return function(){return e.apply(this,arguments)}}(),Ve=function(){var e=g(h().m((function e(t){var n,r;return h().w((function(e){for(;;)switch(e.n){case 0:return e.n=1,M.post("/api/account/deal-profile",t,{headers:{"Content-Type":"application/json"}});case 1:return n=e.v,r=n.data,e.a(2,r)}}),e)})));return function(t){return e.apply(this,arguments)}}(),Xe=function(){var e=g(h().m((function e(t){var n,r;return h().w((function(e){for(;;)switch(e.n){case 0:return e.n=1,M.post("/api/account/profile-image",t);case 1:return n=e.v,r=n.data,e.a(2,r)}}),e)})));return function(t){return e.apply(this,arguments)}}(),$e=function(){var e=g(h().m((function e(t){var n,r;return h().w((function(e){for(;;)switch(e.n){case 0:return e.n=1,M.post("/api/account/background-image",t);case 1:return n=e.v,r=n.data,e.a(2,r)}}),e)})));return function(t){return e.apply(this,arguments)}}(),et=function(){var e=g(h().m((function e(){var t,n;return h().w((function(e){for(;;)switch(e.n){case 0:return e.n=1,M.post("/api/account/profile-image/delete");case 1:return t=e.v,n=t.data,e.a(2,n)}}),e)})));return function(){return e.apply(this,arguments)}}(),tt=function(){var e=g(h().m((function e(){var t,n;return h().w((function(e){for(;;)switch(e.n){case 0:return e.n=1,M.get("/api/account/settings");case 1:return t=e.v,n=t.data,e.a(2,n)}}),e)})));return function(){return e.apply(this,arguments)}}(),nt=function(){var e=g(h().m((function e(t){var n,r;return h().w((function(e){for(;;)switch(e.n){case 0:return e.n=1,M.post("/api/account/settings/profile",t,{headers:{"Content-Type":"application/json"}});case 1:return n=e.v,r=n.data,e.a(2,r)}}),e)})));return function(t){return e.apply(this,arguments)}}(),rt=function(){var e=g(h().m((function e(t){var n,r;return h().w((function(e){for(;;)switch(e.n){case 0:return e.n=1,M.post("/api/account/settings/notifications",t,{headers:{"Content-Type":"application/json"}});case 1:return n=e.v,r=n.data,e.a(2,r)}}),e)})));return function(t){return e.apply(this,arguments)}}(),it=function(){var e=g(h().m((function e(t){var n,r;return h().w((function(e){for(;;)switch(e.n){case 0:return e.n=1,M.post("/api/lifecycle/track-area",{area:t},{headers:{"Content-Type":"application/json"}});case 1:return n=e.v,r=n.data,e.a(2,r)}}),e)})));return function(t){return e.apply(this,arguments)}}(),ot=function(){var e=g(h().m((function e(t){var n,r;return h().w((function(e){for(;;)switch(e.n){case 0:return e.n=1,M.post("/api/account/settings/password",t,{headers:{"Content-Type":"application/json"}});case 1:return n=e.v,r=n.data,e.a(2,r)}}),e)})));return function(t){return e.apply(this,arguments)}}(),at=function(){var e=g(h().m((function e(t){var n,r;return h().w((function(e){for(;;)switch(e.n){case 0:return e.n=1,M.post("/api/account/settings/language",t,{headers:{"Content-Type":"application/json"}});case 1:return n=e.v,r=n.data,e.a(2,r)}}),e)})));return function(t){return e.apply(this,arguments)}}(),ut=function(){var e=g(h().m((function e(t){var n,r;return h().w((function(e){for(;;)switch(e.n){case 0:return e.n=1,M.post("/api/account/settings/timezone",t,{headers:{"Content-Type":"application/json"}});case 1:return n=e.v,r=n.data,e.a(2,r)}}),e)})));return function(t){return e.apply(this,arguments)}}(),lt=function(){var e=g(h().m((function e(t){var n,r,i,o;return h().w((function(e){for(;;)switch(e.n){case 0:return n=t.queryKey,r=s(n,2),r[0],i=r[1].dealType,e.n=1,M.get("/api/deal-form/".concat(i));case 1:return o=e.v,e.a(2,o.data)}}),e)})));return function(t){return e.apply(this,arguments)}}(),ct=function(){var e=g(h().m((function e(t){var n,r,i,o;return h().w((function(e){for(;;)switch(e.n){case 0:return n=t.queryKey,r=s(n,2),r[0],i=r[1].nid,e.n=1,M.get("/api/deal-form/".concat(i,"/edit"));case 1:return o=e.v,e.a(2,o.data)}}),e)})));return function(t){return e.apply(this,arguments)}}(),st=function(){var e=g(h().m((function e(t){var n;return h().w((function(e){for(;;)switch(e.n){case 0:return e.n=1,M.post("/api/deals",t);case 1:return n=e.v,e.a(2,n.data)}}),e)})));return function(t){return e.apply(this,arguments)}}(),ft=function(e){return e&&"object"===p(e)&&null!=e.deal_name?v(v({},e),{},{deal_name:(0,o.tX)(e.deal_name)}):e},dt=function(){var e=g(h().m((function e(t){var n,r,i,o,a,u,l,s,f,d,p,m,y,w,b,M,x,E,S,A,k,_,D,C,N,O,T,z,I,P,Y,U,B,W,F,Q,R,H,G;return h().w((function(e){for(;;)switch(e.p=e.n){case 0:if(n=t.dealType,r=t.summary,i=t.signal,o=t.onDelta,a=t.onStatus,u=t.typingPaceMs,l=void 0===u?3:u,s=String(n||"").trim(),f=String(r||"").trim(),s&&f){e.n=1;break}throw new Error("Für die KI-Generierung fehlen noch relevante Angaben.");case 1:return e.n=2,j();case 2:d=e.v,p={Accept:"text/event-stream","Content-Type":"application/json"},d&&(p["X-CSRF-Token"]=d),L.Authorization&&(p.Authorization=L.Authorization),m="".concat("","/api/ai/generate/stream");try{w="undefined"!=typeof window?null===(y=window.drupalSettings)||void 0===y||null===(y=y.helpindeal)||void 0===y?void 0:y.i18n:null,b=(null==w?void 0:w.param)||"hl",(M=null==w?void 0:w.lang)&&(x=m.includes("?")?"&":"?",m="".concat(m).concat(x).concat(encodeURIComponent(b),"=").concat(encodeURIComponent(M)))}catch(e){}return e.n=3,fetch(m,{method:"POST",credentials:"include",headers:p,body:JSON.stringify({task:"deal_text_suggestion_v1",dealType:s,input:{summary:f}}),signal:i});case 3:if((E=e.v).ok&&E.body){e.n=8;break}return S="KI-Vorschlag konnte nicht geladen werden.",e.p=4,e.n=5,E.text();case 5:if(A=e.v)try{null!=(k=JSON.parse(A))&&k.message&&(S=k.message)}catch(e){null!=(_=A.match(/"message"\s*:\s*"([^"]+)"/))&&_[1]&&(S=_[1])}e.n=7;break;case 6:e.p=6,e.v;case 7:throw new Error(S);case 8:null==a||a({phase:"connected"}),D=E.body.getReader(),C=new TextDecoder,N="",O=null,T=0,z=function(e){return new Promise((function(t,n){if(null!=i&&i.aborted){var r=new Error("Aborted");return r.name="AbortError",void n(r)}setTimeout((function(){if(null!=i&&i.aborted){var e=new Error("Aborted");return e.name="AbortError",void n(e)}t()}),e)}))},I=function(){var e=g(h().m((function e(t){var n,r,i,u,s,f,d,p,m,y,g,w,b;return h().w((function(e){for(;;)switch(e.p=e.n){case 0:if(t){e.n=1;break}return e.a(2);
2case 1:if(n=t.split("\n"),r="message",i=[],n.forEach((function(e){e.startsWith("event:")?r=e.slice(6).trim():e.startsWith("data:")&&i.push(e.slice(5).trim())})),i.length){e.n=2;break}return e.a(2);case 2:u={},e.p=3,u=JSON.parse(i.join("\n")),e.n=5;break;case 4:return e.p=4,e.v,e.a(2);case 5:if("status"!==r){e.n=6;break}return null==a||a(u),e.a(2);case 6:if("delta"!==r){e.n=16;break}if(f=String((null===(s=u)||void 0===s?void 0:s.delta)||"")){e.n=7;break}return e.a(2);case 7:d=c(f),e.p=8,d.s();case 9:if((p=d.n()).done){e.n=12;break}if(m=p.value,!(l>0)){e.n=10;break}return e.n=10,z(l);case 10:T+=1,null==o||o(v(v({},u),{},{delta:m,length:T}));case 11:e.n=9;break;case 12:e.n=14;break;case 13:e.p=13,b=e.v,d.e(b);case 14:return e.p=14,d.f(),e.f(14);case 15:return e.a(2);case 16:if("error"!==r){e.n=17;break}throw new Error((null===(y=u)||void 0===y?void 0:y.message)||"KI-Vorschlag konnte nicht geladen werden.");case 17:if("result"!==r){e.n=18;break}return O=(null===(g=u)||void 0===g?void 0:g.data)||null,null==a||a({phase:"finalizing"}),e.a(2);case 18:"done"===r&&(null==a||a({phase:"done",ok:Boolean(null===(w=u)||void 0===w?void 0:w.ok)}));case 19:return e.a(2)}}),e,null,[[8,13,14,15],[3,4]])})));return function(t){return e.apply(this,arguments)}}();case 9:return e.n=10,D.read();case 10:if(P=e.v,Y=P.value,!P.done){e.n=11;break}return e.a(3,15);case 11:N=(N+=C.decode(Y,{stream:!0})).replace(/\r\n/g,"\n"),U=N.indexOf("\n\n");case 12:if(-1===U){e.n=14;break}return B=N.slice(0,U).trim(),N=N.slice(U+2),e.n=13,I(B);case 13:U=N.indexOf("\n\n"),e.n=12;break;case 14:e.n=9;break;case 15:if(!(W=N.trim())){e.n=22;break}F=W.split("\n\n").map((function(e){return e.trim()})).filter(Boolean),Q=c(F),e.p=16,Q.s();case 17:if((R=Q.n()).done){e.n=19;break}return H=R.value,e.n=18,I(H);case 18:e.n=17;break;case 19:e.n=21;break;case 20:e.p=20,G=e.v,Q.e(G);case 21:return e.p=21,Q.f(),e.f(21);case 22:if(O){e.n=23;break}throw new Error("KI-Vorschlag konnte nicht geladen werden.");case 23:return e.a(2,{ok:!0,data:ft(O)})}}),e,null,[[16,20,21,22],[4,6]])})));return function(t){return e.apply(this,arguments)}}(),pt=function(){var e=g(h().m((function e(t){var n,r,i,o,a,u,l,c,s,f,d;return h().w((function(e){for(;;)switch(e.n){case 0:if(n=t.dealType,r=t.kind,i=void 0===r?"main":r,o=t.n,a=void 0===o?1:o,u=t.size,l=void 0===u?"1024x1024":u,c=t.dealKey,s=t.signal,f=String(n||"").trim()){e.n=1;break}throw new Error("Deal-Typ fehlt für Vorlagenbilder.");case 1:return e.n=2,M.post("/api/deal-template-images",{dealType:f,input:{kind:i,n:a,size:l,dealKey:c}},{headers:{"Content-Type":"application/json"},signal:s});case 2:return d=e.v,e.a(2,d.data)}}),e)})));return function(t){return e.apply(this,arguments)}}(),ht=function(){var e=g(h().m((function e(t,n){var r;return h().w((function(e){for(;;)switch(e.n){case 0:return e.n=1,M.post("/api/deals/".concat(t),n);case 1:return r=e.v,e.a(2,r.data)}}),e)})));return function(t,n){return e.apply(this,arguments)}}(),mt=function(){var e=g(h().m((function e(t,n){var r,i;return h().w((function(e){for(;;)switch(e.n){case 0:return(r=new FormData).append("position",n),e.n=1,M.post("/api/deals/".concat(t,"/gallery/remove"),r);case 1:return i=e.v,e.a(2,i.data)}}),e)})));return function(t,n){return e.apply(this,arguments)}}(),yt=function(){var e=g(h().m((function e(t,n){var r;return h().w((function(e){for(;;)switch(e.n){case 0:return e.n=1,M.post("/api/deal/favorite",{nid:t,type:n});case 1:return r=e.v,e.a(2,r.data)}}),e)})));return function(t,n){return e.apply(this,arguments)}}(),gt=function(){var e=g(h().m((function e(t,n){var r;return h().w((function(e){for(;;)switch(e.n){case 0:return e.n=1,M.post("/api/deal/like",{nid:t,type:n});case 1:return r=e.v,e.a(2,r.data)}}),e)})));return function(t,n){return e.apply(this,arguments)}}(),wt=function(){var e=g(h().m((function e(t,n){var r;return h().w((function(e){for(;;)switch(e.n){case 0:return e.n=1,M.post("/api/deal/report",{nid:t,reason:n});case 1:return r=e.v,e.a(2,r.data)}}),e)})));return function(t,n){return e.apply(this,arguments)}}(),vt=function(){var e=g(h().m((function e(t,n,r){var i;return h().w((function(e){for(;;)switch(e.n){case 0:return e.n=1,M.post("/api/deal/review",{nid:t,rating:n,text:r});case 1:return i=e.v,e.a(2,i.data)}}),e)})));return function(t,n,r){return e.apply(this,arguments)}}(),bt=function(){var e=g(h().m((function e(t,n,r){var i;return h().w((function(e){for(;;)switch(e.n){case 0:return e.n=1,M.post("/api/user/review",{userId:t,rating:n,text:r});case 1:return i=e.v,e.a(2,i.data)}}),e)})));return function(t,n,r){return e.apply(this,arguments)}}(),Lt=function(){var e=g(h().m((function e(t,n){var r;return h().w((function(e){for(;;)switch(e.n){case 0:return e.n=1,M.post("/api/feedback",{rating:t,text:n},{headers:{"Content-Type":"application/json"}});case 1:return r=e.v,e.a(2,r.data)}}),e)})));return function(t,n){return e.apply(this,arguments)}}(),Mt=function(){var e=g(h().m((function e(){var t,n,r,i,o=arguments;return h().w((function(e){for(;;)switch(e.n){case 0:return t=(o.length>0&&void 0!==o[0]?o[0]:{}).trackView,n=void 0!==t&&t,e.n=1,M.get("/api/chat/threads",{params:n?{track_view:1}:void 0});case 1:return r=e.v,i=r.data,e.a(2,i)}}),e)})));return function(){return e.apply(this,arguments)}}(),xt=function(){var e=g(h().m((function e(t){var n,r,i,o,a=arguments;return h().w((function(e){for(;;)switch(e.n){case 0:return r={},(n=a.length>1&&void 0!==a[1]?a[1]:0)>0&&(r.after_cid=n),e.n=1,M.get("/api/chat/threads/".concat(t,"/messages"),{params:r});case 1:return i=e.v,o=i.data,e.a(2,o)}}),e)})));return function(t){return e.apply(this,arguments)}}(),jt=function(){var e=g(h().m((function e(t,n){var r,i;return h().w((function(e){for(;;)switch(e.n){case 0:return e.n=1,M.post("/api/chat/threads/".concat(t,"/messages"),{body:n});case 1:return r=e.v,i=r.data,e.a(2,i)}}),e)})));return function(t,n){return e.apply(this,arguments)}}(),Et=function(){var e=g(h().m((function e(t){var n,r,i,o,a=arguments;return h().w((function(e){for(;;
2)switch(e.n){case 0:return r={recipient_uid:t},(n=a.length>1&&void 0!==a[1]?a[1]:null)&&(r.deal_nid=n),e.n=1,M.post("/api/chat/threads",r);case 1:return i=e.v,o=i.data,e.a(2,o)}}),e)})));return function(t){return e.apply(this,arguments)}}(),St=function(){var e=g(h().m((function e(t){var n,r;return h().w((function(e){for(;;)switch(e.n){case 0:return e.n=1,M.post("/api/chat/threads/".concat(t,"/read"));case 1:return n=e.v,r=n.data,e.a(2,r)}}),e)})));return function(t){return e.apply(this,arguments)}}(),At=function(){var e=g(h().m((function e(t){var n,r;return h().w((function(e){for(;;)switch(e.n){case 0:return e.n=1,M.post("/api/chat/threads/".concat(t,"/deactivate"));case 1:return n=e.v,r=n.data,e.a(2,r)}}),e)})));return function(t){return e.apply(this,arguments)}}(),kt=function(){var e=g(h().m((function e(t,n){var r,i;return h().w((function(e){for(;;)switch(e.n){case 0:return e.n=1,M.post("/api/chat/threads/".concat(t,"/translation"),{enabled:!!n});case 1:return r=e.v,i=r.data,e.a(2,i)}}),e)})));return function(t,n){return e.apply(this,arguments)}}(),_t=function(){var e=g(h().m((function e(){var t,n,r,i=arguments;return h().w((function(e){for(;;)switch(e.n){case 0:return t=(i.length>0&&void 0!==i[0]?i[0]:{}).signal,e.n=1,M.get("/api/referral/offer",{signal:t,timeout:8e3});case 1:return n=e.v,r=n.data,e.a(2,r)}}),e)})));return function(){return e.apply(this,arguments)}}(),Dt=function(){var e=g(h().m((function e(t){var n,r;return h().w((function(e){for(;;)switch(e.n){case 0:return e.n=1,M.post("/api/referral/share-link",t||{});case 1:return n=e.v,r=n.data,e.a(2,r)}}),e)})));return function(t){return e.apply(this,arguments)}}(),Ct=function(){var e=g(h().m((function e(t){var n,r,i,o;return h().w((function(e){for(;;)switch(e.n){case 0:return n=t.code,r=t.ctx,e.n=1,M.post("/api/referral/capture",{code:n,ctx:r});case 1:return i=e.v,o=i.data,e.a(2,o)}}),e)})));return function(t){return e.apply(this,arguments)}}(),Nt=function(){var e=g(h().m((function e(t){var n,r,i,o=arguments;return h().w((function(e){for(;;)switch(e.n){case 0:return n=o.length>1&&void 0!==o[1]?o[1]:[],e.n=1,M.post("/api/chat/threads/".concat(t,"/translate"),{cids:n});case 1:return r=e.v,i=r.data,e.a(2,i)}}),e)})));return function(t){return e.apply(this,arguments)}}()},88896(e,t,n){n.d(t,{RM:()=>c,V4:()=>u,Wn:()=>s,kP:()=>l,tu:()=>a});var r=!1,i=!1,o=new Set;function a(e){r=Boolean(e)}function u(){return r}function l(){i=!0,o.forEach((function(e){try{e()}catch(e){}}))}function c(e){if(o.add(e),i)try{e()}catch(e){}return function(){o.delete(e)}}function s(){return!!i&&(i=!1,!0)}},89595(e,t,n){n.d(t,{A:()=>i});var r=n(35033);function i(e,t,n){var i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null;i?(0,r.o_)(e,{navigate:t,location:i,isAuthenticated:n}):(0,r.o_)(e,{navigate:t,location:null,isAuthenticated:n})}},89995(e,t,n){n.d(t,{ER:()=>j,Qh:()=>v,SY:()=>M,mi:()=>h,ni:()=>S,sm:()=>x});var r=n(46277);function i(){var e,t,n="function"==typeof Symbol?Symbol:{},r=n.iterator||"@@iterator",a=n.toStringTag||"@@toStringTag";function u(n,r,i,a){var u=r&&r.prototype instanceof c?r:c,s=Object.create(u.prototype);return o(s,"_invoke",function(n,r,i){var o,a,u,c=0,s=i||[],f=!1,d={p:0,n:0,v:e,a:p,f:p.bind(e,4),d:function(t,n){return o=t,a=0,u=e,d.n=n,l}};function p(n,r){for(a=n,u=r,t=0;!f&&c&&!i&&t<s.length;t++){var i,o=s[t],p=d.p,h=o[2];n>3?(i=h===r)&&(u=o[(a=o[4])?5:(a=3,3)],o[4]=o[5]=e):o[0]<=p&&((i=n<2&&p<o[1])?(a=0,d.v=r,d.n=o[1]):p<h&&(i=n<3||o[0]>r||r>h)&&(o[4]=n,o[5]=r,d.n=h,a=0))}if(i||n>1)return l;throw f=!0,r}return function(i,s,h){if(c>1)throw TypeError("Generator is already running");for(f&&1===s&&p(s,h),a=s,u=h;(t=a<2?e:u)||!f;){o||(a?a<3?(a>1&&(d.n=-1),p(a,u)):d.n=u:d.v=u);try{if(c=2,o){if(a||(i="next"),t=o[i]){if(!(t=t.call(o,u)))throw TypeError("iterator result is not an object");if(!t.done)return t;u=t.value,a<2&&(a=0)}else 1===a&&(t=o.return)&&t.call(o),a<2&&(u=TypeError("The iterator does not provide a '"+i+"' method"),a=1);o=e}else if((t=(f=d.n<0)?u:n.call(r,d))!==l)break}catch(t){o=e,a=1,u=t}finally{c=1}}return{value:t,done:f}}}(n,i,a),!0),s}var l={};function c(){}function s(){}function f(){}t=Object.getPrototypeOf;var d=[][r]?t(t([][r]())):(o(t={},r,(function(){return this})),t),p=f.prototype=c.prototype=Object.create(d);function h(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,f):(e.__proto__=f,o(e,a,"GeneratorFunction")),e.prototype=Object.create(p),e}return s.prototype=f,o(p,"constructor",f),o(f,"constructor",s),s.displayName="GeneratorFunction",o(f,a,"GeneratorFunction"),o(p),o(p,a,"Generator"),o(p,r,(function(){return this})),o(p,"toString",(function(){return"[object Generator]"})),(i=function(){return{w:u,m:h}})()}function o(e,t,n,r){var i=Object.defineProperty;try{i({},"",{})}catch(e){i=0}o=function(e,t,n,r){function a(t,n){o(e,t,(function(e){return this._invoke(t,n,e)}))}t?i?i(e,t,{value:n,enumerable:!r,configurable:!r,writable:!r}):e[t]=n:(a("next",0),a("throw",1),a("return",2))},o(e,t,n,r)}function a(e,t,n,r,i,o,a){try{var u=e[o](a),l=u.value}catch(e){return void n(e)}u.done?t(l):Promise.resolve(l).then(r,i)}function u(e){return function(){var t=this,n=arguments;return new Promise((function(r,i){var o=e.apply(t,n);function u(e){a(o,r,i,u,l,"next",e)}function l(e){a(o,r,i,u,l,"throw",e)}u(void 0)}))}}var l='[data-hid-map-stage="mobile"]',c=null,s=null,f=null,d=!1;function p(e){return new Promise((function(t){return setTimeout(t,e)}))}function h(e){return(c=e||null)&&s&&y(s),function(){c===e&&(c=null)}}function m(){return"undefined"!=typeof document&&(!!document.querySelector(l)&&((0,r.B5)()&&(0,r.P8)("collapsed",{smooth:!1}),!0))}function y(e){var t,n,r,i;if("peek"!==e&&"deal-card"!==e&&"reset"!==e)return!1;var o,a,u,l,s=m();if(!c)return s;try{var f,d;null===(f=(d=c).clearSelectedFeature)||void 0===f||f.call(d)}catch(e){}return"deal-card"===e?(null===(o=(a=c).goToSnap)||void 0===o||o.call(a,"half",!1),null===(u=(l=c).scrollCardIntoList)||void 0===u||u.call(l,'[data-tour="deal-card"]'),m(),!0):(null===(t=(n=c).goToSnap)||void 0===t||t.call(n,"peek",!0),null===(r=(i=c).resetListScroll)||void 0===r||r.call(i),m(),!0)}function g(){return w.apply(this,arguments)}function w(){return w=u(i().m((function e(){var t,n,r=arguments;return i().w((function(e){for(;;)switch(e.n){case 0:t=r.length>0&&void 0!==r[0]?r[0]:6e3,n=Date.now();case 1:if(!(Date.now()-n<t)){e.n=4;break}if(!Boolean(document.querySelector(l))||!c){e.n=2;break}return e.a(2,!0);case 2:return e.n=3,p(50);case 3:e.n=1;break;case 4:return e.a(2,Boolean(document.querySelector(l)&&c))}}),e)}))),w.apply(this,arguments)}function v(e){return b.apply(this,arguments)}function b(){return(b=u(i().m((function e(t){return i().w((function(e){for(;;)switch(e.n){case 0:if("peek"===t||"deal-card"===t){e.n=1;break}return e.a(2,!1);case 1:return s=t,e.n=2,g();case 2:return y(t),e.n=3,p("deal-card"===t?280:100);case 3:if(y(t),"deal-card"!==t){e.n=5;break}return e.n=4,p(200);case 4:y(t);case 5:return e.a(2,!0)}}),e)})))).apply(this,arguments)}function L(){s&&m()}function M(e){"peek"!==e&&"deal-card"!==e||(s=e,x(),"undefined"!=typeof window&&(f=window.setInterval((function(){var e,t,n;s&&(m(),"deal-card"===s&&null!==(e=c)&&void 0!==e&&e.getSnap&&"peek"===c.getSnap()&&(null===(t=(n=c).goToSnap)||void 0===t||t.call(n,"half",!0))
2)}),200),d||(window.addEventListener("scroll",L,{passive:!0}),d=!0)))}function x(){null!=f&&(window.clearInterval(f),f=null),d&&"undefined"!=typeof window&&(window.removeEventListener("scroll",L),d=!1)}function j(){return E.apply(this,arguments)}function E(){return(E=u(i().m((function e(){var t;return i().w((function(e){for(;;)switch(e.n){case 0:if(x(),t=Boolean(s),s=null,t||c||document.querySelector(l)){e.n=1;break}return e.a(2);case 1:return y("reset"),e.n=2,p(40);case 2:y("reset");case 3:return e.a(2)}}),e)})))).apply(this,arguments)}function S(e){return Boolean(null==e?void 0:e.mobileSearchLayout)}},99515(e,t,n){n.d(t,{F_:()=>m,OR:()=>p,Y4:()=>h,c_:()=>f});var r=n(43977),i=n(85621);function o(e){return function(e){if(Array.isArray(e))return u(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||a(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function a(e,t){if(e){if("string"==typeof e)return u(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?u(e,t):void 0}}function u(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}var l=["/search","/urlaub-gegen-hilfe","/wohnen-gegen-hilfe","/hilfe-und-tausch","/haustausch","/socialbusiness","/community"],c=["/","/search","/urlaub-gegen-hilfe","/wohnen-gegen-hilfe","/hilfe-und-tausch","/haustausch","/socialbusiness","/community","/faqs","/pricing-info","/meine-credits","/meine-bestellungen","/meine-deals","/meine-matches","/favoriten","/checkout","/unauthorized","/downloads","/deal-anlegen","/mein-profil","/account","/konto-geloescht","/chat","/registrieren","/registrieren2","/registrieren3","/email-bestatigung","/registrierungsstatus","/verifizierung"].concat(o((0,r.fy)())),s=[].concat(["/urlaub-gegen-hilfe/","/holiday-for-help/","/vacances-pour-aide/","/vacaciones-para-ayuda/","/vacanza-per-aiuto/","/vakantie-voor-hulp/","/wakacje-na-pomoc/","/feriado-para-ajuda/","/wohnen-gegen-hilfe/","/housing-for-help/","/logement-pour-aide/","/vivienda-para-ayuda/","/alloggio-per-aiuto/","/huisvesting-voor-hulp/","/mieszkanie-za-pomoc/","/moradia-para-ajuda/","/hilfe-und-tausch/","/help-and-exchange/","/aide-et-echange/","/ayuda-e-intercambio/","/aiuto-e-scambio/","/hulp-en-uitwisseling/","/pomoc-i-wymiana/","/ajuda-e-troca/","/haustausch/","/house-exchange/","/echange-de-maison/","/intercambio-de-casa/","/scambio-casa/","/huisruil/","/wymiana-domu/","/troca-de-casa/","/socialbusiness/","/social-business/","/affaires-sociales/","/negocios-sociales/","/impresa-sociale/","/sociaal-ondernemen/","/biznes-spoleczny/","/ofertas-sociais/"],o((0,r.qI)())),f={"/urlaub-gegen-hilfe":"ugh","/holiday-for-help":"ugh","/vacances-pour-aide":"ugh","/vacaciones-para-ayuda":"ugh","/vacanza-per-aiuto":"ugh","/vakantie-voor-hulp":"ugh","/wakacje-na-pomoc":"ugh","/feriado-para-ajuda":"ugh","/wohnen-gegen-hilfe":"wgh","/housing-for-help":"wgh","/logement-pour-aide":"wgh","/vivienda-para-ayuda":"wgh","/alloggio-per-aiuto":"wgh","/huisvesting-voor-hulp":"wgh","/mieszkanie-za-pomoc":"wgh","/moradia-para-ajuda":"wgh","/hilfe-und-tausch":"hgh","/help-and-exchange":"hgh","/aide-et-echange":"hgh","/ayuda-e-intercambio":"hgh","/aiuto-e-scambio":"hgh","/hulp-en-uitwisseling":"hgh","/pomoc-i-wymiana":"hgh","/ajuda-e-troca":"hgh","/haustausch":"ht","/house-exchange":"ht","/echange-de-maison":"ht","/intercambio-de-casa":"ht","/scambio-casa":"ht","/huisruil":"ht","/wymiana-domu":"ht","/troca-de-casa":"ht","/socialbusiness":"sb","/social-business":"sb","/affaires-sociales":"sb","/negocios-sociales":"sb","/impresa-sociale":"sb","/sociaal-ondernemen":"sb","/biznes-spoleczny":"sb","/ofertas-sociais":"sb"},d=["/chat","/mein-profil","/meine-credits","/meine-deals","/meine-matches","/meine-bestellungen","/favoriten","/deal-anlegen","/deal-bearbeiten","/account","/checkout","/ver
2ifizierung","/bewertungen"];function p(e){var t=(e||"").replace(/\/+$/,"")||"/",n=(0,i.codeFromPath)(t);if(n){var o,a=null===(o=(0,i.getCategoryDefinition)(n))||void 0===o?void 0:o.path;if(a&&l.includes(a))return!0}var u=(0,r.Op)(t);return l.includes(u)}function h(e){if(!e)return!1;try{var t=new URL(e,window.location.origin);if(t.origin!==window.location.origin)return!1;var n=(0,r.Op)(t.pathname.replace(/\/+$/,"")||"/");return d.some((function(e){return n===e||n.startsWith("".concat(e,"/"))}))}catch(e){return!1}}function m(e){if(!e)return!1;try{var t=new URL(e,window.location.origin).pathname.replace(/\/+$/,"")||"/",n=(0,r.Op)(t),o=(0,r.C2)(t)||(0,r.C2)(n);if("editorial"===o||"system"===o)return!1;if(c.includes(t)||c.includes(n))return!0;var u=(0,i.codeFromPath)(t);if(u&&"community"!==u)return!0;var l,f=function(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=a(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,i=function(){};return{s:i,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,u=!0,l=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return u=e.done,e},e:function(e){l=!0,o=e},f:function(){try{u||null==n.return||n.return()}finally{if(l)throw o}}}}(s);try{for(f.s();!(l=f.n()).done;){var d=l.value;if(t.startsWith(d)||n.startsWith(d))return!0}}catch(e){f.e(e)}finally{f.f()}}catch(e){}return!1}}},e=>{e.O(0,[3180,4714,6801],(()=>{return t=21155,e(e.s=t);var t}));e.O()}]);
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.