PageSourceSearch

https://lichtmaedchen.de/wp-content/plugins/flo-flex-builder/dist/flex-chunk-element-tabsswitcher.min.js

js lichtmaedchen.de collected 2026-10-07 04:13:33 UTC 3,360 bytes, 1 lines download raw bytes

1(self.webpackChunkflo_flex_builder=self.webpackChunkflo_flex_builder||[]).push([[815],{8323:(t,e,a)=>{"use strict";a.r(e),a(5319)},7541:(t,e,a)=>{"use strict";a.r(e);var s=a(3609),l=a.n(s),i=(a(8323),a(7109)),n=a(6566);a(7544);const c=t=>{let e=[];const a=t.find(".flex-element-type-tabs2__slide:not(.slick-cloned)");return a.length&&a.each((function(){const t=l()(this),a=t.find(".flex-element-type-tabs2__slide-image"),s=!!a.length&&a.attr("data-thumb-src"),i=function(t=""){return t.replace(/\\(.)/gm,"$1")}(t.attr("data-alt-title"));e.push({title:t.attr("data-title"),active:t.parents(".slick-current").length>0,category:t.attr("data-category"),altTitle:i,image:s})})),e},r="flex-element-type-tabs-switcher";setTimeout((function(){l()("."+r).each(((t,e)=>{const a=l()(e),s=a.attr("data-selected-tabs-element"),d=a.parents(".flex-block").first();let o=!1;if(o="default"===s?d.find(".flex-element-type-tabs2__slider").first():d.find(`.flex-block__element--${s} .flex-element-type-tabs2__slider`),!o||!o.length)return;(0,i.os)(a,o);let m=c(o);const f=a.attr("data-element-role"),h="1"===a.attr("data-show-all-button"),_=a.attr("data-all-button-label");if("categorySwitcher"===f){const t=[],e=[];h&&(t.push(""),e.push({title:_,altTitle:_,image:!1,active:!0})),m.forEach(((a,s)=>{let{category:l=""}=a;t.includes(l)||(t.push(l),e.push({title:l,altTitle:l,image:!1,active:!1}))})),m=e}const u=a.attr("data-type"),p=a.find(`.${r}__item-defaults`);m.forEach(((t,e)=>{const{title:s,altTitle:i,image:n}=t;let c;"image"===u?c=n?`\n          <div class="${r}__item-image">\n            <img src="${n}" alt="tab item" />\n          </div>\n        `:`\n          <div class="${r}__item-image-placeholder">\n          </div>\n        `:(c=s,"1"===p.attr("data-use-tab-name")&&(c=i),a.hasClass(r+"--shortenTitles")&&c.length>25&&(c=[...c].join("").substr(0,25)+"..."),c=`\n          <span\n            style="${p.attr("data-style")}"\n            data-font="${p.attr("data-font")}"\n          >\n            ${c}\n          </span>\n        `);const d=`\n        <div\n          class="\n            ${r}__item\n            ${r}__item--${p.attr("data-active-state-class")}\n            ${0===e?`${r}__item--active`:""}\n          "\n\n          data-index="${e}"\n        >\n          ${c}\n        </div>\n      `,m=l()(d);m.on("click",(()=>{if("tabsSwitcher"===f)o.slick("goTo",e);else{const t=i;t===_?o.find(".slick-slide").removeClass("slick-slide--hidden"):o.find(".slick-slide").each(((e,a)=>{const s=l()(a);console.log(s.attr("data-category"),t,s.attr("data-category")===t),s.attr("data-category")===t?s.removeClass("slick-slide--hidden"):s.addClass("slick-slide--hidden"),o.slick("goTo",0)})),a.find(".flex-element-type-tabs-switcher__item").removeClass("flex-element-type-tabs-switcher__item--active"),setTimeout((function(){m.addClass("flex-element-type-tabs-switcher__item--active")}),10)}})),a.append(m)})),"tabsSwitcher"===f&&o.on("beforeChange",((t,e,s,l)=>{a.find(".flex-element-type-tabs-switcher__item").removeClass("flex-element-type-tabs-switcher__item--active"),setTimeout((()=>{a.find(`.flex-element-type-tabs-switcher__item[data-index="${l}"]`).addClass("flex-element-type-tabs-switcher__item--active")}),10)})),window.innerWidth<768&&a.hasClass(r+"--horizontal")&&a.hasClass(r+"--useSwipeOnMobile")&&new n.Z(a[0],{suppressScrollY:!0})}))}),100)}}]);

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.