PageSourceSearch

https://www.mytischtennis.de/build/_shared/chunk-KISCULME.js

js mytischtennis.de collected 2026-09-24 09:36:40 UTC 23,690 bytes, 1 lines download raw bytes

1import{a as tt}from"/build/_shared/chunk-HG53XYZN.js";import{b as yt}from"/build/_shared/chunk-5FWG67EV.js";import{C as F,a as ie,e as ht,w as gt}from"/build/_shared/chunk-WFNQTVCJ.js";import{d as M}from"/build/_shared/chunk-G5WX4PPA.js";function ne(e){return!(typeof e!="object"||e instanceof Array)}var et=class{filterOutNonSupportedKeys(t,r){let i=Object.create({});return ne(t)?(Object.keys(t).forEach(n=>{r.indexOf(n)>=0?i[n]=t[n]:console.warn("Warning - unsupported key provided to configuration: ",n)}),i):Object.create({})}},_t=et;var rt=["cname","secureDistribution","privateCdn","signUrl","longUrlSignature","shorten","useRootPath","secure","forceVersion","analytics","queryParams"];var R=class extends _t{constructor(t){super();let r=this.filterOutNonSupportedKeys(t,rt);Object.assign(this,{secure:!0},r)}extend(t){let r=this.filterOutNonSupportedKeys(t,rt);return new R(Object.assign({},this,r))}setCname(t){return this.cname=t,this}setSecureDistribution(t){return this.secureDistribution=t,this}setPrivateCdn(t){return this.privateCdn=t,this}setSignUrl(t){return this.signUrl=t,this}setLongUrlSignature(t){return this.longUrlSignature=t,this}setShorten(t){return this.shorten=t,this}setUseRootPath(t){return this.useRootPath=t,this}setSecure(t){return this.secure=t,this}setForceVersion(t){return this.forceVersion=t,this}setQueryParams(t){return this.queryParams=t,this}},wt=R;var l=class{constructor(t){this.values=[],this.delimiter=":",this.hasValue(t)&&this.addValue(t)}toString(){return this.values.join(this.delimiter)}hasValue(t){return typeof t<"u"&&t!==null&&t!==""}addValue(t){return Array.isArray(t)?this.values=this.values.concat(t):this.values.push(t),this.values=this.values.filter(r=>this.hasValue(r)),this}setDelimiter(t){return this.delimiter=t,this}};var it=class extends Error{constructor(t="Unsupported"){super(t)}};function A(e){return new it(e)}function vt(){return this._qualifierModel||{error:A(`unsupported qualifier ${this.constructor.name}`)}}var L=class{constructor(){this._qualifierModel={}}toJson(){return vt.apply(this)}};var c=class extends L{constructor(t,r){super(),this.delimiter="_",this.key=t,r instanceof l?this.qualifierValue=r:(this.qualifierValue=new l,this.qualifierValue.addValue(r))}toString(){let{key:t,delimiter:r,qualifierValue:i}=this;return`${t}${r}${i.toString()}`}addValue(t){return this.qualifierValue.addValue(t),this}};var d=class extends c{constructor(t,r){let i;r?i=new l([t,`${r}`]).setDelimiter(":"):i=t,super("fl",i),this.flagValue=r}toString(){return super.toString().replace(/\./g,"%2E")}getFlagValue(){return this.flagValue}};function xt(e,t){let r=Array.from(e.entries());return t.forEach(i=>{r.push(["fl",i])}),r.sort().map(i=>i[1])}function At(){var e,t,r;let i=this._actionModel&&Object.keys(this._actionModel).length,n=(r=(t=(e=this._actionModel)===null||e===void 0?void 0:e.source)===null||t===void 0?void 0:t.transformation)===null||r===void 0?void 0:r.error;return n&&n instanceof Error?{error:n}:i?this._actionModel:{error:A(`unsupported action ${this.constructor.name}`)}}var D=class{constructor(){this._actionModel={}}toJson(){return At.apply(this)}};var h=class extends D{constructor(){super(...arguments),this.qualifiers=new Map,this.flags=[],this.delimiter=",",this.actionTag=""}prepareQualifiers(){}getActionTag(){return this.actionTag}setActionTag(t){return this.actionTag=t,this}
1toString(){return this.prepareQualifiers(),xt(this.qualifiers,this.flags).join(this.delimiter)}addQualifier(t){if(typeof t=="string"){let[r,i]=t.toLowerCase().split("_");r==="fl"?this.flags.push(new d(i)):this.qualifiers.set(r,new c(r,i))}else this.qualifiers.set(t.key,t);return this}addFlag(t){return typeof t=="string"?this.flags.push(new d(t)):t instanceof d&&this.flags.push(t),this}addValueToQualifier(t,r){return this.qualifiers.get(t).addValue(r),this}};function Ot(e){return e&&(e.match(/^#/)?`rgb:${e.substr(1)}`:e)}var k=class extends h{constructor(t){super(),this._actionModel={},this.addQualifier(new c("b",new l(Ot(t)).setDelimiter("_"))),this._actionModel.color=t,this._actionModel.actionType="backgroundColor"}static fromJson(t){let{color:r}=t;return new this(r)}};var V=class{constructor(t){this.raw=t}toString(){return this.raw}toJson(){return{error:A(`unsupported action ${this.constructor.name}`)}}};function bt(e){let t=e;return"error"in t&&!!t.error}function Ct(){return new d("ignore_aspect_ratio")}function Tt(){return new d("lossy")}function Et(){return new d("preserve_transparency")}function St(e){return new d("progressive",e)}function Mt(){return new d("region_relative")}function Rt(){return new d("relative")}var I=class extends l{constructor(t){super(t),this.val=t}getValue(){return this.val}};function y(e){let t={};return Object.keys(e).forEach(r=>{t[e[r]]=r}),t}var nt={limitFit:"limit",limitFill:"lfill",minimumFit:"mfit",thumbnail:"thumb",limitPad:"lpad",minimumPad:"mpad",autoPad:"auto_pad"},oe={colorSpace:"cs",dpr:"dpr",density:"dn",defaultImage:"d",format:"f",quality:"q"},se={redEye:"redeye",advancedRedEye:"adv_redeye",oilPaint:"oil_paint",unsharpMask:"unsharp_mask",makeTransparent:"make_transparent",generativeRestore:"gen_restore",upscale:"upscale"},ae={autoBest:"auto:best",autoEco:"auto:eco",autoGood:"auto:good",autoLow:"auto:low",jpegminiHigh:"jpegmini:1",jpegminiMedium:"jpegmini:2",jpegminiBest:"jpegmini:0"},ue={fullHd:"full_hd",fullHdWifi:"full_hd_wifi",fullHdLean:"full_hd_lean",hdLean:"hd_lean"},ce={444:"CHROMA_444",420:"CHROMA_420"},le={noCmyk:"no_cmyk",keepCmyk:"keep_cmyk",tinySrgb:"tinysrgb",srgbTrueColor:"srgb:truecolor"};var vr=y(ce),xr=y(le),Vt=y(nt),Pt=y(oe),Ar=y(se),Or=y(ae),br=y(ue);var $=class extends h{constructor(t,r,i){super(),this._actionModel={};let n;r instanceof I?n=r.getValue():n=r,this._actionModel.actionType=Pt[t],this._actionModel[i]=n,this.addQualifier(new c(t,r))}};var N=class extends d{constructor(t){super("progressive",t)}};var _=class extends ${constructor(t,r){super(t,r,"formatType")}lossy(){return this._actionModel.lossy=!0,this.addFlag(Tt()),this}progressive(t){return t instanceof N?(this._actionModel.progressive={mode:t.getFlagValue()},this.addFlag(t)):(this._actionModel.progressive={mode:t},this.addFlag(St(t))),this}preserveTransparency(){return this._actionModel.preserveTransparency=!0,this.addFlag(Et()),this}static fromJson(t){let{formatType:r,lossy:i,progressive:n,preserveTransparency:o}=t,a;return r?a=new this("f",r):a=new this("f"),n&&(n.mode?a.progressive(n.mode):a.progressive()),i&&a.lossy(),o&&a.preserveTransparency(),a}};var w=class{constructor(){this.actions=[]}addAction(t){let r;if(typeof t=="string"){if(t.indexOf("/")>=0)throw"addAction cannot accept a string with a forward slash in it - /, use .addTransformation() instead";r=new V(t)}else r=t;return this.actions.push(r),this}addTransformation(t){return t instanceof w?this.actions=this.actions.concat(t.actions):this.actions.push(new V(t)),this}toString(){return this.actions.map(t=>t.toString()).filter(t=>t).join("/")}animated(t){return this.addAction(t)}border(t){return this.addAction(t)}reshape(t){return this.addAction(t)}resize(t){return this.addAction(t)}quality(t){return this.addAction(new _("q",t)),this}format(t){return this.addAction(new _("f",t)),this}roundCorners(t){return this.addAction(t)}overlay(t){return this.addAction(t)}underlay(t){return t.setLayerType("u"),this.addAction(t)}addVariable(t){return this.addAction(t)}conditional(t){return this.addAction(t)}effect(t){return this.addAction(t)}adjust(t){return this.addAction(t)}rotate(t){return this.addAction(t)}namedTransformation(t){return this.addAction(t)}delivery(t){return this.addAction(t)}backgroundColor(t){return this.addAction(new k(t))}psdTools(t){return this.addAction(t)}extract(t){return this.addAction(t)}addFlag(t){let r=new h,i=t;return typeof t=="string"&&(i=new d(t)),r.addQualifier(i),this.addAction(r)}customFunction(t){return this.addAction(t)}transcode(t){return this.addAction(t)}videoEdit(t){return this.addAction(t)}toJson(){let t=[];for(let r of this.actions){let i=r.toJson();if(bt(i))return i;t.push(i)}return{actions:t}}};var U=class extends w{};var O=class extends w{};function ot(e){let t=e.toString();return t.match(/[A-Z]/gi)||t.length>1&&t[0]==="0"?t:!isNaN(parseFloat(t))&&t.indexOf(":")===-1&&t.indexOf(".")===-1?`${t}.0`:t}var j=class extends l{};var Q=class extends h{constructor(t,r,i){super(),this._actionModel={dimensions:{}},this._actionModel.actionType=Vt[t]||t,this.addQualifier(new c("c",t)),r&&this.width(r),i&&this.height(i)}height(t){return this._actionModel.dimensions.height=t,this.addQualifier(new c("h",t))}width(t){return this._actionModel.dimensions.width=t,this.addQualifier(new c("w",t))}aspectRatio(t){if(t instanceof j)return this._actionModel.dimensions.aspectRatio=`${t}`,this.addQualifier(new c("ar",t));if(typeof t=="number"||typeof t=="string")return this._actionModel.dimensions.aspectRatio=ot(t),this.addQualifier(new c("ar",ot(t)));if(t instanceof d)return this._actionModel.dimensions.aspectRatio=`${t.qualifierValue}`,this.addFlag(t)}
1relative(){return this._actionModel.relative=!0,this.addFlag(Rt())}regionRelative(){return this._actionModel.regionRelative=!0,this.addFlag(Mt())}static fromJson(t){let{actionType:r,dimensions:i,relative:n,regionRelative:o}=t,{aspectRatio:a,width:s,height:p}=i,m=nt[r]||r,f=new this(m,s,p);return a&&f.aspectRatio(a==="ignore_aspect_ratio"?Ct():a),n&&f.relative(),o&&f.regionRelative(),f}};var v=class extends c{constructor(t){super("g",new l(t))}};var b=class extends v{constructor(){super("auto")}autoFocus(...t){return this.addValue(t),this}};var C=class extends v{constructor(t){super(t)}fallbackGravity(t){return this.addValue(t.qualifierValue),this}};var G=class extends v{constructor(t){super(t)}};function st(...e){let t=[...e];return new C(t)}function z(){return new b}var g=class extends l{constructor(t){super(),this.name=t}toString(){return this.name}};function Ft(){return new g("ocr_text")}function fe(e){return e&&`${e}`.split(":")[0]==="auto"}function de(e){let t=at(e);return["north","center","east","west","south","north_west","south_east","south_west","north_east"].includes(t)}function at(e){return`${e}`.replace("g_","")}function pe(e){return{compass:at(e),gravityType:"direction"}}function me(e){return at(e)==="ocr_text"}function he(){return{gravityType:"ocr"}}function ge(e){return`${e.qualifierValue}`.split(":")[0]==="auto"}function ye(e){let r=e.toString().split("_"),i={object:r[0]};return r.length>1&&(r[1]==="avoid"?i.avoid=!0:i.weight=+r[1]),i}function Lt(e){let t,r=e==="auto"?new b:e;return`${e}`.startsWith("auto:")?t=`${e}`.split(":").filter(n=>n!=="auto"):t=r.qualifierValue.values.filter(n=>n!=="auto"),{gravityType:"auto",autoFocus:t.map(ye)}}function _e(e){let t=`${e}`.split(":").includes("auto"),r=e.qualifierValue.values,n={gravityType:"object",focusOnObjects:(t?r.slice(0,r.length-1):r).map(o=>`${o}`)};if(t){let o=r[r.length-1].values.slice(1),a=z().autoFocus(...o);n.fallbackGravity=Lt(a)}return n}function we(e){let r=e.split(":").map(i=>new g(i));return new C(r)}function Dt(e){return de(e)?pe(e):me(e)?he():fe(e)||ge(e)?Lt(e):_e(typeof e=="string"?we(e):e)}var x=class extends l{constructor(t,r){super(),this._weight=r,this.focusOn=t,this.shouldAvoid=!1}static focusOn(t,r){return new x(t,r)}shouldAddWeight(){return typeof this._weight=="number"||typeof this._weight=="string"||this.shouldAvoid}getName(){return this.focusOn.name}getWeight(){return this.shouldAvoid?"avoid":this._weight}toString(){return this.shouldAddWeight()?`${this.getName()}_${this.getWeight()}`:`${this.getName()}`}weight(t){return this._weight=t,this}avoid(){return this.shouldAvoid=!0,this}},Ei=x.focusOn;var q=class extends l{constructor(t){super(),this.val=t}toString(){return this.val}};function ve(e){return e.gravityType==="direction"}function xe(e){return e.gravityType==="ocr"}function Ae(e){return e.gravityType==="auto"}function Oe(e){let{object:t,weight:r,avoid:i}=e,n=new x(new g(t));return(r||r===0)&&n.weight(r),i&&n.avoid(),n}function kt(e){let r=(e.autoFocus||[]).map(Oe);return z().autoFocus(...r)}function be(e){let t=(e.focusOnObjects||[]).map(i=>new g(i)),r=st(...t);if(e.fallbackGravity){let i=kt(e.fallbackGravity);r.fallbackGravity(i)}return r}function It(e){return ve(e)?new G(new q(e.compass)):xe(e)?st(Ft()):Ae(e)?kt(e):be(e)}var Y=class extends Q{gravity(t){this._actionModel.gravity=Dt(t);let r=typeof t=="string"?new c("g",t):t;return this.addQualifier(r)}static fromJson(t){let r=super.fromJson.apply(this,[t]);return t.gravity&&r.gravity(It(t.gravity)),r}};var J=class extends Y{zoom(t){return this._actionModel.zoom=t,this.addQualifier(new c("z",t))}static fromJson(t){let r=super.fromJson.apply(this,[t]);return t.zoom&&r.zoom(t.zoom),r}};function ut(e,t){return new J("thumb",e,t)}function $t(e){return e.match(/^https?:\//)}function Nt(e){return e.indexOf("/")<0}function Ut(e){return e.match(/^v[0-9]+/)}function jt(e,t){let r=t.secure,i=t.privateCdn,n=t.cname,o=t.secureDistribution;return!r&&!n?`http://res.cloudinary.com/${e}`:r&&!o&&i?`https://${e}-res.cloudinary.com`:r&&!o?`https://res.cloudinary.com/${e}`:r&&o&&i?`https://${o}`:r&&o?`https://${o}/${e}`:!r&&n?`http://${n}/${e}`:"ERROR"}function Qt(e){return e||"image"}function Gt(e){return e||"upload"}function zt(e,t,r){let i=r!==!1;return t?`v${t}`:Ut(e)||$t(e)||Nt(e)?"":i?"v1":""}function T(e,t,r){let i=t>>0,n=String(typeof r<"u"?r:" ");return e.length>i?String(e):(i=i-e.length,i>n.length&&(n+=Ce(n,i/n.length)),n.slice(0,i)+String(e))}function Ce(e,t){let r=t,i="";for(;r>0;)i+=e,r--;return i}var Te="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789
1+/",E={},qt=0;Te.split("").forEach(e=>{let t=qt.toString(2);t=T(t,6,"0"),E[t]=e,qt++});function Yt(e){if(e.split(".").length<2)throw new Error("invalid semVer, must have at least two segments");return e.split(".").reverse().join(".")}function Jt(e){if(e.split(".").length<2)throw new Error("invalid semVer, must have at least two segments");return e.split(".").map(t=>{let r=+t;if(isNaN(r)||r<0)throw"Invalid version number provided";return T(t,2,"0")}).join(".")}function ct(e){let t="",i=e.split(".").length*6,n=Yt(e),o=Jt(n),s=parseInt(o.split(".").join("")).toString(2);if(s=T(s,i,"0"),s.length%6!==0)throw"Version must be smaller than 43.21.26)";return s.match(/.{1,6}/g).forEach(p=>{t+=E[p]}),t}function Ht(e){let t={sdkSemver:e.sdkSemver,techVersion:e.techVersion,sdkCode:e.sdkCode,product:e.product,feature:"0",osType:e.osType,osVersion:e.osVersion};return e.accessibility&&(t.feature="D"),e.lazyload&&(t.feature="C"),e.responsive&&(t.feature="A"),e.placeholder&&(t.feature="B"),t}var Wt="1.19.0";function Kt(e){let[t,r]=e.split("."),i=parseInt(t).toString(2),n=parseInt(r).toString(2),o=i.padStart(6,"0"),a=n.padStart(6,"0");return E[o]+E[a]}function Ee(){let e="0.0.0";if(typeof window<"u")return e;try{return process.versions.node||e}catch{return e}}function Se(e){let t={techVersion:Ee(),sdkCode:"T",sdkSemver:Wt.split("-")[0],product:"A",osType:"Z",osVersion:"0.0",responsive:!1,placeholder:!1,lazyload:!1,accessibility:!1};return e?Object.assign(Object.assign({},t),e):t}function lt(e){let t=Se(e),r=Ht(t);try{let i=Me(r.techVersion),n=ct(r.sdkSemver),o=ct(i),a=Kt(r.osVersion),s=r.feature,p=r.sdkCode,{product:m,osType:f}=r;return`D${m}${p}${n}${o}${f}${a}${s}`}catch{return"E"}}function Me(e){let t=e.split(".");return`${t[0]}.${t[1]}`}var Bt={"image/upload":"images","image/private":"private_images","image/authenticated":"authenticated_images","raw/upload":"files","video/upload":"videos"},H=class{constructor(t,r={},i){this.setPublicID(t),this.setCloudConfig(r),this.setURLConfig(i)}setURLConfig(t){return this.urlConfig=new wt(t),this}setCloudConfig(t){return this.cloudName=t.cloudName,this.apiKey=t.apiKey,this.apiSecret=t.apiSecret,this.authToken=t.authToken,this}setPublicID(t){return this.publicID=t?t.toString():"",this}setDeliveryType(t){return this.deliveryType=t,this}setSuffix(t){return this.suffix=t,this}setSignature(t){return this.signature=t,this}setVersion(t){return t&&(this.version=t),this}setAssetType(t){return t&&(this.assetType=t),this}sign(){return this}toURL(t={}){return this.createCloudinaryURL(null,t.trackedAnalytics)}validateAssetForURLCreation(){if(typeof this.cloudName>"u")throw"You must supply a cloudName when initializing the asset";let t=this.suffix&&this.suffix.indexOf(".")>=0,r=this.suffix&&this.suffix.indexOf("/")>=0;if(t||r)throw"`suffix`` should not include . or /"}getResourceType(){let t=Qt(this.assetType),r=Gt(this.deliveryType),i=!!this.suffix,n=`${t}/${r}`,o=Bt[`${t}/${r}`],a=this.urlConfig.useRootPath,s=this.urlConfig.shorten;if(a){if(n==="image/upload")return"";throw new Error(`useRootPath can only be used with assetType: 'image' and deliveryType: 'upload'. Provided: ${n} instead`)}if(s&&n==="image/upload")return"iu";if(i){if(o)return o;throw new Error(`URL Suffix only supported for ${Object.keys(Bt).join(", ")}, Provided: ${n} instead`)}return n}getSignature(){return this.signature?`s--${this.signature}--`:""}createCloudinaryURL(t,r){if(!this.publicID)return"";this.validateAssetForURLCreation();let i=jt(this.cloudName,this.urlConfig),n=t?t.toString():"",o=zt(this.publicID,this.version,this.urlConfig.forceVersion),a=this.publicID;if(typeof t=="string")return[i,this.getResourceType(),this.getSignature(),n,o,a.replace(/,/g,"%2C"),this.suffix].filter(p=>p).join("/");{let s=[encodeURI(i),this.getResourceType(),this.getSignature(),encodeURI(n),o,encodeURI(a).replace(/,/g,"%2C"),this.suffix&&encodeURI(this.suffix)].filter(f=>f).join("/").replace(/\?/g,"%3F").replace(/=/g,"%3D"),p=this.urlConfig.analytics!==!1&&!a.includes("?"),m="";if(typeof this.urlConfig.queryParams=="object")try{let f=new URLSearchParams(this.urlConfig.queryParams);p&&f.set("_a",lt(r)),m=f.toString()}
1catch{console.error("Error: URLSearchParams is not available so the queryParams object cannot be parsed, please try passing as an already parsed string")}else m=this.urlConfig.queryParams||"",p&&(m+=`${m.length>0?"&":""}_a=${lt(r)}`);return m?`${s}?${m}`:s}}};var S=class extends H{constructor(t,r,i,n){super(t,r,i),this.transformation=n}animated(t){return this.transformation.animated(t),this}border(t){return this.transformation.border(t),this}reshape(t){return this.transformation.reshape(t),this}resize(t){return this.transformation.resize(t),this}quality(t){return this.addAction(new _("q",t)),this}format(t){return this.addAction(new _("f",t)),this}roundCorners(t){return this.transformation.roundCorners(t),this}overlay(t){return this.transformation.overlay(t),this}addVariable(t){return this.transformation.addVariable(t),this}conditional(t){return this.transformation.conditional(t),this}effect(t){return this.transformation.effect(t),this}adjust(t){return this.transformation.adjust(t),this}rotate(t){return this.transformation.rotate(t),this}namedTransformation(t){return this.transformation.namedTransformation(t),this}delivery(t){return this.transformation.delivery(t),this}backgroundColor(t){return this.transformation.backgroundColor(t),this}psdTools(t){return this.transformation.psdTools(t),this}extract(t){return this.transformation.extract(t),this}addFlag(t){return this.transformation.addFlag(t),this}customFunction(t){return this.transformation.customFunction(t),this}addAction(t){return this.transformation.addAction(t),this}addTransformation(t){return this.transformation.addTransformation(t),this}toString(){return this.transformation.toString()}underlay(t){return this.transformation.underlay(t),this}toURL(t={}){return this.createCloudinaryURL(this.transformation,t?.trackedAnalytics)}};var W=class extends S{constructor(t,r,i){super(t,r,i,new U)}};var K=class extends S{constructor(t,r,i){super(t,r,i,new O),this.assetType="video"}transcode(t){return this.transformation.transcode(t),this}videoEdit(t){return this.transformation.videoEdit(t),this}};var P=class{constructor(t){t&&(this.cloudinaryConfig=t)}image(t){return new W(t,this.cloudinaryConfig.cloud,this.cloudinaryConfig.url)}video(t){return new K(t,this.cloudinaryConfig.cloud,this.cloudinaryConfig.url)}setConfig(t){return this.cloudinaryConfig=t,this}getConfig(){return this.cloudinaryConfig}extendConfig(){}};var Xt="dhxa5zkhm",ft=new P({cloud:{cloudName:Xt},url:{secure:!0,analytics:!1,get cname(){return tt("media-proxy")?"media.mytischtennis.de":"res.cloudinary.com"},get secureDistribution(){return tt("media-proxy")?"media.mytischtennis.de":"res.cloudinary.com"},forceVersion:!0}});function Zt(e,t,r,i,n){if(t.includes("/q_auto:eco/"))return{toURL:()=>t};let a=t.includes(`/${Xt}/`)&&t.includes("/upload/");return a&&(t=t.split("/upload/").pop()),i?ft[e](t).quality("auto:eco").resize(ut().width(i)).format(r??"auto").setDeliveryType(a?"upload":"fetch"):n?ft[e](t).quality("auto:best").format(r??"auto").setDeliveryType(a?"upload":"fetch"):ft[e](t).quality("auto:eco").format(r??"auto").setDeliveryType(a?"upload":"fetch")}function dt({src:e,format:t,width:r,needsHighQuality:i}){return Zt("image",e,t,r,i)}function pt({src:e,format:t,width:r,needsHighQuality:i}){return Zt("video",e,t,r,i)}var B=M(ie(),1),X=M(F(),1),te="(max-width: 767px)";function ee({condition:e,yep:t,nope:r}){let[i,n]=(0,B.useState)(!1);return(0,B.useEffect)(()=>{let o=window.matchMedia(e);n(o.matches),o.addEventListener("change",s=>n(s.matches));function a(s){n(s.matches)}return function(){o.removeEventListener("change",a)}},[e]),(0,X.jsx)(X.Fragment,{children:i?t():r()})}var u=M(F(),1);function Re(e){return e.includes(".gif")}function Ve(e){return[".mp4",".webm"].some(t=>e.includes(t))}function re(e){let t=Re(e.imagead),r=Ve(e.imagead);return t||r?(0,u.jsxs)("video",{autoPlay:!0,loop:!0,muted:!0,playsInline:!0,className:"pointer-events-none h-full w-full",children:[(0,u.jsx)("source",{src:r?pt({src:e.imagead,format:"webm",needsHighQuality:!0}).toURL():dt({src:e.imagead,format:"webm",needsHighQuality:!0}).toURL(),type:"video/webm"}),(0,u.jsx)("source",{src:r?pt({src:e.imagead,format:"mp4",needsHighQuality:!0}).toURL():dt({src:e.imagead,format:"mp4",needsHighQuality:!0}).toURL(),type:"video/mp4"})]}):(0,u.jsx)("img",{src:e.imagead,className:"w-full h-full object-contain",loading:"lazy",alt:""})}var Z=e=>{if(!e.active)return(0,u.jsx)(u.Fragment,{});if(e?.adtype==="iframe")return(0,u.jsx)("iframe",{src:e.iframead,className:"w-full",loading:"lazy",title:e.description??`ad + ${e.position}`});if(e?.adtype==="image")return e.imageadlink?(0,u.jsx)("a",{href:e.imageadlink,"aria-label":e.description??`Link zu ${e.
1imageadlink}`,children:re(e)}):re(e);if(e?.adtype==="js")return(0,u.jsx)("iframe",{sandbox:"allow-scripts",src:e.iframeJSSrc,loading:"lazy",className:"w-full h-ful",title:e.description??`ad + ${e.position}`})};function go({position:e,positionMobile:t,force:r,className:i}){let o=gt("root")?.adTags??{},{pathname:a}=ht();if(!o)return null;let s=o.find(f=>f.position===e);if(!s)return null;s.adtype==="js"&&(s.iframeJSSrc=`${a.split("/").slice(0,-1).join("/")}/ad-iframe-content?jsad=${encodeURIComponent(s.jsad)}`);let p=s?.visibility==="mobile"?Z(s):(0,u.jsx)(u.Fragment,{}),m=s?.visibility==="desktop"?Z(s):(0,u.jsx)(u.Fragment,{});if(s?.visibility==="all"){let f=Z(s);p=r!=="desktop"?f:(0,u.jsx)(u.Fragment,{}),m=r!=="mobile"?f:(0,u.jsx)(u.Fragment,{})}if(t&&r!=="desktop"){let f=o.find(mt=>mt.position===t);f&&(p=Z(f))}return(0,u.jsx)("div",{"data-position":s.position,"data-ad-debug":`visibility: ${s.visibility} / active: ${s.active} / adtype: ${s.adtype} `,className:yt("md:mb-4",i),children:(0,u.jsx)("div",{className:"shadow-card overflow-hidden rounded-xl",children:(0,u.jsx)(ee,{condition:te,yep:()=>p||(0,u.jsx)(u.Fragment,{}),nope:()=>m||(0,u.jsx)(u.Fragment,{})})})})}export{dt as a,te as b,ee as c,go as d};

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.