@goodhood-web/nebenan-base 3.3.1-development.2 → 3.3.1-development.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (3) hide show
  1. package/index.js +1 -1
  2. package/index.mjs +1 -1
  3. package/package.json +1 -1
package/index.js CHANGED
@@ -867,7 +867,7 @@ vulnerable to XSS attacks. Please remove it from \`allowedTags\`.
867
867
  Or, to disable this warning, add the \`allowVulnerableTags\` option
868
868
  and ensure you are accounting for this risk.
869
869
 
870
- `)});const u=e.nonTextTags||["script","style","textarea","option"];let l,d;e.allowedAttributes&&(l={},d={},$o(e.allowedAttributes,function(H,Q){l[Q]=[];const z=[];H.forEach(function(W){typeof W=="string"&&W.indexOf("*")>=0?z.push(Ov(W).replace(/\\\*/g,".*")):l[Q].push(W)}),z.length&&(d[Q]=new RegExp("^("+z.join("|")+")$"))}));const c={},m={},g={};$o(e.allowedClasses,function(H,Q){if(l&&(dr(l,Q)||(l[Q]=[]),l[Q].push("class")),c[Q]=H,Array.isArray(H)){const z=[];c[Q]=[],g[Q]=[],H.forEach(function(W){typeof W=="string"&&W.indexOf("*")>=0?z.push(Ov(W).replace(/\\\*/g,".*")):W instanceof RegExp?g[Q].push(W):c[Q].push(W)}),z.length&&(m[Q]=new RegExp("^("+z.join("|")+")$"))}});const p={};let w;$o(e.transformTags,function(H,Q){let z;typeof H=="function"?z=H:typeof H=="string"&&(z=ku.simpleTransform(H)),Q==="*"?w=z:p[Q]=z});let S,x,y,T,P,I,R=!1;J();const N=new _X.Parser({onopentag:function(H,Q){if(e.enforceHtmlBoundary&&H==="html"&&J(),P){I++;return}const z=new a(H,Q);x.push(z);let W=!1;const fe=!!z.text;let K;if(dr(p,H)&&(K=p[H](H,Q),z.attribs=Q=K.attribs,K.text!==void 0&&(z.innerText=K.text),H!==K.tagName&&(z.name=H=K.tagName,T[S]=K.tagName)),w&&(K=w(H,Q),z.attribs=Q=K.attribs,H!==K.tagName&&(z.name=H=K.tagName,T[S]=K.tagName)),(!o(H)||e.disallowedTagsMode==="recursiveEscape"&&!MX(y)||e.nestingLimit!=null&&S>=e.nestingLimit)&&(W=!0,y[S]=!0,(e.disallowedTagsMode==="discard"||e.disallowedTagsMode==="completelyDiscard")&&u.indexOf(H)!==-1&&(P=!0,I=1)),S++,W){if(e.disallowedTagsMode==="discard"||e.disallowedTagsMode==="completelyDiscard"){if(z.innerText&&!fe){const _=ie(z.innerText);e.textFilter?i+=e.textFilter(_,H):i+=_,R=!0}return}r=i,i=""}i+="<"+H,H==="script"&&(e.allowedScriptHostnames||e.allowedScriptDomains)&&(z.innerText=""),(!l||dr(l,H)||l["*"])&&$o(Q,function(_,ge){if(!PX.test(ge)){delete z.attribs[ge];return}if(_===""&&!e.allowedEmptyAttributes.includes(ge)&&(e.nonBooleanAttributes.includes(ge)||e.nonBooleanAttributes.includes("*"))){delete z.attribs[ge];return}let Le=!1;if(!l||dr(l,H)&&l[H].indexOf(ge)!==-1||l["*"]&&l["*"].indexOf(ge)!==-1||dr(d,H)&&d[H].test(ge)||d["*"]&&d["*"].test(ge))Le=!0;else if(l&&l[H]){for(const ve of l[H])if(yX(ve)&&ve.name&&ve.name===ge){Le=!0;let me="";if(ve.multiple===!0){const ke=_.split(" ");for(const we of ke)ve.values.indexOf(we)!==-1&&(me===""?me=we:me+=" "+we)}else ve.values.indexOf(_)>=0&&(me=_);_=me}}if(Le){if(e.allowedSchemesAppliedToAttributes.indexOf(ge)!==-1&&ne(H,_)){delete z.attribs[ge];return}if(H==="script"&&ge==="src"){let ve=!0;try{const me=Z(_);if(e.allowedScriptHostnames||e.allowedScriptDomains){const ke=(e.allowedScriptHostnames||[]).find(function(pe){return pe===me.url.hostname}),we=(e.allowedScriptDomains||[]).find(function(pe){return me.url.hostname===pe||me.url.hostname.endsWith(`.${pe}`)});ve=ke||we}}catch{ve=!1}if(!ve){delete z.attribs[ge];return}}if(H==="iframe"&&ge==="src"){let ve=!0;try{const me=Z(_);if(me.isRelativeUrl)ve=dr(e,"allowIframeRelativeUrls")?e.allowIframeRelativeUrls:!e.allowedIframeHostnames&&!e.allowedIframeDomains;else if(e.allowedIframeHostnames||e.allowedIframeDomains){const ke=(e.allowedIframeHostnames||[]).find(function(pe){return pe===me.url.hostname}),we=(e.allowedIframeDomains||[]).find(function(pe){return me.url.hostname===pe||me.url.hostname.endsWith(`.${pe}`)});ve=ke||we}}catch{ve=!1}if(!ve){delete z.attribs[ge];return}}if(ge==="srcset")try{let ve=xX(_);if(ve.forEach(function(me){ne("srcset",me.url)&&(me.evil=!0)}),ve=Nv(ve,function(me){return!me.evil}),ve.length)_=TX(Nv(ve,function(me){return!me.evil})),z.attribs[ge]=_;else{delete z.attribs[ge];return}}catch{delete z.attribs[ge];return}if(ge==="class"){const ve=c[H],me=c["*"],ke=m[H],we=g[H],pe=g["*"],Me=m["*"],Re=[ke,Me].concat(we,pe).filter(function(on){return on});if(ve&&me?_=q(_,Dv(ve,me),Re):_=q(_,ve||me,Re),!_.length){delete z.attribs[ge];return}}if(ge==="style"){if(e.parseStyleAttributes)try{const ve=SX(H+" {"+_+"}",{map:!1}),me=M(ve,e.allowedStyles);if(_=L(me),_.length===0){delete z.attribs[ge];return}}catch{typeof window<"u"&&console.warn('Failed to parse "'+H+" {"+_+`}", If you're running this in a browser, we recommend to disable style parsing: options.parseStyleAttributes: false, since this only works in a node environment due to a postcss dependency, More info: https://github.com/apostrophecms/sanitize-html/issues/547`),delete z.attribs[ge];return}else if(e.allowedStyles)throw new Error("allowedStyles option cannot be used together with parseStyleAttributes: false.")}i+=" "+ge,_&&_.length?i+='="'+ie(_,!0)+'"':e.allowedEmptyAttributes.includes(ge)&&(i+='=""')}else delete z.attribs[ge]}),e.selfClosing.indexOf(H)!==-1?i+=" />":(i+=">",z.innerText&&!fe&&!e.textFilter&&(i+=ie(z.innerText),R=!0)),W&&(i=r+ie(i),r=""),z.openingTagLength=i.length-z.tagPosition},ontext:function(H){if(P)return;const Q=x[x.length-1];let z;if(Q&&(z=Q.tag,H=Q.innerText!==void 0?Q.innerText:H),e.disallowedTagsMode==="completelyDiscard"&&!o(z))H="";else if((e.disallowedTagsMode==="discard"||e.disallowedTagsMode==="completelyDiscard")&&(z==="script"||z==="style"))i+=H;else if(!R){const W=ie(H,!1);e.textFilter?i+=e.textFilter(W,z):i+=W}if(x.length){const W=x[x.length-1];W.text+=H}},onclosetag:function(H,Q){if(P)if(I--,!I)P=!1;else return;const z=x.pop();if(!z)return;if(z.tag!==H){x.push(z);return}P=e.enforceHtmlBoundary?H==="html":!1,S--;const W=y[S];if(W){if(delete y[S],e.disallowedTagsMode==="discard"||e.disallowedTagsMode==="completelyDiscard"){z.updateParentNodeText();return}r=i,i=""}if(T[S]&&(H=T[S],delete T[S]),e.exclusiveFilter){const fe=e.exclusiveFilter(z);if(fe==="excludeTag"){W&&(i=r,r=""),i=i.substring(0,z.tagPosition)+i.substring(z.tagPosition+z.openingTagLength);return}else if(fe){i=i.substring(0,z.tagPosition);return}}if(z.updateParentNodeMediaChildren(),z.updateParentNodeText(),e.selfClosing.indexOf(H)!==-1||Q&&!o(H)&&["escape","recursiveEscape"].indexOf(e.disallowedTagsMode)>=0){W&&(i=r,r="");return}i+="</"+H+">",W&&(i=r+ie(i),r=""),R=!1}},e.parser);return N.write(n),N.end(),i;function J(){i="",S=0,x=[],y={},T={},P=!1,I=0}function ie(H,Q){return typeof H!="string"&&(H=H+""),e.parser.decodeEntities&&(H=H.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;"),Q&&(H=H.replace(/"/g,"&quot;"))),H=H.replace(/&(?![a-zA-Z0-9#]{1,20};)/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;"),Q&&(H=H.replace(/"/g,"&quot;")),H}function ne(H,Q){for(Q=Q.replace(/[\x00-\x20]+/g,"");;){const fe=Q.indexOf("<!--");if(fe===-1)break;const K=Q.indexOf("-->",fe+4);if(K===-1)break;Q=Q.substring(0,fe)+Q.substring(K+3)}const z=Q.match(/^([a-zA-Z][a-zA-Z0-9.\-+]*):/);if(!z)return Q.match(/^[/\\]{2}/)?!e.allowProtocolRelative:!1;const W=z[1].toLowerCase();return dr(e.allowedSchemesByTag,H)?e.allowedSchemesByTag[H].indexOf(W)===-1:!e.allowedSchemes||e.allowedSchemes.indexOf(W)===-1}function Z(H){if(H=H.replace(/^(\w+:)?\s*[\\/]\s*[\\/]/,"$1//"),H.startsWith("relative:"))throw new Error("relative: exploit attempt");let Q="relative://relative-site";for(let fe=0;fe<100;fe++)Q+=`/${fe}`;const z=new URL(H,Q);return{isRelativeUrl:z&&z.hostname==="relative-site"&&z.protocol==="relative:",url:z}}function M(H,Q){if(!Q)return H;const z=H.nodes[0];let W;return Q[z.selector]&&Q["*"]?W=Dv(Q[z.selector],Q["*"]):W=Q[z.selector]||Q["*"],W&&(H.nodes[0].nodes=z.nodes.reduce($(W),[])),H}function L(H){return H.nodes[0].nodes.reduce(function(Q,z){return Q.push(`${z.prop}:${z.value}${z.important?" !important":""}`),Q},[]).join(";")}function $(H){return function(Q,z){return dr(H,z.prop)&&H[z.prop].some(function(fe){return fe.test(z.value)})&&Q.push(z),Q}}function q(H,Q,z){return Q?(H=H.split(/\s+/),H.filter(function(W){return Q.indexOf(W)!==-1||z.some(function(fe){return fe.test(W)})}).join(" ")):H}}const AX={decodeEntities:!0};ku.defaults={allowedTags:["address","article","aside","footer","header","h1","h2","h3","h4","h5","h6","hgroup","main","nav","section","blockquote","dd","div","dl","dt","figcaption","figure","hr","li","menu","ol","p","pre","ul","a","abbr","b","bdi","bdo","br","cite","code","data","dfn","em","i","kbd","mark","q","rb","rp","rt","rtc","ruby","s","samp","small","span","strong","sub","sup","time","u","var","wbr","caption","col","colgroup","table","tbody","td","tfoot","th","thead","tr"],nonBooleanAttributes:["abbr","accept","accept-charset","accesskey","action","allow","alt","as","autocapitalize","autocomplete","blocking","charset","cite","class","color","cols","colspan","content","contenteditable","coords","crossorigin","data","datetime","decoding","dir","dirname","download","draggable","enctype","enterkeyhint","fetchpriority","for","form","formaction","formenctype","formmethod","formtarget","headers","height","hidden","high","href","hreflang","http-equiv","id","imagesizes","imagesrcset","inputmode","integrity","is","itemid","itemprop","itemref","itemtype","kind","label","lang","list","loading","low","max","maxlength","media","method","min","minlength","name","nonce","optimum","pattern","ping","placeholder","popover","popovertarget","popovertargetaction","poster","preload","referrerpolicy","rel","rows","rowspan","sandbox","scope","shape","size","sizes","slot","span","spellcheck","src","srcdoc","srclang","srcset","start","step","style","tabindex","target","title","translate","type","usemap","value","width","wrap","onauxclick","onafterprint","onbeforematch","onbeforeprint","onbeforeunload","onbeforetoggle","onblur","oncancel","oncanplay","oncanplaythrough","onchange","onclick","onclose","oncontextlost","oncontextmenu","oncontextrestored","oncopy","oncuechange","oncut","ondblclick","ondrag","ondragend","ondragenter","ondragleave","ondragover","ondragstart","ondrop","ondurationchange","onemptied","onended","onerror","onfocus","onformdata","onhashchange","oninput","oninvalid","onkeydown","onkeypress","onkeyup","onlanguagechange","onload","onloadeddata","onloadedmetadata","onloadstart","onmessage","onmessageerror","onmousedown","onmouseenter","onmouseleave","onmousemove","onmouseout","onmouseover","onmouseup","onoffline","ononline","onpagehide","onpageshow","onpaste","onpause","onplay","onplaying","onpopstate","onprogress","onratechange","onreset","onresize","onrejectionhandled","onscroll","onscrollend","onsecuritypolicyviolation","onseeked","onseeking","onselect","onslotchange","onstalled","onstorage","onsubmit","onsuspend","ontimeupdate","ontoggle","onunhandledrejection","onunload","onvolumechange","onwaiting","onwheel"],disallowedTagsMode:"discard",allowedAttributes:{a:["href","name","target"],img:["src","srcset","alt","title","width","height","loading"]},allowedEmptyAttributes:["alt"],selfClosing:["img","br","hr","area","base","basefont","input","link","meta"],allowedSchemes:["http","https","ftp","mailto","tel"],allowedSchemesByTag:{},allowedSchemesAppliedToAttributes:["href","src","cite"],allowProtocolRelative:!0,enforceHtmlBoundary:!1,parseStyleAttributes:!0};ku.simpleTransform=function(n,e,t){return t=t===void 0?!0:t,e=e||{},function(i,r){let a;if(t)for(a in e)r[a]=e[a];else r=e;return{tagName:n,attribs:r}}};const wk=kr(FX),LX="_markdown_1me4y_141",jv={markdown:LX,"markdown--external-links":"_markdown--external-links_1me4y_153"},RX={allowedAttributes:{a:["href","target"]},allowedTags:["a"]};function zX({className:n,elementTag:e="span",inline:t=!1,isExternalLinksIcon:i,text:r}){const a=wk(r,RX),o=e;return k.jsx(o,{className:Be(jv.markdown,{[jv["markdown--external-links"]]:i},n),dangerouslySetInnerHTML:{__html:t?vn.parseInline(a,{breaks:!0}):vn.parse(a,{breaks:!0})}})}const $X="_react-datepicker__day-names_1swfz_120",BX="_react-datepicker__week_1swfz_124",IX="_react-datepicker__day--outside-month_1swfz_131",OX="_react-datepicker_1swfz_120",DX="_typography-landing--claim_1swfz_141",NX="_typography-landing--claim-uppercase_1swfz_179",jX="_typography-landing--h1_1swfz_217",HX="_typography-landing--h1-uppercase_1swfz_255",VX="_typography-landing--h2_1swfz_293",GX="_typography-landing--h3_1swfz_331",WX="_typography-landing--h4_1swfz_369",qX="_typography-landing--h5_1swfz_394",UX="_typography-landing--h6_1swfz_419",ZX="_typography-landing--overline_1swfz_444",KX="_typography-landing--body-large_1swfz_481",YX="_typography-landing--body-large-semibold_1swfz_505",JX="_typography-landing--body_1swfz_481",QX="_typography-landing--body-semibold_1swfz_540",XX="_typography-landing--body-italic_1swfz_551",eee="_typography-landing--quote-large_1swfz_563",nee="_typography-landing--detail-small_1swfz_588",tee="_typography-landing--detail-small-bold_1swfz_599",iee="_typography-landing_1swfz_141",ree="_typography-product_1swfz_628",aee="_typography-product--h1_1swfz_640",see="_typography-product--h2_1swfz_652",oee="_typography-product--h3_1swfz_664",uee="_typography-product--h4_1swfz_676",lee="_typography-product--h5_1swfz_688",fee="_typography-product--h6_1swfz_700",dee="_typography-product--h7_1swfz_712",cee="_typography-product--h8_1swfz_724",hee="_typography-product--body-large_1swfz_736",gee="_typography-product--body-regular_1swfz_760",mee="_typography-product--body-semibold_1swfz_784",pee="_typography-product--body-italic_1swfz_808",vee="_typography-product--body-text-link_1swfz_833",bee="_typography-product--detail-medium_1swfz_845",wee="_typography-product--detail-bold_1swfz_869",kee="_typography-product--detail-upper-case_1swfz_893",_ee="_typography-product--detail-regular_1swfz_917",yee="_typography-product--detail-text-link_1swfz_941",Hv={"react-datepicker__day-names":"_react-datepicker__day-names_1swfz_120",reactDatepickerDayNames:$X,"react-datepicker__week":"_react-datepicker__week_1swfz_124",reactDatepickerWeek:BX,"react-datepicker__day--outside-month":"_react-datepicker__day--outside-month_1swfz_131",reactDatepickerDayOutsideMonth:IX,"react-datepicker":"_react-datepicker_1swfz_120",reactDatepicker:OX,"typography-landing--claim":"_typography-landing--claim_1swfz_141",typographyLandingClaim:DX,"typography-landing--claim-uppercase":"_typography-landing--claim-uppercase_1swfz_179",typographyLandingClaimUppercase:NX,"typography-landing--h1":"_typography-landing--h1_1swfz_217",typographyLandingH1:jX,"typography-landing--h1-uppercase":"_typography-landing--h1-uppercase_1swfz_255",typographyLandingH1Uppercase:HX,"typography-landing--h2":"_typography-landing--h2_1swfz_293",typographyLandingH2:VX,"typography-landing--h3":"_typography-landing--h3_1swfz_331",typographyLandingH3:GX,"typography-landing--h4":"_typography-landing--h4_1swfz_369",typographyLandingH4:WX,"typography-landing--h5":"_typography-landing--h5_1swfz_394",typographyLandingH5:qX,"typography-landing--h6":"_typography-landing--h6_1swfz_419",typographyLandingH6:UX,"typography-landing--overline":"_typography-landing--overline_1swfz_444",typographyLandingOverline:ZX,"typography-landing--body-large":"_typography-landing--body-large_1swfz_481",typographyLandingBodyLarge:KX,"typography-landing--body-large-semibold":"_typography-landing--body-large-semibold_1swfz_505",typographyLandingBodyLargeSemibold:YX,"typography-landing--body":"_typography-landing--body_1swfz_481",typographyLandingBody:JX,"typography-landing--body-semibold":"_typography-landing--body-semibold_1swfz_540",typographyLandingBodySemibold:QX,"typography-landing--body-italic":"_typography-landing--body-italic_1swfz_551",typographyLandingBodyItalic:XX,"typography-landing--quote-large":"_typography-landing--quote-large_1swfz_563",typographyLandingQuoteLarge:eee,"typography-landing--detail-small":"_typography-landing--detail-small_1swfz_588",typographyLandingDetailSmall:nee,"typography-landing--detail-small-bold":"_typography-landing--detail-small-bold_1swfz_599",typographyLandingDetailSmallBold:tee,"typography-landing":"_typography-landing_1swfz_141",typographyLanding:iee,"typography-product":"_typography-product_1swfz_628",typographyProduct:ree,"typography-product--h1":"_typography-product--h1_1swfz_640",typographyProductH1:aee,"typography-product--h2":"_typography-product--h2_1swfz_652",typographyProductH2:see,"typography-product--h3":"_typography-product--h3_1swfz_664",typographyProductH3:oee,"typography-product--h4":"_typography-product--h4_1swfz_676",typographyProductH4:uee,"typography-product--h5":"_typography-product--h5_1swfz_688",typographyProductH5:lee,"typography-product--h6":"_typography-product--h6_1swfz_700",typographyProductH6:fee,"typography-product--h7":"_typography-product--h7_1swfz_712",typographyProductH7:dee,"typography-product--h8":"_typography-product--h8_1swfz_724",typographyProductH8:cee,"typography-product--body-large":"_typography-product--body-large_1swfz_736",typographyProductBodyLarge:hee,"typography-product--body-regular":"_typography-product--body-regular_1swfz_760",typographyProductBodyRegular:gee,"typography-product--body-semibold":"_typography-product--body-semibold_1swfz_784",typographyProductBodySemibold:mee,"typography-product--body-italic":"_typography-product--body-italic_1swfz_808",typographyProductBodyItalic:pee,"typography-product--body-text-link":"_typography-product--body-text-link_1swfz_833",typographyProductBodyTextLink:vee,"typography-product--detail-medium":"_typography-product--detail-medium_1swfz_845",typographyProductDetailMedium:bee,"typography-product--detail-bold":"_typography-product--detail-bold_1swfz_869",typographyProductDetailBold:wee,"typography-product--detail-upper-case":"_typography-product--detail-upper-case_1swfz_893",typographyProductDetailUpperCase:kee,"typography-product--detail-regular":"_typography-product--detail-regular_1swfz_917",typographyProductDetailRegular:_ee,"typography-product--detail-text-link":"_typography-product--detail-text-link_1swfz_941",typographyProductDetailTextLink:yee};function xee(n){switch(n){case"h1":case"h1-uppercase":return"h1";case"h2":case"claim":case"claim-uppercase":return"h2";case"h3":case"h4":case"h5":return n;case"h6":case"overline":return"h6";default:return"span"}}const Ul=n=>{const{as:e,children:t,className:i,fontSet:r="product",markdown:a=r==="landing",markdownInline:o=!0,type:u}=n,l=e||xee(u),d=Be(Hv[`typography-${r}`],Hv[`typography-${r}--${u}`],i);return k.jsx(k.Fragment,{children:typeof t=="string"&&a?k.jsx(zX,{className:d,text:t,inline:o,elementTag:l,isExternalLinksIcon:r==="landing"}):k.jsx(l,{className:d,children:t})})},See="_root_1biuz_141",Cee="_root__content_1biuz_151",Eee="_root__bookmark_1biuz_157",Mee="_root__header_1biuz_163",Tee="_root__header__reserved_1biuz_170",Fee="_root__header__reserved__box_1biuz_183",Pee="_root__header__image_1biuz_192",Aee="_root__info_1biuz_197",Lee="_root__info__top_1biuz_204",Ree="_root__info__price_1biuz_207",zee="_root__info__title_1biuz_213",$ee="_root__info__timeStamp_1biuz_222",Bee="_root__premiumFeature_1biuz_226",gt={root:See,root__content:Cee,root__bookmark:Eee,root__header:Mee,root__header__reserved:Tee,"root__header__reserved--visible":"_root__header__reserved--visible_1biuz_180",root__header__reserved__box:Fee,root__header__image:Pee,root__info:Aee,root__info__top:Lee,root__info__price:Ree,"root__info__price--reserved":"_root__info__price--reserved_1biuz_210",root__info__title:zee,root__info__timeStamp:$ee,root__premiumFeature:Bee};function g2({bookmarked:n,id:e,image:t,onClick:i,premiumFeature:r=!1,price:a,reserved:o,reservedText:u,timeStamp:l,title:d}){const c=li(),m=()=>{c(`/feed/${e}`),i&&i()};return k.jsxs("div",{className:gt.root,children:[k.jsx(Yb,{className:gt.root__bookmark,isBookmarked:n,id:e}),k.jsxs(O.Button,{className:gt.root__content,onClick:m,children:[k.jsxs("div",{className:gt.root__header,children:[k.jsx("div",{className:Be(gt.root__header__reserved,{[gt["root__header__reserved--visible"]]:o}),children:k.jsx("div",{className:gt.root__header__reserved__box,children:k.jsx(Ul,{type:"detail-upper-case",children:u})})}),t?k.jsx(FK,{alt:"product image",src:t,className:gt.root__header__image}):k.jsx(TK,{size:"large",style:"rounded",icon:k.jsx(Jb,{name:"camera_crossed"})})]}),k.jsxs("div",{className:gt.root__info,children:[k.jsxs("div",{className:gt.root__info__top,children:[k.jsx(Ul,{type:"body-semibold",as:"p",className:Be(gt.root__info__price,{[gt["root__info__price--reserved"]]:o}),children:a}),k.jsx(Ul,{type:"body-semibold",as:"p",className:gt.root__info__title,children:d})]}),k.jsx(Ul,{type:r?"detail-bold":"detail-medium",as:"p",className:Be(gt.root__info__timeStamp,{[gt.root__premiumFeature]:r}),children:r?"Greif zu!":Wf(l)})]})]})]})}const Iee=({children:n,navigate:e})=>k.jsx(_4.Provider,{value:{navigate:e},children:n}),Oee="_root_1yp76_141",Dee={root:Oee},m2={event:"event",feed:"feed",group:"group",marketplace:"marketplace",post:"post"},Nee="_root_1173f_141",jee="_root__list_1173f_146",Hee="_root__ctaButtonDesktop_1173f_152",Vee="_root__ctaButtonMobile_1173f_155",Gee="_root__itemCta_1173f_169",Wee="_root__item_1173f_169",wa={root:Nee,root__list:jee,root__ctaButtonDesktop:Hee,root__ctaButtonMobile:Vee,root__itemCta:Gee,root__item:Wee},qee={event:"",feed:"",group:"",marketplace:"/feed/marketplace",post:""},Uee=({feedType:n,item:e})=>{switch(n){case m2[n]:return k.jsx(g2,{...e});default:return null}},Zee=(n,e,t=6)=>{let i=[];if(!n.length)return[[]];const r=e?e.filter(g=>Number(g==null?void 0:g.position)>=0):[];let a=Array(t).fill(null),o=0,u=0,l=0;const d=()=>{let g=0;r.forEach(p=>{p.block===l&&(a.splice(p==null?void 0:p.position,1,p),g+=1)}),o=g};r.length&&d();const c=(g,p)=>{if(a[g]!==null&&o<t&&g<t){c(g+1,p);return}a.splice(g,1,p),o+=1,u+=1},m=(g=0,p=[])=>{if(g>n.length){if(o>0){const w=a.filter(S=>S!=null);w.length&&p.push(w)}return p}return c(u,n[g]),o===t&&a.filter(Boolean).length===t&&(p.push(a.filter(w=>w!=null)),a=Array(t).fill(null),o=0,u=0,l+=1,r.length&&d()),m(g+1,p)};return i=m(),e&&e.length>=0&&(i=e.sort((g,p)=>g.block-p.block).filter(g=>(g==null?void 0:g.position)==null).reduce((g,p,w)=>{if(i.length>=p.block){const S=p.block+w+1;return[...g.slice(0,S),p,...g.slice(S)]}return g},[...i])),i},Kee=n=>n?new Intl.NumberFormat("de-DE",{currency:"EUR",maximumFractionDigits:0,minimumFractionDigits:0,style:"currency"}).format(n/100).replace("€","").trim()+" €":"Zu verschenken",Yee=(n,e)=>{const t=[];return n.forEach(i=>{var r,a,o;typeof i=="number"?t.push({bookmarked:e[i].is_bookmarked,id:e[i].id,image:(a=(r=e[i])==null?void 0:r.images[0])==null?void 0:a.url,premiumFeature:Wb((o=e[i])==null?void 0:o.paid_highlight_until),price:Kee(e[i].price),reserved:hN(e[i].outcome),reservedText:"Reserviert",timeStamp:e[i].created_at,title:e[i].subject,type:"feed"}):t.push({type:"ad",...i})}),t},Jee=(n,e="de-DE")=>n[e],Qee={"de-DE":{marketplace:{description:"Gib deinen Sachen ein neues Zuhause.",title:"Etwas zu verkaufen?",cta:"Angebot erstellen",cta_small:"Angebot"},feed:{description:"",title:"",cta:""},event:{description:"",title:"",cta:""},group:{description:"",title:"",cta:""},post:{description:"",title:"",cta:""}}},Xee=Jee(Qee),ene=(n,e)=>Xee[m2[n]][e];function Vv({classNameButtonDesktop:n,classNameButtonMobile:e,feedType:t,isCard:i=!1,onClick:r}){const a=u=>ene(t,u),o=()=>i?k.jsxs(k.Fragment,{children:[k.jsx(O.Typography,{className:n,type:"body-semibold",children:a("cta")}),k.jsxs(O.Typography,{className:e,type:"body-semibold",children:[a("cta_small"),k.jsx(O.Icon,{name:"plus",size:"24"})]})]}):k.jsx(O.Typography,{type:"h5",children:a("cta")});return k.jsx(O.EmptyState,{primaryText:a("title"),stickerProps:{color:"teal",icon:"marketplace"},secondaryText:a("description"),size:i?"small":"medium",buttons:[{buttonType:"primary",children:o(),onClick:r,size:i?"small":"large"}]})}const nne=(n,e)=>n?e%3!==0:e%2!==0;function kk({feedType:n,items:e}){const t=li(),i=ch(800),r=nne(i,e.length),a=()=>{t(qee[n])};return k.jsx(k.Fragment,{children:e.length?k.jsx(O.Card,{className:Be(wa.root),borderRadius:!0,responsive:!0,children:k.jsx(O.CardBody,{className:wa.root__body,withoutPadding:!0,children:k.jsxs("ul",{className:wa.root__list,children:[e.map((o,u)=>k.jsx("li",{className:wa.root__item,children:o.type==="feed"?k.jsx(Uee,{feedType:n,item:o}):o.content},`grid_item_${o.type}_${o.id}`)),r&&k.jsx("li",{className:wa.root__itemCta,children:k.jsx(Vv,{isCard:!0,classNameButtonDesktop:wa.root__ctaButtonDesktop,classNameButtonMobile:wa.root__ctaButtonMobile,onClick:a,feedType:n})},"empty_state_cta_card")]})})}):k.jsx(Vv,{onClick:a,feedType:n})})}const tne=({feedItem:n,feedItems:e,feedType:t})=>{switch(t){case m2[t]:return k.jsx(kk,{feedType:t,items:Yee(n,e)});default:return null}},ine=({ads:n,feedItems:e,feedType:t,items:i})=>{const r=Zee(i,n);return r.length?k.jsx("section",{className:Dee.root,children:r.map((a,o)=>Array.isArray(a)?k.jsx(tne,{feedItem:a,feedItems:e,feedType:t},`grid_block_${o}`):k.jsx(C.Fragment,{children:a.content},`ad_block_${o}_${a.id}`))}):null};function rne(n){n.__scriptingEnabledHTMLContentHasBeenExecuted=!0}const ane=`(${rne.toString()})(document.currentScript);`,_k=C.forwardRef((n,e)=>{const t=C.useRef(null);return C.useImperativeHandle(e,()=>({get hasBeenExecuted(){const i=t.current;return i?!!i.__scriptingEnabledHTMLContentHasBeenExecuted:!1}})),k.jsx("script",{ref:t,dangerouslySetInnerHTML:{__html:ane}})});_k.displayName="InnerHTMLScript";const sne=(n,e)=>{const t=document.createRange().createContextualFragment(e);n.innerHTML="",n.appendChild(t)},one=({html:n,...e})=>{const t=C.useRef(null),i=C.useRef(null);return C.useEffect(()=>{const r=i.current,a=t.current;!r||!a||a.hasBeenExecuted||sne(r,n)},[n]),k.jsxs(k.Fragment,{children:[k.jsx(_k,{ref:t}),k.jsx("div",{...e,ref:i,suppressHydrationWarning:!0,dangerouslySetInnerHTML:{__html:n}})]})},une="_imageGallery_1mebd_141",lne="_imageGalleryImage_1mebd_147",fne="_imageGalleryPill_1mebd_155",B1={imageGallery:une,imageGalleryImage:lne,imageGalleryPill:fne},dne=({gallerySize:n,imageAlt:e,imageURL:t,onClick:i})=>{let r;if(n>1){const a=`+${n-1}`;r=k.jsx("div",{className:B1.imageGalleryPill,children:k.jsx(O.LabelPill,{label:a,shape:"tile",size:"medium"})})}return k.jsxs("div",{className:B1.imageGallery,onClick:i,children:[k.jsx(O.Image,{alt:e,src:t,className:B1.imageGalleryImage}),r]})},cne="_container_1ea1q_141",hne="_circle_1ea1q_149",gne="_logo_1ea1q_157",I1={container:cne,circle:hne,logo:gne},mne=(n,e)=>v.createElement("svg",{width:72,height:80,viewBox:"0 0 72 80",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:e,...n},v.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M67.7997 17.7397L39.7431 1.45626C37.3242 0.0510383 34.3374 0.0510383 31.9184 1.45626L3.87632 17.7397C1.48151 19.136 0.00627151 21.6971 0 24.4692V55.5447C0.0040404 58.3136 1.48055 60.8715 3.87632 62.2598L15.5846 69.0614V50.9839L21.4279 54.3414C21.6617 54.4879 21.8054 54.7428 21.8097 55.0187V72.6783L31.8968 78.5576C34.3242 79.9506 37.3085 79.9506 39.7359 78.5576L49.823 72.6783V55.0187C49.8291 54.7396 49.9789 54.4834 50.2193 54.3414L56.0554 50.9839V69.0614L60.7315 66.3451L67.7708 62.2598C70.1649 60.8707 71.6389 58.3126 71.64 55.5447V24.4692C71.6426 21.7041 70.1817 19.144 67.7997 17.7397ZM33.4975 74.07L26.487 69.9991V55.0198C26.4907 53.076 25.4583 51.2775 23.7779 50.3005L15.0237 45.2569C14.1803 44.77 13.1412 44.7705 12.2982 45.2581C11.4552 45.7457 10.9368 46.6464 10.9384 47.6202V60.928L6.21913 58.2333C5.26735 57.6719 4.68151 56.6508 4.67725 55.5458V25.3926L33.4975 42.1227V74.07ZM6.98877 21.3007L33.4962 36.7267V5.93945L6.98877 21.3007ZM38.187 5.93945L64.6872 21.3007L38.187 36.7267V5.93945ZM65.451 58.2333C66.4104 57.6776 67.0029 56.6545 67.0073 55.5458V25.3926L38.187 42.1227V74.07L45.1759 69.9991V55.027C45.1841 53.0789 46.2267 51.2818 47.9138 50.3077L56.6824 45.2641C57.5253 44.7809 58.5619 44.7833 59.4025 45.2705C60.2432 45.7577 60.7606 46.6558 60.7605 47.6274V60.928L65.451 58.2333Z",fill:"#201649"})),pne=C.forwardRef(mne),yk=()=>k.jsxs("div",{className:I1.container,children:[k.jsx("div",{className:I1.circle}),k.jsx(pne,{className:I1.logo})]}),vne="_react-datepicker__day-names_oewrr_120",bne="_react-datepicker__week_oewrr_124",wne="_react-datepicker__day--outside-month_oewrr_131",kne="_react-datepicker_oewrr_120",_ne="_wrapper_oewrr_141",yne="_header_oewrr_148",xne="_navbar_oewrr_156",Sne="_banner_oewrr_161",Cne="_main_oewrr_170",Ene="_contentContainer_oewrr_174",Mne="_contentContainer__withBanner_oewrr_179",Tne="_contentContainer__withBanner_oewrr_179",Fne="_content_oewrr_174",Pne="_mainContent_oewrr_189",Ane="_mainContent__isFullWidth_oewrr_193",Lne="_mainContent__isFullWidth_oewrr_193",Rne="_sidebarRight_oewrr_197",zne="_adSlot_oewrr_211",$ne="_adSlot__withBanner_oewrr_219",Bne="_adSlot__withBanner_oewrr_219",Ine="_adSlot--left_oewrr_238",One="_adSlot--right_oewrr_243",st={"react-datepicker__day-names":"_react-datepicker__day-names_oewrr_120",reactDatepickerDayNames:vne,"react-datepicker__week":"_react-datepicker__week_oewrr_124",reactDatepickerWeek:bne,"react-datepicker__day--outside-month":"_react-datepicker__day--outside-month_oewrr_131",reactDatepickerDayOutsideMonth:wne,"react-datepicker":"_react-datepicker_oewrr_120",reactDatepicker:kne,wrapper:_ne,header:yne,navbar:xne,banner:Sne,main:Cne,contentContainer:Ene,contentContainer__withBanner:Mne,contentContainerWithBanner:Tne,content:Fne,mainContent:Pne,mainContent__isFullWidth:Ane,mainContentIsFullWidth:Lne,sidebarRight:Rne,adSlot:zne,adSlot__withBanner:$ne,adSlotWithBanner:Bne,"adSlot--left":"_adSlot--left_oewrr_238",adSlotLeft:Ine,"adSlot--right":"_adSlot--right_oewrr_243",adSlotRight:One},Dne=({banner:n,children:e,isMainFullWidth:t,leftAdSlot:i,navbar:r,right:a,rightAdSlot:o,enableAdSlots:u})=>k.jsxs("div",{className:st.wrapper,children:[u&&k.jsx("div",{className:Be(st.adSlot,st["adSlot--left"],{[st.adSlot__withBanner]:n}),children:i}),k.jsxs("div",{className:Be(st.contentContainer,{[st.contentContainer__withBanner]:n}),children:[k.jsx("header",{className:st.header,children:k.jsx("nav",{className:st.navBar,children:r})}),k.jsxs("div",{className:Be(st.content),children:[k.jsx("main",{className:Be(st.mainContent,{[st.mainContent__isFullWidth]:t}),children:e}),a&&k.jsx("aside",{className:st.sidebarRight,children:a})]})]}),u&&k.jsx("div",{className:Be(st.adSlot,st["adSlot--right"],{[st.adSlot__withBanner]:n}),children:o}),n&&k.jsx("div",{className:st.banner,children:n})]});var xk={exports:{}};(()=>{var n={d:(o,u)=>{for(var l in u)n.o(u,l)&&!n.o(o,l)&&Object.defineProperty(o,l,{enumerable:!0,get:u[l]})},o:(o,u)=>Object.prototype.hasOwnProperty.call(o,u),r:o=>{typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(o,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(o,"__esModule",{value:!0})}},e={};n.r(e),n.d(e,{default:()=>a});const t=C;function i(o,u){return function(l){if(Array.isArray(l))return l}(o)||function(l,d){var c=l==null?null:typeof Symbol<"u"&&l[Symbol.iterator]||l["@@iterator"];if(c!=null){var m,g,p=[],w=!0,S=!1;try{for(c=c.call(l);!(w=(m=c.next()).done)&&(p.push(m.value),!d||p.length!==d);w=!0);}catch(x){S=!0,g=x}finally{try{w||c.return==null||c.return()}finally{if(S)throw g}}return p}}(o,u)||function(l,d){if(l){if(typeof l=="string")return r(l,d);var c=Object.prototype.toString.call(l).slice(8,-1);return c==="Object"&&l.constructor&&(c=l.constructor.name),c==="Map"||c==="Set"?Array.from(l):c==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(c)?r(l,d):void 0}}(o,u)||function(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
870
+ `)});const u=e.nonTextTags||["script","style","textarea","option"];let l,d;e.allowedAttributes&&(l={},d={},$o(e.allowedAttributes,function(H,Q){l[Q]=[];const z=[];H.forEach(function(W){typeof W=="string"&&W.indexOf("*")>=0?z.push(Ov(W).replace(/\\\*/g,".*")):l[Q].push(W)}),z.length&&(d[Q]=new RegExp("^("+z.join("|")+")$"))}));const c={},m={},g={};$o(e.allowedClasses,function(H,Q){if(l&&(dr(l,Q)||(l[Q]=[]),l[Q].push("class")),c[Q]=H,Array.isArray(H)){const z=[];c[Q]=[],g[Q]=[],H.forEach(function(W){typeof W=="string"&&W.indexOf("*")>=0?z.push(Ov(W).replace(/\\\*/g,".*")):W instanceof RegExp?g[Q].push(W):c[Q].push(W)}),z.length&&(m[Q]=new RegExp("^("+z.join("|")+")$"))}});const p={};let w;$o(e.transformTags,function(H,Q){let z;typeof H=="function"?z=H:typeof H=="string"&&(z=ku.simpleTransform(H)),Q==="*"?w=z:p[Q]=z});let S,x,y,T,P,I,R=!1;J();const N=new _X.Parser({onopentag:function(H,Q){if(e.enforceHtmlBoundary&&H==="html"&&J(),P){I++;return}const z=new a(H,Q);x.push(z);let W=!1;const fe=!!z.text;let K;if(dr(p,H)&&(K=p[H](H,Q),z.attribs=Q=K.attribs,K.text!==void 0&&(z.innerText=K.text),H!==K.tagName&&(z.name=H=K.tagName,T[S]=K.tagName)),w&&(K=w(H,Q),z.attribs=Q=K.attribs,H!==K.tagName&&(z.name=H=K.tagName,T[S]=K.tagName)),(!o(H)||e.disallowedTagsMode==="recursiveEscape"&&!MX(y)||e.nestingLimit!=null&&S>=e.nestingLimit)&&(W=!0,y[S]=!0,(e.disallowedTagsMode==="discard"||e.disallowedTagsMode==="completelyDiscard")&&u.indexOf(H)!==-1&&(P=!0,I=1)),S++,W){if(e.disallowedTagsMode==="discard"||e.disallowedTagsMode==="completelyDiscard"){if(z.innerText&&!fe){const _=ie(z.innerText);e.textFilter?i+=e.textFilter(_,H):i+=_,R=!0}return}r=i,i=""}i+="<"+H,H==="script"&&(e.allowedScriptHostnames||e.allowedScriptDomains)&&(z.innerText=""),(!l||dr(l,H)||l["*"])&&$o(Q,function(_,ge){if(!PX.test(ge)){delete z.attribs[ge];return}if(_===""&&!e.allowedEmptyAttributes.includes(ge)&&(e.nonBooleanAttributes.includes(ge)||e.nonBooleanAttributes.includes("*"))){delete z.attribs[ge];return}let Le=!1;if(!l||dr(l,H)&&l[H].indexOf(ge)!==-1||l["*"]&&l["*"].indexOf(ge)!==-1||dr(d,H)&&d[H].test(ge)||d["*"]&&d["*"].test(ge))Le=!0;else if(l&&l[H]){for(const ve of l[H])if(yX(ve)&&ve.name&&ve.name===ge){Le=!0;let me="";if(ve.multiple===!0){const ke=_.split(" ");for(const we of ke)ve.values.indexOf(we)!==-1&&(me===""?me=we:me+=" "+we)}else ve.values.indexOf(_)>=0&&(me=_);_=me}}if(Le){if(e.allowedSchemesAppliedToAttributes.indexOf(ge)!==-1&&ne(H,_)){delete z.attribs[ge];return}if(H==="script"&&ge==="src"){let ve=!0;try{const me=Z(_);if(e.allowedScriptHostnames||e.allowedScriptDomains){const ke=(e.allowedScriptHostnames||[]).find(function(pe){return pe===me.url.hostname}),we=(e.allowedScriptDomains||[]).find(function(pe){return me.url.hostname===pe||me.url.hostname.endsWith(`.${pe}`)});ve=ke||we}}catch{ve=!1}if(!ve){delete z.attribs[ge];return}}if(H==="iframe"&&ge==="src"){let ve=!0;try{const me=Z(_);if(me.isRelativeUrl)ve=dr(e,"allowIframeRelativeUrls")?e.allowIframeRelativeUrls:!e.allowedIframeHostnames&&!e.allowedIframeDomains;else if(e.allowedIframeHostnames||e.allowedIframeDomains){const ke=(e.allowedIframeHostnames||[]).find(function(pe){return pe===me.url.hostname}),we=(e.allowedIframeDomains||[]).find(function(pe){return me.url.hostname===pe||me.url.hostname.endsWith(`.${pe}`)});ve=ke||we}}catch{ve=!1}if(!ve){delete z.attribs[ge];return}}if(ge==="srcset")try{let ve=xX(_);if(ve.forEach(function(me){ne("srcset",me.url)&&(me.evil=!0)}),ve=Nv(ve,function(me){return!me.evil}),ve.length)_=TX(Nv(ve,function(me){return!me.evil})),z.attribs[ge]=_;else{delete z.attribs[ge];return}}catch{delete z.attribs[ge];return}if(ge==="class"){const ve=c[H],me=c["*"],ke=m[H],we=g[H],pe=g["*"],Me=m["*"],Re=[ke,Me].concat(we,pe).filter(function(on){return on});if(ve&&me?_=q(_,Dv(ve,me),Re):_=q(_,ve||me,Re),!_.length){delete z.attribs[ge];return}}if(ge==="style"){if(e.parseStyleAttributes)try{const ve=SX(H+" {"+_+"}",{map:!1}),me=M(ve,e.allowedStyles);if(_=L(me),_.length===0){delete z.attribs[ge];return}}catch{typeof window<"u"&&console.warn('Failed to parse "'+H+" {"+_+`}", If you're running this in a browser, we recommend to disable style parsing: options.parseStyleAttributes: false, since this only works in a node environment due to a postcss dependency, More info: https://github.com/apostrophecms/sanitize-html/issues/547`),delete z.attribs[ge];return}else if(e.allowedStyles)throw new Error("allowedStyles option cannot be used together with parseStyleAttributes: false.")}i+=" "+ge,_&&_.length?i+='="'+ie(_,!0)+'"':e.allowedEmptyAttributes.includes(ge)&&(i+='=""')}else delete z.attribs[ge]}),e.selfClosing.indexOf(H)!==-1?i+=" />":(i+=">",z.innerText&&!fe&&!e.textFilter&&(i+=ie(z.innerText),R=!0)),W&&(i=r+ie(i),r=""),z.openingTagLength=i.length-z.tagPosition},ontext:function(H){if(P)return;const Q=x[x.length-1];let z;if(Q&&(z=Q.tag,H=Q.innerText!==void 0?Q.innerText:H),e.disallowedTagsMode==="completelyDiscard"&&!o(z))H="";else if((e.disallowedTagsMode==="discard"||e.disallowedTagsMode==="completelyDiscard")&&(z==="script"||z==="style"))i+=H;else if(!R){const W=ie(H,!1);e.textFilter?i+=e.textFilter(W,z):i+=W}if(x.length){const W=x[x.length-1];W.text+=H}},onclosetag:function(H,Q){if(P)if(I--,!I)P=!1;else return;const z=x.pop();if(!z)return;if(z.tag!==H){x.push(z);return}P=e.enforceHtmlBoundary?H==="html":!1,S--;const W=y[S];if(W){if(delete y[S],e.disallowedTagsMode==="discard"||e.disallowedTagsMode==="completelyDiscard"){z.updateParentNodeText();return}r=i,i=""}if(T[S]&&(H=T[S],delete T[S]),e.exclusiveFilter){const fe=e.exclusiveFilter(z);if(fe==="excludeTag"){W&&(i=r,r=""),i=i.substring(0,z.tagPosition)+i.substring(z.tagPosition+z.openingTagLength);return}else if(fe){i=i.substring(0,z.tagPosition);return}}if(z.updateParentNodeMediaChildren(),z.updateParentNodeText(),e.selfClosing.indexOf(H)!==-1||Q&&!o(H)&&["escape","recursiveEscape"].indexOf(e.disallowedTagsMode)>=0){W&&(i=r,r="");return}i+="</"+H+">",W&&(i=r+ie(i),r=""),R=!1}},e.parser);return N.write(n),N.end(),i;function J(){i="",S=0,x=[],y={},T={},P=!1,I=0}function ie(H,Q){return typeof H!="string"&&(H=H+""),e.parser.decodeEntities&&(H=H.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;"),Q&&(H=H.replace(/"/g,"&quot;"))),H=H.replace(/&(?![a-zA-Z0-9#]{1,20};)/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;"),Q&&(H=H.replace(/"/g,"&quot;")),H}function ne(H,Q){for(Q=Q.replace(/[\x00-\x20]+/g,"");;){const fe=Q.indexOf("<!--");if(fe===-1)break;const K=Q.indexOf("-->",fe+4);if(K===-1)break;Q=Q.substring(0,fe)+Q.substring(K+3)}const z=Q.match(/^([a-zA-Z][a-zA-Z0-9.\-+]*):/);if(!z)return Q.match(/^[/\\]{2}/)?!e.allowProtocolRelative:!1;const W=z[1].toLowerCase();return dr(e.allowedSchemesByTag,H)?e.allowedSchemesByTag[H].indexOf(W)===-1:!e.allowedSchemes||e.allowedSchemes.indexOf(W)===-1}function Z(H){if(H=H.replace(/^(\w+:)?\s*[\\/]\s*[\\/]/,"$1//"),H.startsWith("relative:"))throw new Error("relative: exploit attempt");let Q="relative://relative-site";for(let fe=0;fe<100;fe++)Q+=`/${fe}`;const z=new URL(H,Q);return{isRelativeUrl:z&&z.hostname==="relative-site"&&z.protocol==="relative:",url:z}}function M(H,Q){if(!Q)return H;const z=H.nodes[0];let W;return Q[z.selector]&&Q["*"]?W=Dv(Q[z.selector],Q["*"]):W=Q[z.selector]||Q["*"],W&&(H.nodes[0].nodes=z.nodes.reduce($(W),[])),H}function L(H){return H.nodes[0].nodes.reduce(function(Q,z){return Q.push(`${z.prop}:${z.value}${z.important?" !important":""}`),Q},[]).join(";")}function $(H){return function(Q,z){return dr(H,z.prop)&&H[z.prop].some(function(fe){return fe.test(z.value)})&&Q.push(z),Q}}function q(H,Q,z){return Q?(H=H.split(/\s+/),H.filter(function(W){return Q.indexOf(W)!==-1||z.some(function(fe){return fe.test(W)})}).join(" ")):H}}const AX={decodeEntities:!0};ku.defaults={allowedTags:["address","article","aside","footer","header","h1","h2","h3","h4","h5","h6","hgroup","main","nav","section","blockquote","dd","div","dl","dt","figcaption","figure","hr","li","menu","ol","p","pre","ul","a","abbr","b","bdi","bdo","br","cite","code","data","dfn","em","i","kbd","mark","q","rb","rp","rt","rtc","ruby","s","samp","small","span","strong","sub","sup","time","u","var","wbr","caption","col","colgroup","table","tbody","td","tfoot","th","thead","tr"],nonBooleanAttributes:["abbr","accept","accept-charset","accesskey","action","allow","alt","as","autocapitalize","autocomplete","blocking","charset","cite","class","color","cols","colspan","content","contenteditable","coords","crossorigin","data","datetime","decoding","dir","dirname","download","draggable","enctype","enterkeyhint","fetchpriority","for","form","formaction","formenctype","formmethod","formtarget","headers","height","hidden","high","href","hreflang","http-equiv","id","imagesizes","imagesrcset","inputmode","integrity","is","itemid","itemprop","itemref","itemtype","kind","label","lang","list","loading","low","max","maxlength","media","method","min","minlength","name","nonce","optimum","pattern","ping","placeholder","popover","popovertarget","popovertargetaction","poster","preload","referrerpolicy","rel","rows","rowspan","sandbox","scope","shape","size","sizes","slot","span","spellcheck","src","srcdoc","srclang","srcset","start","step","style","tabindex","target","title","translate","type","usemap","value","width","wrap","onauxclick","onafterprint","onbeforematch","onbeforeprint","onbeforeunload","onbeforetoggle","onblur","oncancel","oncanplay","oncanplaythrough","onchange","onclick","onclose","oncontextlost","oncontextmenu","oncontextrestored","oncopy","oncuechange","oncut","ondblclick","ondrag","ondragend","ondragenter","ondragleave","ondragover","ondragstart","ondrop","ondurationchange","onemptied","onended","onerror","onfocus","onformdata","onhashchange","oninput","oninvalid","onkeydown","onkeypress","onkeyup","onlanguagechange","onload","onloadeddata","onloadedmetadata","onloadstart","onmessage","onmessageerror","onmousedown","onmouseenter","onmouseleave","onmousemove","onmouseout","onmouseover","onmouseup","onoffline","ononline","onpagehide","onpageshow","onpaste","onpause","onplay","onplaying","onpopstate","onprogress","onratechange","onreset","onresize","onrejectionhandled","onscroll","onscrollend","onsecuritypolicyviolation","onseeked","onseeking","onselect","onslotchange","onstalled","onstorage","onsubmit","onsuspend","ontimeupdate","ontoggle","onunhandledrejection","onunload","onvolumechange","onwaiting","onwheel"],disallowedTagsMode:"discard",allowedAttributes:{a:["href","name","target"],img:["src","srcset","alt","title","width","height","loading"]},allowedEmptyAttributes:["alt"],selfClosing:["img","br","hr","area","base","basefont","input","link","meta"],allowedSchemes:["http","https","ftp","mailto","tel"],allowedSchemesByTag:{},allowedSchemesAppliedToAttributes:["href","src","cite"],allowProtocolRelative:!0,enforceHtmlBoundary:!1,parseStyleAttributes:!0};ku.simpleTransform=function(n,e,t){return t=t===void 0?!0:t,e=e||{},function(i,r){let a;if(t)for(a in e)r[a]=e[a];else r=e;return{tagName:n,attribs:r}}};const wk=kr(FX),LX="_markdown_1me4y_141",jv={markdown:LX,"markdown--external-links":"_markdown--external-links_1me4y_153"},RX={allowedAttributes:{a:["href","target"]},allowedTags:["a"]};function zX({className:n,elementTag:e="span",inline:t=!1,isExternalLinksIcon:i,text:r}){const a=wk(r,RX),o=e;return k.jsx(o,{className:Be(jv.markdown,{[jv["markdown--external-links"]]:i},n),dangerouslySetInnerHTML:{__html:t?vn.parseInline(a,{breaks:!0}):vn.parse(a,{breaks:!0})}})}const $X="_react-datepicker__day-names_1swfz_120",BX="_react-datepicker__week_1swfz_124",IX="_react-datepicker__day--outside-month_1swfz_131",OX="_react-datepicker_1swfz_120",DX="_typography-landing--claim_1swfz_141",NX="_typography-landing--claim-uppercase_1swfz_179",jX="_typography-landing--h1_1swfz_217",HX="_typography-landing--h1-uppercase_1swfz_255",VX="_typography-landing--h2_1swfz_293",GX="_typography-landing--h3_1swfz_331",WX="_typography-landing--h4_1swfz_369",qX="_typography-landing--h5_1swfz_394",UX="_typography-landing--h6_1swfz_419",ZX="_typography-landing--overline_1swfz_444",KX="_typography-landing--body-large_1swfz_481",YX="_typography-landing--body-large-semibold_1swfz_505",JX="_typography-landing--body_1swfz_481",QX="_typography-landing--body-semibold_1swfz_540",XX="_typography-landing--body-italic_1swfz_551",eee="_typography-landing--quote-large_1swfz_563",nee="_typography-landing--detail-small_1swfz_588",tee="_typography-landing--detail-small-bold_1swfz_599",iee="_typography-landing_1swfz_141",ree="_typography-product_1swfz_628",aee="_typography-product--h1_1swfz_640",see="_typography-product--h2_1swfz_652",oee="_typography-product--h3_1swfz_664",uee="_typography-product--h4_1swfz_676",lee="_typography-product--h5_1swfz_688",fee="_typography-product--h6_1swfz_700",dee="_typography-product--h7_1swfz_712",cee="_typography-product--h8_1swfz_724",hee="_typography-product--body-large_1swfz_736",gee="_typography-product--body-regular_1swfz_760",mee="_typography-product--body-semibold_1swfz_784",pee="_typography-product--body-italic_1swfz_808",vee="_typography-product--body-text-link_1swfz_833",bee="_typography-product--detail-medium_1swfz_845",wee="_typography-product--detail-bold_1swfz_869",kee="_typography-product--detail-upper-case_1swfz_893",_ee="_typography-product--detail-regular_1swfz_917",yee="_typography-product--detail-text-link_1swfz_941",Hv={"react-datepicker__day-names":"_react-datepicker__day-names_1swfz_120",reactDatepickerDayNames:$X,"react-datepicker__week":"_react-datepicker__week_1swfz_124",reactDatepickerWeek:BX,"react-datepicker__day--outside-month":"_react-datepicker__day--outside-month_1swfz_131",reactDatepickerDayOutsideMonth:IX,"react-datepicker":"_react-datepicker_1swfz_120",reactDatepicker:OX,"typography-landing--claim":"_typography-landing--claim_1swfz_141",typographyLandingClaim:DX,"typography-landing--claim-uppercase":"_typography-landing--claim-uppercase_1swfz_179",typographyLandingClaimUppercase:NX,"typography-landing--h1":"_typography-landing--h1_1swfz_217",typographyLandingH1:jX,"typography-landing--h1-uppercase":"_typography-landing--h1-uppercase_1swfz_255",typographyLandingH1Uppercase:HX,"typography-landing--h2":"_typography-landing--h2_1swfz_293",typographyLandingH2:VX,"typography-landing--h3":"_typography-landing--h3_1swfz_331",typographyLandingH3:GX,"typography-landing--h4":"_typography-landing--h4_1swfz_369",typographyLandingH4:WX,"typography-landing--h5":"_typography-landing--h5_1swfz_394",typographyLandingH5:qX,"typography-landing--h6":"_typography-landing--h6_1swfz_419",typographyLandingH6:UX,"typography-landing--overline":"_typography-landing--overline_1swfz_444",typographyLandingOverline:ZX,"typography-landing--body-large":"_typography-landing--body-large_1swfz_481",typographyLandingBodyLarge:KX,"typography-landing--body-large-semibold":"_typography-landing--body-large-semibold_1swfz_505",typographyLandingBodyLargeSemibold:YX,"typography-landing--body":"_typography-landing--body_1swfz_481",typographyLandingBody:JX,"typography-landing--body-semibold":"_typography-landing--body-semibold_1swfz_540",typographyLandingBodySemibold:QX,"typography-landing--body-italic":"_typography-landing--body-italic_1swfz_551",typographyLandingBodyItalic:XX,"typography-landing--quote-large":"_typography-landing--quote-large_1swfz_563",typographyLandingQuoteLarge:eee,"typography-landing--detail-small":"_typography-landing--detail-small_1swfz_588",typographyLandingDetailSmall:nee,"typography-landing--detail-small-bold":"_typography-landing--detail-small-bold_1swfz_599",typographyLandingDetailSmallBold:tee,"typography-landing":"_typography-landing_1swfz_141",typographyLanding:iee,"typography-product":"_typography-product_1swfz_628",typographyProduct:ree,"typography-product--h1":"_typography-product--h1_1swfz_640",typographyProductH1:aee,"typography-product--h2":"_typography-product--h2_1swfz_652",typographyProductH2:see,"typography-product--h3":"_typography-product--h3_1swfz_664",typographyProductH3:oee,"typography-product--h4":"_typography-product--h4_1swfz_676",typographyProductH4:uee,"typography-product--h5":"_typography-product--h5_1swfz_688",typographyProductH5:lee,"typography-product--h6":"_typography-product--h6_1swfz_700",typographyProductH6:fee,"typography-product--h7":"_typography-product--h7_1swfz_712",typographyProductH7:dee,"typography-product--h8":"_typography-product--h8_1swfz_724",typographyProductH8:cee,"typography-product--body-large":"_typography-product--body-large_1swfz_736",typographyProductBodyLarge:hee,"typography-product--body-regular":"_typography-product--body-regular_1swfz_760",typographyProductBodyRegular:gee,"typography-product--body-semibold":"_typography-product--body-semibold_1swfz_784",typographyProductBodySemibold:mee,"typography-product--body-italic":"_typography-product--body-italic_1swfz_808",typographyProductBodyItalic:pee,"typography-product--body-text-link":"_typography-product--body-text-link_1swfz_833",typographyProductBodyTextLink:vee,"typography-product--detail-medium":"_typography-product--detail-medium_1swfz_845",typographyProductDetailMedium:bee,"typography-product--detail-bold":"_typography-product--detail-bold_1swfz_869",typographyProductDetailBold:wee,"typography-product--detail-upper-case":"_typography-product--detail-upper-case_1swfz_893",typographyProductDetailUpperCase:kee,"typography-product--detail-regular":"_typography-product--detail-regular_1swfz_917",typographyProductDetailRegular:_ee,"typography-product--detail-text-link":"_typography-product--detail-text-link_1swfz_941",typographyProductDetailTextLink:yee};function xee(n){switch(n){case"h1":case"h1-uppercase":return"h1";case"h2":case"claim":case"claim-uppercase":return"h2";case"h3":case"h4":case"h5":return n;case"h6":case"overline":return"h6";default:return"span"}}const Ul=n=>{const{as:e,children:t,className:i,fontSet:r="product",markdown:a=r==="landing",markdownInline:o=!0,type:u}=n,l=e||xee(u),d=Be(Hv[`typography-${r}`],Hv[`typography-${r}--${u}`],i);return k.jsx(k.Fragment,{children:typeof t=="string"&&a?k.jsx(zX,{className:d,text:t,inline:o,elementTag:l,isExternalLinksIcon:r==="landing"}):k.jsx(l,{className:d,children:t})})},See="_root_1biuz_141",Cee="_root__content_1biuz_151",Eee="_root__bookmark_1biuz_157",Mee="_root__header_1biuz_163",Tee="_root__header__reserved_1biuz_170",Fee="_root__header__reserved__box_1biuz_183",Pee="_root__header__image_1biuz_192",Aee="_root__info_1biuz_197",Lee="_root__info__top_1biuz_204",Ree="_root__info__price_1biuz_207",zee="_root__info__title_1biuz_213",$ee="_root__info__timeStamp_1biuz_222",Bee="_root__premiumFeature_1biuz_226",gt={root:See,root__content:Cee,root__bookmark:Eee,root__header:Mee,root__header__reserved:Tee,"root__header__reserved--visible":"_root__header__reserved--visible_1biuz_180",root__header__reserved__box:Fee,root__header__image:Pee,root__info:Aee,root__info__top:Lee,root__info__price:Ree,"root__info__price--reserved":"_root__info__price--reserved_1biuz_210",root__info__title:zee,root__info__timeStamp:$ee,root__premiumFeature:Bee};function g2({bookmarked:n,id:e,image:t,onClick:i,premiumFeature:r=!1,price:a,reserved:o,reservedText:u,timeStamp:l,title:d}){const c=li(),m=()=>{c(`/feed/${e}`),i&&i()};return k.jsxs("div",{className:gt.root,children:[k.jsx(Yb,{className:gt.root__bookmark,isBookmarked:n,id:e}),k.jsxs(O.Button,{className:gt.root__content,onClick:m,children:[k.jsxs("div",{className:gt.root__header,children:[k.jsx("div",{className:Be(gt.root__header__reserved,{[gt["root__header__reserved--visible"]]:o}),children:k.jsx("div",{className:gt.root__header__reserved__box,children:k.jsx(Ul,{type:"detail-upper-case",children:u})})}),t?k.jsx(FK,{alt:"product image",src:t,className:gt.root__header__image}):k.jsx(TK,{size:"large",style:"rounded",icon:k.jsx(Jb,{name:"camera_crossed"})})]}),k.jsxs("div",{className:gt.root__info,children:[k.jsxs("div",{className:gt.root__info__top,children:[k.jsx(Ul,{type:"body-semibold",as:"p",className:Be(gt.root__info__price,{[gt["root__info__price--reserved"]]:o}),children:a}),k.jsx(Ul,{type:"body-semibold",as:"p",className:gt.root__info__title,children:d})]}),k.jsx(Ul,{type:r?"detail-bold":"detail-medium",as:"p",className:Be(gt.root__info__timeStamp,{[gt.root__premiumFeature]:r}),children:r?"Greif zu!":Wf(l)})]})]})]})}const Iee=({children:n,navigate:e})=>k.jsx(_4.Provider,{value:{navigate:e},children:n}),Oee="_root_1yp76_141",Dee={root:Oee},m2={event:"event",feed:"feed",group:"group",marketplace:"marketplace",post:"post"},Nee="_root_1173f_141",jee="_root__list_1173f_146",Hee="_root__ctaButtonDesktop_1173f_152",Vee="_root__ctaButtonMobile_1173f_155",Gee="_root__itemCta_1173f_169",Wee="_root__item_1173f_169",wa={root:Nee,root__list:jee,root__ctaButtonDesktop:Hee,root__ctaButtonMobile:Vee,root__itemCta:Gee,root__item:Wee},qee={event:"",feed:"",group:"",marketplace:"/feed/marketplace",post:""},Uee=({feedType:n,item:e})=>{switch(n){case m2[n]:return k.jsx(g2,{...e});default:return null}},Zee=(n,e,t=6)=>{let i=[];if(!n.length)return[[]];const r=e?e.filter(g=>Number(g==null?void 0:g.position)>=0):[];let a=Array(t).fill(null),o=0,u=0,l=0;const d=()=>{let g=0;r.forEach(p=>{p.block===l&&(a.splice(p==null?void 0:p.position,1,p),g+=1)}),o=g};r.length&&d();const c=(g,p)=>{if(a[g]!==null&&o<t&&g<t){c(g+1,p);return}a.splice(g,1,p),o+=1,u+=1},m=(g=0,p=[])=>{if(g>n.length){if(o>0){const w=a.filter(S=>S!=null);w.length&&p.push(w)}return p}return c(u,n[g]),o===t&&a.filter(Boolean).length===t&&(p.push(a.filter(w=>w!=null)),a=Array(t).fill(null),o=0,u=0,l+=1,r.length&&d()),m(g+1,p)};return i=m(),e&&e.length>=0&&(i=e.sort((g,p)=>g.block-p.block).filter(g=>(g==null?void 0:g.position)==null).reduce((g,p,w)=>{if(i.length>p.block){const S=p.block+w+1;return[...g.slice(0,S),p,...g.slice(S)]}return g},[...i])),i},Kee=n=>n?new Intl.NumberFormat("de-DE",{currency:"EUR",maximumFractionDigits:0,minimumFractionDigits:0,style:"currency"}).format(n/100).replace("€","").trim()+" €":"Zu verschenken",Yee=(n,e)=>{const t=[];return n.forEach(i=>{var r,a,o;typeof i=="number"?t.push({bookmarked:e[i].is_bookmarked,id:e[i].id,image:(a=(r=e[i])==null?void 0:r.images[0])==null?void 0:a.url,premiumFeature:Wb((o=e[i])==null?void 0:o.paid_highlight_until),price:Kee(e[i].price),reserved:hN(e[i].outcome),reservedText:"Reserviert",timeStamp:e[i].created_at,title:e[i].subject,type:"feed"}):t.push({type:"ad",...i})}),t},Jee=(n,e="de-DE")=>n[e],Qee={"de-DE":{marketplace:{description:"Gib deinen Sachen ein neues Zuhause.",title:"Etwas zu verkaufen?",cta:"Angebot erstellen",cta_small:"Angebot"},feed:{description:"",title:"",cta:""},event:{description:"",title:"",cta:""},group:{description:"",title:"",cta:""},post:{description:"",title:"",cta:""}}},Xee=Jee(Qee),ene=(n,e)=>Xee[m2[n]][e];function Vv({classNameButtonDesktop:n,classNameButtonMobile:e,feedType:t,isCard:i=!1,onClick:r}){const a=u=>ene(t,u),o=()=>i?k.jsxs(k.Fragment,{children:[k.jsx(O.Typography,{className:n,type:"body-semibold",children:a("cta")}),k.jsxs(O.Typography,{className:e,type:"body-semibold",children:[a("cta_small"),k.jsx(O.Icon,{name:"plus",size:"24"})]})]}):k.jsx(O.Typography,{type:"h5",children:a("cta")});return k.jsx(O.EmptyState,{primaryText:a("title"),stickerProps:{color:"teal",icon:"marketplace"},secondaryText:a("description"),size:i?"small":"medium",buttons:[{buttonType:"primary",children:o(),onClick:r,size:i?"small":"large"}]})}const nne=(n,e)=>n?e%3!==0:e%2!==0;function kk({feedType:n,items:e}){const t=li(),i=ch(800),r=nne(i,e.length),a=()=>{t(qee[n])};return k.jsx(k.Fragment,{children:e.length?k.jsx(O.Card,{className:Be(wa.root),borderRadius:!0,responsive:!0,children:k.jsx(O.CardBody,{className:wa.root__body,withoutPadding:!0,children:k.jsxs("ul",{className:wa.root__list,children:[e.map((o,u)=>k.jsx("li",{className:wa.root__item,children:o.type==="feed"?k.jsx(Uee,{feedType:n,item:o}):o.content},`grid_item_${o.type}_${o.id}`)),r&&k.jsx("li",{className:wa.root__itemCta,children:k.jsx(Vv,{isCard:!0,classNameButtonDesktop:wa.root__ctaButtonDesktop,classNameButtonMobile:wa.root__ctaButtonMobile,onClick:a,feedType:n})},"empty_state_cta_card")]})})}):k.jsx(Vv,{onClick:a,feedType:n})})}const tne=({feedItem:n,feedItems:e,feedType:t})=>{switch(t){case m2[t]:return k.jsx(kk,{feedType:t,items:Yee(n,e)});default:return null}},ine=({ads:n,feedItems:e,feedType:t,items:i})=>{const r=Zee(i,n);return r.length?k.jsx("section",{className:Dee.root,children:r.map((a,o)=>Array.isArray(a)?k.jsx(tne,{feedItem:a,feedItems:e,feedType:t},`grid_block_${o}`):k.jsx(C.Fragment,{children:a.content},`ad_block_${o}_${a.id}`))}):null};function rne(n){n.__scriptingEnabledHTMLContentHasBeenExecuted=!0}const ane=`(${rne.toString()})(document.currentScript);`,_k=C.forwardRef((n,e)=>{const t=C.useRef(null);return C.useImperativeHandle(e,()=>({get hasBeenExecuted(){const i=t.current;return i?!!i.__scriptingEnabledHTMLContentHasBeenExecuted:!1}})),k.jsx("script",{ref:t,dangerouslySetInnerHTML:{__html:ane}})});_k.displayName="InnerHTMLScript";const sne=(n,e)=>{const t=document.createRange().createContextualFragment(e);n.innerHTML="",n.appendChild(t)},one=({html:n,...e})=>{const t=C.useRef(null),i=C.useRef(null);return C.useEffect(()=>{const r=i.current,a=t.current;!r||!a||a.hasBeenExecuted||sne(r,n)},[n]),k.jsxs(k.Fragment,{children:[k.jsx(_k,{ref:t}),k.jsx("div",{...e,ref:i,suppressHydrationWarning:!0,dangerouslySetInnerHTML:{__html:n}})]})},une="_imageGallery_1mebd_141",lne="_imageGalleryImage_1mebd_147",fne="_imageGalleryPill_1mebd_155",B1={imageGallery:une,imageGalleryImage:lne,imageGalleryPill:fne},dne=({gallerySize:n,imageAlt:e,imageURL:t,onClick:i})=>{let r;if(n>1){const a=`+${n-1}`;r=k.jsx("div",{className:B1.imageGalleryPill,children:k.jsx(O.LabelPill,{label:a,shape:"tile",size:"medium"})})}return k.jsxs("div",{className:B1.imageGallery,onClick:i,children:[k.jsx(O.Image,{alt:e,src:t,className:B1.imageGalleryImage}),r]})},cne="_container_1ea1q_141",hne="_circle_1ea1q_149",gne="_logo_1ea1q_157",I1={container:cne,circle:hne,logo:gne},mne=(n,e)=>v.createElement("svg",{width:72,height:80,viewBox:"0 0 72 80",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:e,...n},v.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M67.7997 17.7397L39.7431 1.45626C37.3242 0.0510383 34.3374 0.0510383 31.9184 1.45626L3.87632 17.7397C1.48151 19.136 0.00627151 21.6971 0 24.4692V55.5447C0.0040404 58.3136 1.48055 60.8715 3.87632 62.2598L15.5846 69.0614V50.9839L21.4279 54.3414C21.6617 54.4879 21.8054 54.7428 21.8097 55.0187V72.6783L31.8968 78.5576C34.3242 79.9506 37.3085 79.9506 39.7359 78.5576L49.823 72.6783V55.0187C49.8291 54.7396 49.9789 54.4834 50.2193 54.3414L56.0554 50.9839V69.0614L60.7315 66.3451L67.7708 62.2598C70.1649 60.8707 71.6389 58.3126 71.64 55.5447V24.4692C71.6426 21.7041 70.1817 19.144 67.7997 17.7397ZM33.4975 74.07L26.487 69.9991V55.0198C26.4907 53.076 25.4583 51.2775 23.7779 50.3005L15.0237 45.2569C14.1803 44.77 13.1412 44.7705 12.2982 45.2581C11.4552 45.7457 10.9368 46.6464 10.9384 47.6202V60.928L6.21913 58.2333C5.26735 57.6719 4.68151 56.6508 4.67725 55.5458V25.3926L33.4975 42.1227V74.07ZM6.98877 21.3007L33.4962 36.7267V5.93945L6.98877 21.3007ZM38.187 5.93945L64.6872 21.3007L38.187 36.7267V5.93945ZM65.451 58.2333C66.4104 57.6776 67.0029 56.6545 67.0073 55.5458V25.3926L38.187 42.1227V74.07L45.1759 69.9991V55.027C45.1841 53.0789 46.2267 51.2818 47.9138 50.3077L56.6824 45.2641C57.5253 44.7809 58.5619 44.7833 59.4025 45.2705C60.2432 45.7577 60.7606 46.6558 60.7605 47.6274V60.928L65.451 58.2333Z",fill:"#201649"})),pne=C.forwardRef(mne),yk=()=>k.jsxs("div",{className:I1.container,children:[k.jsx("div",{className:I1.circle}),k.jsx(pne,{className:I1.logo})]}),vne="_react-datepicker__day-names_oewrr_120",bne="_react-datepicker__week_oewrr_124",wne="_react-datepicker__day--outside-month_oewrr_131",kne="_react-datepicker_oewrr_120",_ne="_wrapper_oewrr_141",yne="_header_oewrr_148",xne="_navbar_oewrr_156",Sne="_banner_oewrr_161",Cne="_main_oewrr_170",Ene="_contentContainer_oewrr_174",Mne="_contentContainer__withBanner_oewrr_179",Tne="_contentContainer__withBanner_oewrr_179",Fne="_content_oewrr_174",Pne="_mainContent_oewrr_189",Ane="_mainContent__isFullWidth_oewrr_193",Lne="_mainContent__isFullWidth_oewrr_193",Rne="_sidebarRight_oewrr_197",zne="_adSlot_oewrr_211",$ne="_adSlot__withBanner_oewrr_219",Bne="_adSlot__withBanner_oewrr_219",Ine="_adSlot--left_oewrr_238",One="_adSlot--right_oewrr_243",st={"react-datepicker__day-names":"_react-datepicker__day-names_oewrr_120",reactDatepickerDayNames:vne,"react-datepicker__week":"_react-datepicker__week_oewrr_124",reactDatepickerWeek:bne,"react-datepicker__day--outside-month":"_react-datepicker__day--outside-month_oewrr_131",reactDatepickerDayOutsideMonth:wne,"react-datepicker":"_react-datepicker_oewrr_120",reactDatepicker:kne,wrapper:_ne,header:yne,navbar:xne,banner:Sne,main:Cne,contentContainer:Ene,contentContainer__withBanner:Mne,contentContainerWithBanner:Tne,content:Fne,mainContent:Pne,mainContent__isFullWidth:Ane,mainContentIsFullWidth:Lne,sidebarRight:Rne,adSlot:zne,adSlot__withBanner:$ne,adSlotWithBanner:Bne,"adSlot--left":"_adSlot--left_oewrr_238",adSlotLeft:Ine,"adSlot--right":"_adSlot--right_oewrr_243",adSlotRight:One},Dne=({banner:n,children:e,isMainFullWidth:t,leftAdSlot:i,navbar:r,right:a,rightAdSlot:o,enableAdSlots:u})=>k.jsxs("div",{className:st.wrapper,children:[u&&k.jsx("div",{className:Be(st.adSlot,st["adSlot--left"],{[st.adSlot__withBanner]:n}),children:i}),k.jsxs("div",{className:Be(st.contentContainer,{[st.contentContainer__withBanner]:n}),children:[k.jsx("header",{className:st.header,children:k.jsx("nav",{className:st.navBar,children:r})}),k.jsxs("div",{className:Be(st.content),children:[k.jsx("main",{className:Be(st.mainContent,{[st.mainContent__isFullWidth]:t}),children:e}),a&&k.jsx("aside",{className:st.sidebarRight,children:a})]})]}),u&&k.jsx("div",{className:Be(st.adSlot,st["adSlot--right"],{[st.adSlot__withBanner]:n}),children:o}),n&&k.jsx("div",{className:st.banner,children:n})]});var xk={exports:{}};(()=>{var n={d:(o,u)=>{for(var l in u)n.o(u,l)&&!n.o(o,l)&&Object.defineProperty(o,l,{enumerable:!0,get:u[l]})},o:(o,u)=>Object.prototype.hasOwnProperty.call(o,u),r:o=>{typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(o,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(o,"__esModule",{value:!0})}},e={};n.r(e),n.d(e,{default:()=>a});const t=C;function i(o,u){return function(l){if(Array.isArray(l))return l}(o)||function(l,d){var c=l==null?null:typeof Symbol<"u"&&l[Symbol.iterator]||l["@@iterator"];if(c!=null){var m,g,p=[],w=!0,S=!1;try{for(c=c.call(l);!(w=(m=c.next()).done)&&(p.push(m.value),!d||p.length!==d);w=!0);}catch(x){S=!0,g=x}finally{try{w||c.return==null||c.return()}finally{if(S)throw g}}return p}}(o,u)||function(l,d){if(l){if(typeof l=="string")return r(l,d);var c=Object.prototype.toString.call(l).slice(8,-1);return c==="Object"&&l.constructor&&(c=l.constructor.name),c==="Map"||c==="Set"?Array.from(l):c==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(c)?r(l,d):void 0}}(o,u)||function(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
871
871
  In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}()}function r(o,u){(u==null||u>o.length)&&(u=o.length);for(var l=0,d=new Array(u);l<u;l++)d[l]=o[l];return d}const a=function(){var o=arguments.length>0&&arguments[0]!==void 0?arguments[0]:300,u=arguments.length>1?arguments[1]:void 0,l=(0,t.useState)(u),d=i(l,2),c=d[0],m=d[1];return(0,t.useEffect)(function(){var g=function(){var p=window.screen.height-o>window.visualViewport.height;c!=p&&m(p)};return typeof visualViewport<"u"&&window.visualViewport.addEventListener("resize",g),function(){typeof visualViewport<"u"&&window.visualViewport.removeEventListener("resize",g)}},[]),c};xk.exports=e})();var Nne=xk.exports;const jne=kr(Nne),Hne="_mobileLayout_pgqb7_141",Vne="_mobileLayoutHeader_pgqb7_146",Gne="_header_pgqb7_153",Wne="_mobileLayoutMain_pgqb7_156",qne="_mobileLayoutMainWithFooter_pgqb7_163",Une="_mobileLayoutActionButton_pgqb7_166",Zne="_mobileLayoutFooter_pgqb7_174",Kne="_stickyHeader_pgqb7_184",Yne="_sticky_pgqb7_184",Jne="_adSlot_pgqb7_195",Qne="_hideAdSlot_pgqb7_205",vi={mobileLayout:Hne,mobileLayoutHeader:Vne,header:Gne,mobileLayoutMain:Wne,mobileLayoutMainWithFooter:qne,mobileLayoutActionButton:Une,mobileLayoutFooter:Zne,stickyHeader:Kne,sticky:Yne,adSlot:Jne,hideAdSlot:Qne},Gv=50,Xne=100,ete=n=>{const[e,t]=C.useState(!1),i=C.useRef(0),r=C.useRef(0);return C.useEffect(()=>{if(!n){t(!1);return}const a=()=>{const o=window.scrollY,u=o>i.current,l=o<i.current;if(o<Gv){t(!1);return}u&&o>Gv?(t(!0),r.current=0):l&&r.current===0&&(r.current=o),l&&r.current-o>=Xne&&(t(!1),r.current=0),i.current=o};return window.addEventListener("scroll",a),()=>{window.removeEventListener("scroll",a)}},[n]),e},nte=" 66px",tte=" 56px",Sk=({action:n,adSlot:e,adSlotEnabled:t=!1,banner:i,children:r,footer:a,header:o,hideHeaderOnScroll:u=!0,showFooter:l=!0})=>{const d=jne(),c=ete(u);return k.jsxs("section",{className:vi.mobileLayout,style:{"--anchor-ad-wrapper-height":e&&t?nte:"0px","--layout-header-height":tte},children:[k.jsxs("header",{className:Be(vi.stickyHeader,vi.mobileLayoutHeader,{[vi.sticky]:c}),children:[k.jsx("div",{className:Be(vi.header),children:o}),e&&k.jsx("div",{className:Be(vi.adSlot,{[vi.hideAdSlot]:!t}),children:e})]}),k.jsxs("main",{className:Be(vi.mobileLayoutMain,{[vi.mobileLayoutMainWithFooter]:l}),tabIndex:0,children:[i,r]}),l&&k.jsxs(k.Fragment,{children:[n&&!d&&k.jsx("div",{className:vi.mobileLayoutActionButton,children:n}),k.jsx("footer",{className:vi.mobileLayoutFooter,children:a})]})]})},ite="_loadingSpinnerContainer_c09gc_141",rte={loadingSpinnerContainer:ite},ate=({children:n,desktop:e,keepLoading:t,mobile:i})=>{const[r,a]=C.useState(0),o=()=>{a(window.innerWidth)};return C.useEffect(()=>(o(),window.addEventListener("resize",o),()=>{window.removeEventListener("resize",o)}),[]),!r||t?k.jsx("div",{className:rte.loadingSpinnerContainer,children:k.jsx(yk,{})}):r<800?k.jsx(Sk,{...i,children:n}):k.jsx(Dne,{...e,children:n})};var ste=ote;function ote(n){if(n)throw n}/*!
872
872
  * Determine if an object is a Buffer
873
873
  *
package/index.mjs CHANGED
@@ -67998,7 +67998,7 @@ const Spe = ({
67998
67998
  };
67999
67999
  return i = m(), e && e.length >= 0 && (i = e.sort((g, p) => g.block - p.block).filter((g) => (g == null ? void 0 : g.position) == null).reduce(
68000
68000
  (g, p, _) => {
68001
- if (i.length >= p.block) {
68001
+ if (i.length > p.block) {
68002
68002
  const x = p.block + _ + 1;
68003
68003
  return [...g.slice(0, x), p, ...g.slice(x)];
68004
68004
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@goodhood-web/nebenan-base",
3
- "version": "3.3.1-development.2",
3
+ "version": "3.3.1-development.3",
4
4
  "main": "./index.js",
5
5
  "types": "./index.d.ts",
6
6
  "repository": "https://github.com/good-hood-gmbh/goodhood-web",