PageSourceSearch

https://constructor.tech/assets/ch-BubSlider-6ATaaVu_.js

js constructor.tech collected 2026-09-24 11:17:14 UTC 5,604 bytes, 2 lines download raw bytes

1const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/ch-TileItem-CgBJy-Z0.js","assets/app-index-CXQob2hh.js","assets/app-index-SWungaUD.css","assets/ex-TileItem-CKc9sNMQ.css"])))=>i.map(i=>d[i]);
2import{L as f,_ as g,o as i,c as t,e as s,w,h as d,F as c,a as b,b as h,k as m,n as L,s as C,m as p,l as x,d as M,r as y}from"./app-index-CXQob2hh.js";import{r as B}from"./ch-swiper-element-bundle-M1uXV8zR.js";const T=()=>f("swiper");B();const S={name:"BubSlider",components:{TileItem:p(()=>x(()=>import("./ch-TileItem-CgBJy-Z0.js"),__vite__mapDeps([0,1,2,3])))},data(){return{showSlider:!1,swiper:null}},props:{block:{type:Object,required:!0},showEditLinks:{type:Boolean,required:!1,default:!1}},created(){const o=C();o&&o.register("components/paragraph/TileItem")},mounted(){window.addEventListener("resize",this.checkWindowWidth),this.checkWindowWidth(),this.swiper=T()},methods:{cmMeta(o,l=0){return{type:this.block.entity_type,id:this.block.entity_id,field:o,delta:l,langcode:this.block.langcode}},checkWindowWidth(){this.showSlider=window.innerWidth>=1024},prev(){this.$refs.swiper_element.swiper.slidePrev()},next(){this.$refs.swiper_element.swiper.slideNext()}}},H={class:"container"},W={class:"vbub-slider-left"},E=["innerHTML"],I=["innerHTML"],N=["innerHTML"],j=["innerHTML"],P={key:4,class:"bub-content-links"},V={key:0,class:"vbub-slider-right"},D={key:0,class:"vbub-slider-items",ref:"swiper_element"},q={class:"vbub-slider-item-wrapper"},z={class:"vbub-slider-item-wrapper"},A={key:1,class:"bub-content-links"};function F(o,l,e,O,a,k){const u=y("BaseLink"),v=y("TileItem"),_=M("editable");return i(),t("div",H,[s("div",{class:L(["vbub-slider",e.block.field_block_display_type])},[s("div",W,[e.block.field_title&&o.$isBlockHtml(e.block.field_title)?w((i(),t("div",{key:0,class:"vbub-slider-title",innerHTML:e.block.field_title},null,8,E)),[[_,k.cmMeta("field_title")]]):e.block.field_title?w((i(),t("h2",{key:1,class:"vbub-slider-title",innerHTML:e.block.field_title},null,8,I)),[[_,k.cmMeta("field_title")]]):d("",!0),e.block.field_subtitle?(i(),t("div",{key:2,class:"vbub-slider-subtitle",innerHTML:e.block.field_subtitle},null,8,N)):d("",!0),e.block.body?(i(),t("div",{key:3,class:"vbub-slider-body",innerHTML:e.block.body},null,8,j)):d("",!0),e.block.field_links&&a.showSlider?(i(),t("div",P,[(i(!0),t(c,null,b(e.block.field_links,(n,r)=>(i(),h(u,{key:r,"base-link":n,version:e.block.version,delta:r,"field-name":"field_links","lang-code":e.block.langcode,"entity-id":e.block.entity_id,"entity-type":e.block.entity_type},null,8,["base-link","version","delta","lang-code","entity-id","entity-type"]))),128))])):d("",!0),a.showSlider?(i(),t("div",{key:5,class:"swiper-nav swiper-nav-prev",onClick:l[0]||(l[0]=n=>k.prev()),"aria-label":"Previous slide"},[...l[2]||(l[2]=[s("svg",{xmlns:"http://www.w3.org/2000/svg",width:"30",height:"58",viewBox:"0 0 30 58",fill:"none"},[s("path",{d:"M27 55L3 29L27 3",stroke:"black","stroke-width":"6","stroke-linecap":"round","stroke-linejoin":"round"})],-1)])])):d("",!0),a.showSlider?(i(),t("div",{key:6,class:"swiper-nav swiper-nav-next",onClick:l[1]||(l[1]=n=>k.next()),"aria-label":"Next slide"},[...l[3]||(l[3]=[s("svg",{xmlns:"http://www.w3.org/2000/svg",width:"30",height:"58",viewBox:"0 0 30 58",fill:"none"},[s("path",{d:"M3 55L27 29L3 3",stroke:"black","stroke-width":"6","stroke-linecap":"round","stroke-linejoin":"round"})],-1)])])):d("",!0)]),e.block.field_items?(i(),t("div",V,[a.showSlider?(i(),t(c,{key:0},[e.block.field_items?(i(),t("swiper-container",D,[(i(!0),t(c,null,b(e.block.field_items,(n,r)=>(i(),t("swiper-slide",{key:r,class:"vbub-slider-item"},[s("div",q,[l[4]||(l[4]=s("div",{class:"vbub-slider-item-bg"},[s("svg",{width:"629",height:"613",viewBox:"0 0 629 613",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[s("path",{d:"M256.252 43.7434L47.6036 220.806C40.0771 227.193 47.0927 239.24 56.3622 235.846L467.832 85.1841C477.018 81.8207 484.054 93.6595 476.71 100.121L78.3433 450.612C70.3099 457.68 79.3999 470.277 88.6398 464.881L567.265 185.371C575.904 180.326 584.957 191.255 578.393 198.804L296.976 522.434C290.266 530.151 299.834 541.202 308.432 535.666L570.727 366.766C578.17 361.973 587.255 369.883 583.532 377.915L494.84 569.266","stroke-width":"87.1316","stroke-linecap":"round"})])],-1)),m(v,{paragraph:n},null,8,["paragraph"])])]))),128))],512)):d("",!0)],64)):(i(!0),t(c,{key:1},b(e.block.field_items,(n,r)=>(i(),t("div",{key:r,class:"vbub-slider-item"}
2,[s("div",z,[l[5]||(l[5]=s("div",{class:"vbub-slider-item-bg"},[s("svg",{width:"629",height:"613",viewBox:"0 0 629 613",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[s("path",{d:"M256.252 43.7434L47.6036 220.806C40.0771 227.193 47.0927 239.24 56.3622 235.846L467.832 85.1841C477.018 81.8207 484.054 93.6595 476.71 100.121L78.3433 450.612C70.3099 457.68 79.3999 470.277 88.6398 464.881L567.265 185.371C575.904 180.326 584.957 191.255 578.393 198.804L296.976 522.434C290.266 530.151 299.834 541.202 308.432 535.666L570.727 366.766C578.17 361.973 587.255 369.883 583.532 377.915L494.84 569.266","stroke-width":"87.1316","stroke-linecap":"round"})])],-1)),m(v,{paragraph:n},null,8,["paragraph"])])]))),128))])):d("",!0),e.block.field_links&&!a.showSlider?(i(),t("div",A,[(i(!0),t(c,null,b(e.block.field_links,(n,r)=>(i(),h(u,{key:r,"base-link":n,version:e.block.version,delta:r,"field-name":"field_links","lang-code":e.block.langcode,"entity-id":e.block.entity_id,"entity-type":e.block.entity_type},null,8,["base-link","version","delta","lang-code","entity-id","entity-type"]))),128))])):d("",!0)],2)])}const J=g(S,[["render",F]]);export{J as default};

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.